Solved

installing libraries

Posted on 2000-04-28
6
287 Views
Last Modified: 2010-04-22
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
0
Comment
Question by:rlivings
  • 3
  • 2
6 Comments
 
LVL 2

Expert Comment

by:munsie
ID: 2761296
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
0
 

Author Comment

by:rlivings
ID: 2761574
i am using Linux-Mandrake 6.0, but ill try what you said and see how it goes. thanks
0
 

Author Comment

by:rlivings
ID: 2761646
nope didn't work maybe if you recommend a good piece of reference then ill try to figure it out.
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
LVL 2

Expert Comment

by:munsie
ID: 2763073
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
0
 

Accepted Solution

by:
misguided earned 25 total points
ID: 2785284
 
     d'you know how to mount a cdrom? before u could issue the command rpm --install <package> u have to find it first on the cdrom..otherwise it would fail....d'you how to look for it? i mean use ls? or something..or find.if u don't know how to mount..the command..would be mound <dev> <path> where dev is the device u want to mount...like /dev/hdb or /dev/hdc...u could find the device name of ur cdrom with dmesg i'm not sure..but if it doesn't work..email me i'll check out the complete command..the path is the path where u'll virtually mount the device..usually it's /mnt/cdrom..after that u could start looking for the package..in mandrake...happy searching..:) for more info email me at misguided@hotmail.com
0
 

Author Comment

by:rlivings
ID: 2786153
thanks misguided, Ive decided to delete linux and reinstall a version which my brother bought and it works fine now
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question