Link to home
Start Free TrialLog in
Avatar of rlivings
rlivings

asked on

installing libraries

Ok ive asked this question on the installation boards and noone answered so here goes.  I am trying to compile c++ programes using iostream header files.  i know the libraries are not installed so how would i install them from cd?  could someone explain in layman terms?  Thanks
Avatar of munsie
munsie

what distribution are you using?

if you are using RedHat, then you can just install the RPMs for egcs-c++

for example, using RedHat 6.2 as an example, from a command line:

su -
--> enter root passwd <--
mount -t iso9660 /dev/cdrom /mnt/cdrom
cd /mnt/cdrom/RedHat/RPMS
rpm --install egcs-c++-1.1.2-30.i386.rpm
exit

at this point, you would have the libraries and header files you need.

good luck,
dennis
Avatar of rlivings

ASKER

i am using Linux-Mandrake 6.0, but ill try what you said and see how it goes. thanks
nope didn't work maybe if you recommend a good piece of reference then ill try to figure it out.
i'm not too familiar with Mandrake, but I do know it's based on RedHat... you say it didn't work... where did it fail?

dennis
ASKER CERTIFIED SOLUTION
Avatar of misguided
misguided

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thanks misguided, Ive decided to delete linux and reinstall a version which my brother bought and it works fine now