Quote:
Originally posted by enigmatic
Hey i am new to suse and need a little help installing gcc and g++ ( c and cpp compiler)
I downloaded gcc-4.0.1.tar.bz2
now some1 can please guide me thru the process
Final install
|
Hey ! are you trying to upgrade or do a fresh install ? Check if you have gcc already present. Open up a terminal and type :
Code:
koodoo@knapsacker:~$ gcc --version
The file gcc-4.0.1.tar.bz2 is a source file, inorder to install from it you need to build it and for that you need to have a compiler already installed. If you do not have it already installed you would have to find binaries of the particular package (for your distro)
In general for installing any source package follow this :
1) Extract the package a) Using gui or,
b) tar -xzvf <package_name.tar.gz>
c) tar -xjvf <package name.tar.bz2>
2) cd into the newly extracted directory.
3) type ./configure (press enter here)
4) type make (press enter)
5) as root type make install (press enter)
You could aslo type ./configure --help to see all the configure options you have.
Hope this helps.