SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Run as root 'installpkg packagename' to install a package and 'removepkg packagename' to uninstall a package. You could also use pkgtool to remove or install packages.
Another command that people seem to forget, is "upgradepkg". If you have a newer version of a package you have alkready installed, simply do as root
#upgradepkg package.tgz
I've noticed that sometimes when you do an installpkg, you can end up having multiple instances of the same package and this can cause mayhem on a system. Upgradepkg just makes sure that the previous version is replaced by the new one.
Yes, I would suggest using upgradepkg first. If upgradepkg doesn't work, remove the old version first, then do installpkg for the new one. If upgrading KDE or GNOME base packages, you maybe better of doing it whilst they are not running coz (in a console/terminal) I have known instances where this can cause problems.
So do we just use the upgrade command using the source from the originating sute (for example, if we wanted to upgrade to php 5, we just grab the tar.gz from php.net?) or is there a special slackware package that we're supposed to use? Also, does slackware have a package management tool like gentoo's portage system?
Slackware now has an official (sort of) portage type thing, though much less sophisticated called slackpkg. Get it on the slackware site, i think its nicer than swaret/slapt-get, if you've heard of those.
As for sources, if you want something thats not an official package from pat (like php5) linuxpackages.net has lots. Otherwise you can make them yourself using checkinstall, also available on the slackware sites and cds (i think).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.