LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-16-2005, 06:44 AM   #1
jaakkop
Member
 
Registered: Aug 2004
Posts: 433

Rep: Reputation: 30
installing/uninstalling slackware packages


...

Last edited by jaakkop; 02-28-2011 at 04:43 AM.
 
Old 01-16-2005, 06:58 AM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
(as root) installpkg <pkgname> or removepkg <pkgname> ( for removepkg cd to /var/log/packages to use command line completion)
 
Old 01-16-2005, 06:58 AM   #3
N43
LQ Newbie
 
Registered: Sep 2004
Location: Germany
Distribution: Slackware
Posts: 13

Rep: Reputation: 0
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
 
Old 01-16-2005, 07:15 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
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
 
Old 01-16-2005, 07:25 AM   #5
jaakkop
Member
 
Registered: Aug 2004
Posts: 433

Original Poster
Rep: Reputation: 30
...

Last edited by jaakkop; 02-28-2011 at 04:43 AM.
 
Old 01-16-2005, 08:56 AM   #6
WilliamS
Member
 
Registered: Nov 2003
Location: 46N 76W
Distribution: Slackware 14.1
Posts: 380

Rep: Reputation: 31
" 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.
 
Old 01-16-2005, 09:59 AM   #7
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
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.
 
Old 01-16-2005, 11:23 AM   #8
jaakkop
Member
 
Registered: Aug 2004
Posts: 433

Original Poster
Rep: Reputation: 30
...

Last edited by jaakkop; 02-28-2011 at 04:43 AM.
 
Old 01-16-2005, 12:16 PM   #9
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
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.
 
Old 02-14-2005, 08:57 PM   #10
hakmed
LQ Newbie
 
Registered: Nov 2004
Posts: 19

Rep: Reputation: 0
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?
 
Old 02-14-2005, 09:11 PM   #11
sh1ft
Member
 
Registered: Feb 2004
Location: Ottawa, Ontario, Can
Distribution: Slackware, ubuntu
Posts: 391

Rep: Reputation: 32
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).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
installing/uninstalling .tar packages onegear Linux - Software 3 10-31-2004 03:39 PM
uninstalling packages kapslock Debian 1 10-14-2004 11:34 AM
Installing .tgz (Slackware packages) on other distros deadjoebob Linux - Newbie 3 06-10-2004 10:54 AM
Uninstalling packages - How? Seventh Linux - Newbie 1 01-13-2004 10:06 AM
Uninstalling packages ToadLurker Linux - Newbie 6 10-07-2003 09:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration