LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware security - package management (http://www.linuxquestions.org/questions/slackware-14/slackware-security-package-management-417711/)

52fitz 02-20-2006 05: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-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.

pdw_hu 02-20-2006 06: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 01:33 PM

Thanks! I'll get to it...

MMYoung 02-21-2006 01: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.

HTH,
MMYoung

52fitz 02-21-2006 04:28 PM

Cool - Thanks MM


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