LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-20-2006, 04:59 PM   #1
52fitz
LQ Newbie
 
Registered: Jan 2006
Location: High Peak, England
Distribution: Slackware 10.2
Posts: 5

Rep: Reputation: 0
Slackware security - package management


Hi, newbie question. I recently installed Slackware 10.2. I'm now about to downoad and install some newer packages as recommended on the Security mailing list.
When I install e.g. patches/packages/mozilla-firefox-1.5.0.1-i686-1.tgz, do I need to remove Firefox 1.0.6 using removepkg and then install the newer package using installpkg? Or do I just run upgradepkg?
Also, is there a recomended directory in which to install/upgrade packages? The Slackbook seems to be saying that packages will be extracted to /. I'm not quite sure how much of this happens automatically, or if I need to specify the directories for extraction and installation myself.
Any help appreciated.
 
Old 02-20-2006, 05:11 PM   #2
pdw_hu
Member
 
Registered: Nov 2005
Location: Budapest, Hungary
Distribution: Slackware, Gentoo
Posts: 346

Rep: Reputation: Disabled
Use upgradepkg, it removes the older pkg, then it installs the new one. That's how it's ment to work.
If you just open the pkg (for ex. you press enter on it in mc) or untar it you will see where it will be installed.
 
Old 02-21-2006, 12:33 PM   #3
52fitz
LQ Newbie
 
Registered: Jan 2006
Location: High Peak, England
Distribution: Slackware 10.2
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks! I'll get to it...
 
Old 02-21-2006, 12:41 PM   #4
MMYoung
Member
 
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365

Rep: Reputation: 30
Matter of fact, if I have several packages to install/upgrade, I make sure they are all in the same directory, open a root terminal and use:

upgradepkg --install-new *.tgz

This upgrades any packages that are currently installed on my PC and will just installpkg those that arent.

HTH,
MMYoung
 
Old 02-21-2006, 03:28 PM   #5
52fitz
LQ Newbie
 
Registered: Jan 2006
Location: High Peak, England
Distribution: Slackware 10.2
Posts: 5

Original Poster
Rep: Reputation: 0
Cool - Thanks MM
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Stupid newbie question on Slackware package management infornography Linux - Newbie 3 09-30-2005 08:34 AM
Slackware Package Management gonzalo76 Slackware 12 05-11-2004 07:20 PM
Slackware Package Management kemplej Slackware 1 12-22-2003 05:34 PM
slackware package management Vlad_M Slackware 6 08-15-2003 04:20 AM
Slackware package management on non-slack system moreon Linux - General 2 12-13-2000 08:20 PM

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

All times are GMT -5. The time now is 05:06 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