What is the best way to upgrade software?
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 |
ok I have slapt-get installed but how do i know what a package name is such as the GAIM that came wiht slackware 10?
|
you can use:
Code:
slapt-get --search something or go to /var/adm/packages and browse the files or use pkgtool to see the list of packages. |
this is perfect thanks bunches
|
can you give me an example on how to use...
Upgrade: upgradepkg <oldpackagename>%<newpackagename> don't know what you are refering to oldpkgname%newpkgname.. can you please explain it to me!?? Thank You! |
Quote:
Code:
upgradepkg <pkgname> You'll find a new version of gaim (1.02 I think) here: ftp://ftp.slackware.com/pub/slackwar...slackware/xap/ download it and do a pkgupdate. Read the pkgupdate man page for more information. |
I guess Doktor Prokt referred as pkgupdate for upgradepkg.
|
got you on that...
it is really easy to update pkgs! |
actually, i like slackpkg for this kind of stuff. i just type
slackpkg update gaim (might be upgrade, i forget) or if you don't have it, slackpkg install gaim works like a charm. |
great! thanks!
|
Quote:
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).
http://slackpkg.sourceforge.net/ |
All times are GMT -5. The time now is 11:35 PM. |