LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 09-26-2003, 06:03 AM   #1
aviceda
Member
 
Registered: Jul 2003
Location: Brisbane, Queensland, Australia
Posts: 50

Rep: Reputation: 15
Upgrading Programs


Hi All,

I'm currently using Gimp version 1.2.3 (on RH9) but would like to upgrade to the new stable v1.2.5.

I'm aware of RPM's, although I don't see this as an option with Gimp.
So how do you upgrade if you only have tarballs?

Tom
 
Old 09-26-2003, 06:46 AM   #2
yapp
Member
 
Registered: Apr 2003
Location: Netherlands
Distribution: SuSE (before: Gentoo, Slackware)
Posts: 613

Rep: Reputation: 30
If you're doing things manually, you'll work around all possible auto-update systems of your package manager. Doesn't redhat have some auto-update system you could use?

Installing from a tarball isn't really hard, but just requires a little more effort. Redhat has a little confusing thing; you need the "-dev" packages to be able to compile software.

- extract the tarball:
tar zxf gimp-1.2.5.tar.gz
cd gimp-1.2.5


- browse the documentation quickly to see there is anything special:
less README
less INSTALL


- configure the compiler process: (read the help first, but usually the options are ok)
./configure --help
./configure --prefix=/usr

...maybe you want to add a few other parameters, but usaully it's detected automatically.

- run the compiler: (this could take a while)
make

if everything went ok:

- remove your current rpm

- install the program
su
<enter your root password>
make install


- clean-up:
cd ..
rm -R gimp-1.2.5


- exit the root-shell
exit

- create your new shortcuts, and such.. :-/



* you might want to look for the newest 1.3 version of gimp, because it really rocks. (one confusing thing: it's name has changed from 'gimp' to 'gimp-1.3'.. type ln -s /usr/bin/gimp-1.3 /usr/bin/gimp to solve this)
* there is a tool called "checkinstall", which will monitor the "make install". It could create an RPM for you, which you could eventually remove as well. It requires you to type "checkinstall" instead of "make install".
* If you omit the --prefix option of the configure script, it will by default install in /usr/local/ This is recommended for a lot of packages, unless you want to replace your current gimp installation.
 
Old 09-26-2003, 02:40 PM   #3
aviceda
Member
 
Registered: Jul 2003
Location: Brisbane, Queensland, Australia
Posts: 50

Original Poster
Rep: Reputation: 15
Thanks Yapp,

Will try this out over the weekend,

Very enlightening!

Tom
 
Old 09-28-2003, 02:51 AM   #4
yapp
Member
 
Registered: Apr 2003
Location: Netherlands
Distribution: SuSE (before: Gentoo, Slackware)
Posts: 613

Rep: Reputation: 30
You're welcome. Good luck with your upgrade
 
  


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
Upgrading to Badger! Can't login anymore after upgrading? BellaSha87 Ubuntu 1 12-03-2005 01:09 PM
my table with programs when i press in button (left down corner) do no show programs sagi7ario Mandriva 1 03-12-2004 01:02 PM
How to get newly installed programs in programs list Brosky Linux - Software 5 02-06-2004 04:45 PM
upgrading programs autkast Debian 1 12-04-2003 10:59 PM
upgrading programs with RPM paladin Linux - Software 2 02-16-2003 01:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:26 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration