LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-15-2011, 12:42 AM   #1
naruto
LQ Newbie
 
Registered: Mar 2011
Location: Madurai, TamilNadu, India
Posts: 14

Rep: Reputation: 0
Installing RPM Packages


Hi. I am a new member... new 2 linux... Could u provide me some details on where to get and how to install gcc compiler. I am using Mandriva Power Pack 2010. I am getting downloads as in *.rpm format or *.tar.bz2 .. How to install using that.... Any idea please...
 
Old 03-15-2011, 01:15 AM   #2
wafflesausage
Member
 
Registered: Oct 2010
Distribution: FreeBSD(preferred), Fedora 15, WebOS, Mac OS, NetBSD, Ubuntu (if I have no other choice)
Posts: 46

Rep: Reputation: 1
Quote:
Originally Posted by naruto View Post
Hi. I am a new member... new 2 linux... Could u provide me some details on where to get and how to install gcc compiler. I am using Mandriva Power Pack 2010. I am getting downloads as in *.rpm format or *.tar.bz2 .. How to install using that.... Any idea please...
The documentation from the Mandriva wiki indicates that you select Star > Application Menu > Install & Remove Software
I strongly encourage you to read through the following page before posting again, it will probably answer any other questions you might have, and ultimately, save everyone time.
http://wiki.mandriva.com/en/Docs/Bas...oving_software
 
1 members found this post helpful.
Old 03-15-2011, 04:11 AM   #3
naruto
LQ Newbie
 
Registered: Mar 2011
Location: Madurai, TamilNadu, India
Posts: 14

Original Poster
Rep: Reputation: 0
K sir ... I have tried that way too sir.... But its not showing anything... I also tried making a double-click on the corresponding rpm package/tar file... But, nothing fruitful...
 
Old 03-15-2011, 08:38 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Which Mandriva Power Pack 2010 ? 2010.0, 2010.1, 2010.2 ?
http://linuxsilo.net/docs/smart-questions_en.html

I.e. you will have to use the right packages. And why are you downloading software ?
http://distrib-coffee.ipsl.jussieu.f...inux/official/

Please try this : 1) su ; 2) urpmi.update -a

3) urpmi gcc gcc-c++ : And the compilers should be installed.

..

Last edited by knudfl; 03-15-2011 at 08:41 AM.
 
Old 03-15-2011, 08:50 AM   #5
devUnix
Member
 
Registered: Oct 2010
Posts: 606

Rep: Reputation: 59
Insert the CD/DVD of Mandriva you have got. The package should already be present thereon. It will be much easier and better if you copy and paste all the packages into a particular directory (under /var/ftp/pub/) and then create a YUM Repository and then install any package whether it is GCC or any other. It will download any dependencies and will install them automatically. RPM cannot resolve dependencies on its own.
 
Old 03-15-2011, 09:04 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Post # 5 : "" YUM Repository "" : Mandriva is not using 'yum', but "urpmi".

And Mandriva used to have an automatic way of adding the DVD to the repo file.
 
Old 03-16-2011, 02:24 AM   #7
naruto
LQ Newbie
 
Registered: Mar 2011
Location: Madurai, TamilNadu, India
Posts: 14

Original Poster
Rep: Reputation: 0
I also tried inserting the cd sir.... Not getting it...
 
Old 03-17-2011, 08:27 AM   #8
naruto
LQ Newbie
 
Registered: Mar 2011
Location: Madurai, TamilNadu, India
Posts: 14

Original Poster
Rep: Reputation: 0
Thank u all... I got it solved........
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help - installing RPM packages Bhagyesh Linux - Newbie 1 08-05-2009 10:45 AM
rpm error when installing packages Infasoft Linux - Newbie 1 09-21-2008 06:07 PM
Installing Vim rpm packages kaplan71 SUSE / openSUSE 1 11-02-2006 03:37 PM
Installing RPM packages mission_control Linux - Software 3 09-27-2004 07:17 PM
installing rpm and tgz packages?? Ikik General 6 10-07-2003 08:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration