Solved

installing libraries

Posted on 2000-04-28
6
289 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Have you ever been frustrated by having to click seven times in order to retrieve a small bit of information from the web, always the same seven clicks, scrolling down and down until you reach your target? When you know the benefits of the command l…
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…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

726 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