Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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?
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.
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.
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!
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>
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.