Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-04-2003, 01:05 AM   #1
Dub Sty13
LQ Newbie
Registered: Mar 2003
Distribution: Redhat 8.0
Posts: 2

Rep: Reputation: 0
Question Update via source ??

I was recently trtyign to install gtk+2.2 but i could not figure out how to upgrade it from 2.0.6 (i think thats what it was). Is there a simple way, or difficult for that matter, way of upgrading this program. I am somewhat of a newbie but understand much of installing and stuff. Thanks for the help in advance .
Old 03-04-2003, 04:18 AM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971
so you're installing from source then are you? if you're just on redhat, then you should just stick to RPM's until you're more comfortable with thing. just run

rpm -Uvh gtk+2-2.2.i386.rpm

and that will upgrade it (file name was a guess of course...) you'll proably get some dependencies, so just download and install them too, all on the same command line.
Old 03-04-2003, 11:14 AM   #3
Dub Sty13
LQ Newbie
Registered: Mar 2003
Distribution: Redhat 8.0
Posts: 2

Original Poster
Rep: Reputation: 0
I know i could upgrade with .rpm files but i wanted to know how to do it with source ( gtk+-2-2-2.tar.gz) I know there must be a way to do it and figured it would be of my advantage to know how. thank you though
Old 03-04-2003, 05:26 PM   #4
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
Go to a command line. Go to the directory where you downloaded gtk+-2-2-2.tar.gz. As root, type the following:

tar xvzf gtk+-2-2-2.tar.gz

This will unpack it. Use SHIFT+PgUp if it scrolls too far down so you can view where it was unpacked to. It is usually unpacked within the directory you are in. For instance, if you are in /home/dubsty13 and you unpack the tarball, it most likely will install it to /home/dubsty13/gtk+2-2-2. Go to that directory with the "cd" command. Once there, type ls to see the list of contents of the unpacked package. View any and all READMEs, HOWTOs, INSTALLs or whatever other text files to make sure you have all info before starting the install. Once you've done that, type the following as root:


Once that's done and you get to a command prompt, type the following:


This will take a while, but once you get to another bash prompt, type the following:

make install

This will be the last step and you should have it installed at this point. When you get to another bash prompt, it is done installing. Hope this helps


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
9.3 Pro update from CD's ... or source? slacker9876 SUSE / openSUSE 5 04-17-2005 01:17 PM
How to update 2.4.20-8 kernel source to 2.4.20-31.9? michael.rice Red Hat 2 02-13-2005 05:40 AM
Kernel source update edgefield Linux - Newbie 15 09-03-2004 04:02 PM
update source for mandrake ach1lles Linux - Newbie 3 03-03-2004 06:11 AM
Kernel Source Update SappyToke Linux - Software 0 09-16-2003 12:25 AM

All times are GMT -5. The time now is 04:56 PM.

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