Solved

installing libraries

Posted on 2000-04-28
6
286 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Help Linux centos 5.7 3 91
LDAP server on Linux Redhat 6 2 502
shell script for killing a linux process 19 154
centOS 7 GUI is now showing. 20 1,375
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…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

773 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