LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to perform updates in slackware (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-perform-updates-in-slackware-349233/)

thorney 08-02-2005 10:14 AM

How to perform updates in slackware
 
Hi,

Is there something similar to up2date for slackware 10.1. or do I have to manually download new versions of packages I want to install?

thanks,

thorney

cadkins 08-02-2005 10:20 AM

I usually just download new packages and do it that way.

You can use something like SlackGet but I've never used it so I can't say anything about it really.

thorney 08-02-2005 10:56 AM

Ok, so simply installing a new package will update the old package and everything is good to go? Sorry I'm still new with linux.

Half_Elf 08-02-2005 11:02 AM

Slackware is the hardest distro to keep up to date, you have to download most thing by hand and compile, as Slackware doesn't have a "real" packages manager.
That's why I wouldn't recommend that one to run a server?

lord-fu 08-02-2005 11:04 AM

slack has a built in tool for updating and managing packages......as root type pkgtool.
if the application in question is a .tgz file this will be fine. If they are of other types.......tar.gz packages for instance they will need to be compiled. If this is the case the old will need manually removed. In such a case most applications when built, build an uninstall so you would need to find that and run it.

thorney 08-02-2005 11:15 AM

ok thanks everyone

detpenguin 08-02-2005 12:34 PM

check out slackpkg, it comes with slack in the extras directory. i use it exclusively to update my slack to current, and as long as you follow the changelog on the slack site, you shouldn't have any problems.

tuxdev 08-02-2005 12:39 PM

there is also swaret and slapt-get.

Linux~Powered 08-02-2005 03:07 PM

Use the upgradepkg command when upgrading slackpackages. There's a few tools for slack. slackpkg, swaret, slapt-get, etc... I use slackpkg myself. But like I said, if you download an .tgz file, as root run the command...

Code:

upgradepkg yourpkg.tgz
And that's it. It gets rid of you existing version and upgrades it. Simple!

edit: www.linuxpackages.net has a great repository for .tgz packages.

jrdioko 08-02-2005 07:35 PM

As far as using the package system with .tar.gz files goes, use checkinstall (also in the /extras directory) to make slackpkgs out of things you compile from source. Then when you upgrade, you can removepkg the old one and checkinstall the new one, as simple as that. <biased comment>Everything the other package managers have plus the ability to have manual control over installing dependencies and know at all times what is being put on your system.</biased comment>

thorney 08-02-2005 08:27 PM

awesome, thanks


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