SlackwareThis Forum is for the discussion of Slackware Linux.
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
My question is how exactly do I go about upgrading software to a newer version. For instance my slakckware intsall came with gaim 7.3 or whatever and I want to upgrade to the new 1.0 should I uninstall the old version first? and if so how do I uninstall it? or can I just run the install for the new version and it will autodetect the old version. any help would be great.
Well, my favourite way is using slapt-get (software.jaos.org), other prefer swaret (swaret.sourceforge.net), there are some others that do the same kind of automatic update. Also, you can browse trough a slackware mirror and download and upgrade the packages you want or compile them yourself.
You uninstall a program by typing: removepkg <packagename>
You install one with: installpkg <packagename>
Upgrade: upgradepkg <oldpackagename>%<newpackagename>
or simply using: pkgtool
that's a dialog based tool for managing packages
"or can I just run the install for the new version and it will autodetect the old version" Nope, you have to remove the package first or upgrade it with the respective command. If you want a package that's not on a slackware mirror try: linuxpackages.net
Quoth Doktor Prokt: If you don't use slapt-get or something similar you should fetch updates via Slackware-current.
Careful doing that though. If it depends on libraries from another package, and that other package has also been changed in current, you may find that it doesn't work any more.
If this happens, you can either try to figure out the broken dependencies and upgrade those as well, or you can see if there's an up-to-date version of the package you're trying to upgrade over on LinuxPackages.net, which ought to run on an unmodified stable release.
Or you could try removing the old version with removepkg, and compiling the new one from source.
real quick, here's the link to the slackpkg homepage, where you can find a little more information (if you've never used it you may have to select a mirror and upgrade slackpkg itself before you can upgrade gaim).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.