-   Slackware (
-   -   Slackware security - package management (

52fitz 02-20-2006 04:59 PM

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

pdw_hu 02-20-2006 05:11 PM

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.

52fitz 02-21-2006 12:33 PM

Thanks! I'll get to it...

MMYoung 02-21-2006 12:41 PM

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.


52fitz 02-21-2006 03:28 PM

Cool - Thanks MM

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