Solved

installing libraries

Posted on 2000-04-28
6
288 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
Technology Partners: 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Suggested Solutions

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 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…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

730 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