Solved

installing libraries

Posted on 2000-04-28
6
285 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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 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…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

911 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now