LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   installing/uninstalling slackware packages (https://www.linuxquestions.org/questions/slackware-14/installing-uninstalling-slackware-packages-278393/)

jaakkop 01-16-2005 06:44 AM

installing/uninstalling slackware packages
 
...

__J 01-16-2005 06:58 AM

(as root) installpkg <pkgname> or removepkg <pkgname> ( for removepkg cd to /var/log/packages to use command line completion)

N43 01-16-2005 06:58 AM

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.

N43

reddazz 01-16-2005 07:15 AM

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

jaakkop 01-16-2005 07:25 AM

...

WilliamS 01-16-2005 08:56 AM

" If you have a newer version of a package you have alkready installed, simply do as root
#upgradepkg package.tgz"

I this the right way to install the glibc updates?

I ask because I trashed my Slack by trying it another way.

reddazz 01-16-2005 09:59 AM

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.

jaakkop 01-16-2005 11:23 AM

...

reddazz 01-16-2005 12:16 PM

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.

hakmed 02-14-2005 08:57 PM

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?

sh1ft 02-14-2005 09:11 PM

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).


All times are GMT -5. The time now is 05:05 PM.