LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 09-19-2004, 04:13 PM   #1
zwyrbla
Member
 
Registered: Aug 2004
Location: MA
Distribution: Slack 10.1
Posts: 107

Rep: Reputation: 15
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.
 
Old 09-19-2004, 04:17 PM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
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

Last edited by gbonvehi; 09-19-2004 at 04:20 PM.
 
Old 09-19-2004, 05:38 PM   #3
zwyrbla
Member
 
Registered: Aug 2004
Location: MA
Distribution: Slack 10.1
Posts: 107

Original Poster
Rep: Reputation: 15
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?
 
Old 09-19-2004, 07:43 PM   #4
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
you can use:
Code:
slapt-get --search something
change something to gaim
or go to /var/adm/packages and browse the files or use pkgtool to see the list of packages.
 
Old 09-19-2004, 08:32 PM   #5
zwyrbla
Member
 
Registered: Aug 2004
Location: MA
Distribution: Slack 10.1
Posts: 107

Original Poster
Rep: Reputation: 15
this is perfect thanks bunches
 
Old 10-27-2004, 01:39 AM   #6
FreakboY
Member
 
Registered: Jun 2002
Location: TX, USA
Distribution: Slackware 13 64bits
Posts: 374

Rep: Reputation: 31
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!
 
Old 10-27-2004, 02:11 AM   #7
Doktor Prokt
LQ Newbie
 
Registered: Jul 2004
Posts: 24

Rep: Reputation: 15
Quote:
Originally posted by FreakboY
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!
Just use

Code:
upgradepkg <pkgname>
If you don't use slapt-get or something similar you should fetch updates via Slackware-current.

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.
 
Old 10-27-2004, 03:03 AM   #8
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
I guess Doktor Prokt referred as pkgupdate for upgradepkg.
 
Old 10-27-2004, 10:08 AM   #9
FreakboY
Member
 
Registered: Jun 2002
Location: TX, USA
Distribution: Slackware 13 64bits
Posts: 374

Rep: Reputation: 31
got you on that...
it is really easy to update pkgs!
 
Old 10-27-2004, 04:22 PM   #10
mcd
Member
 
Registered: Aug 2003
Location: Boulder, CO
Distribution: Slackware, RHEL, CentOS
Posts: 825

Rep: Reputation: 33
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.
 
Old 10-27-2004, 05:07 PM   #11
FreakboY
Member
 
Registered: Jun 2002
Location: TX, USA
Distribution: Slackware 13 64bits
Posts: 374

Rep: Reputation: 31
great! thanks!
 
Old 10-27-2004, 06:32 PM   #12
AxelFendersson
Member
 
Registered: Mar 2004
Location: Darkest Oxfordshire
Distribution: Arch, Slackware
Posts: 184

Rep: Reputation: 30
Quote:
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.
 
Old 10-27-2004, 07:22 PM   #13
mcd
Member
 
Registered: Aug 2003
Location: Boulder, CO
Distribution: Slackware, RHEL, CentOS
Posts: 825

Rep: Reputation: 33
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/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Software shows conflicts during upgrade to 10.0 marjamar Suse/Novell 1 10-06-2005 09:36 PM
Old software gone after upgrade? Jac Cox Linux - Newbie 3 09-04-2005 06:16 AM
Looking for a Batch Software Upgrade tool zihui Linux - Software 1 04-13-2005 01:34 PM
How to upgrade / reinstall software from source merlin23 Linux - Newbie 8 01-13-2005 07:04 AM
linux upgrade software Starman Linux - Software 2 08-12-2003 06:56 AM


All times are GMT -5. The time now is 03:27 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration