how to install packages in Slackware

Discussion of technology related topics including news, events, and announcements.

how to install packages in Slackware

Postby nodir » May 16th, 2016, 9:14 am

I am looking for a short overview how to install a package in Slackware.
I know about slapt-get, Salix comes with slapt-src too, pkgtool, Slackbuilds.org
but i miss the whole picture.

tia
nodir
 
Posts: 307
Joined: June 16th, 2015, 10:10 pm

Re: how to install packages in Slackware

Postby cynwulf » May 16th, 2016, 1:36 pm

pkgtool is the main slackware package manager. Invoking this as root will give you a simple ncurses interface where you can install and remove packages. Usually you can build packages in e.g. /tmp, invoke package tool in that directory and install the lot. It's fairly no frills, certainly nothing fancy.

installpkg and removepkg are fairly simple command line utilities e.g.

Code: Select all
# installpkg name_of_some_package


slackpkg installs the sets you get from the installation media + any updates from repository mirrors. This can install/remove individual packages or perform upgrades.

Code: Select all
# slackpkg install name_of_some_package


If more than one package matches the pattern you will get an ncurses UI allowing you to choose.

The repository you want to use is configured in /etc/slackpkg/mirrors

Remember: there is no dependency resolution whatsoever. It's always assumed that you have performed the full install.

Also: It's perfectly acceptable to use sbopkg if that works for you, and Salix repositories - or just Salix itself.

Here is some further reading:

http://docs.slackware.com/slackware:slackpkg
http://www.slackbook.org/html/package-management.html
cynwulf
 
Posts: 2548
Joined: April 26th, 2011, 2:46 pm

Re: how to install packages in Slackware

Postby nodir » May 16th, 2016, 3:17 pm

Yes, i see.
I don't seem to have any repositories for pkgtool, but some for slapt-get.

user:$ ls /etc/slapt-get/ -r
slapt-getrc.new slapt-getrc
vector:/~
user:$ ls /etc/pkgtools/
blacklist config
vector:/~
user:$ ls /etc/slaptpkg
/bin/ls: cannot access /etc/slaptpkg: No such file or directory


What is sbopkg ?
nodir
 
Posts: 307
Joined: June 16th, 2015, 10:10 pm

Re: how to install packages in Slackware

Postby cynwulf » May 16th, 2016, 4:14 pm

sbopkg automates - to some extent - building stuff from slackbuilds.org . I understand that it's pretty good - a must have for some - but I just got used to the easy enough manual downloading and running of buildscripts and installing packages, etc. Though I don't really install that much from slackbuilds anyway. So in short I just never bothered with it.

If you're building stuff with a lot of dependencies, it should take away a lot of the pain of starting at the bottom of the dependency tree and working up.
cynwulf
 
Posts: 2548
Joined: April 26th, 2011, 2:46 pm

Re: how to install packages in Slackware

Postby nodir » May 17th, 2016, 5:07 pm

ah, ok, thanks.
Installing Slackware as we speak, fingers crossed :-), so i may see what is related to Salix or Vector, and what is Slackware itself.

btw and lol: I installed tilda from slackbuilds, and was wondering why libconfuse, the dependency, was not found by the tilda script.
Later i figured that i need to install the finished package from /tmp ... duh.

Else i ain't got much needs when it comes to software ( firefox, pidgin, tilda and claws are pretty much all the apps i use. Virtualbox might be nice, but i don't waste that much time with the PC anymore --- and am pretty busy keeping the actual installations running, or understanding them).
nodir
 
Posts: 307
Joined: June 16th, 2015, 10:10 pm

Re: how to install packages in Slackware

Postby nodir » May 20th, 2016, 5:58 pm

The good news: installing Slackware worked.
But i can't install tilda. running ./tilda.SlaptBuild errors with "vte-2.90 missing".
I searched for it at Slackbuilds, but there is vte-3.0, then i searched the web how to install 2.90 in Slackware, but didn't find a solution.
What to do?


... ha: using vte3 from Slackbuilds worked. Whew ...
nodir
 
Posts: 307
Joined: June 16th, 2015, 10:10 pm

Re: how to install packages in Slackware

Postby cynwulf » May 25th, 2016, 12:55 pm

Yes it's easy to miss, but any dependencies are listed on the page.
cynwulf
 
Posts: 2548
Joined: April 26th, 2011, 2:46 pm

Re: how to install packages in Slackware

Postby nodir » May 25th, 2016, 5:28 pm

missing it was not the problem, but finding version 2.90 (which is the one listet at Slackbuilds)
I didn't know version 3 works too.

In the meantime the PC died ...
nodir
 
Posts: 307
Joined: June 16th, 2015, 10:10 pm


Return to Technical Talk

Who is online

Users browsing this forum: Google [Bot] and 2 guests

cron

x