LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Upgrading Programs (https://www.linuxquestions.org/questions/linux-newbie-8/upgrading-programs-97077/)

aviceda 09-26-2003 05:03 AM

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 :)

yapp 09-26-2003 05:46 AM

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.

aviceda 09-26-2003 01:40 PM

Thanks Yapp,

Will try this out over the weekend,

Very enlightening!

Tom

yapp 09-28-2003 01:51 AM

You're welcome. Good luck with your upgrade :)


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