The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > Linux
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 05-09-2008
andryk's Avatar
andryk andryk is offline
Registered User
 

Join Date: Sep 2003
Posts: 448
Quote:
Originally Posted by vasanthan View Post
Hi
i need to install g++ compiler in RHEL 5.1 and i downloaded the compiler
from the below mentioned site

g++ - Free Software Directory - Free Software Foundation

its in format gcc-g++-4.0.2.tar.bz2 and i have unziped it......


can any one tell me the procedure to install it ..it dont find any binaries /rpm in it or installer

BR
vasanth
Hi,
If it has no rpm in it then you just have to untar to the install directory of your choice and thats it
Code:
bzip2 -dc gcc-g++-4.0.2.tar.bz2 | (cd /usr/local ; tar xvf -)
would install it in /usr/local ...
Reply With Quote