LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 01-29-2005, 09:22 AM   #1
pradeepmenon777
Member
 
Registered: Jan 2004
Location: India
Distribution: Ubuntu 8.04
Posts: 122

Rep: Reputation: 16
Talking which all rpm packages should i have to install gcc with g++ support


Asking you all a very precise and most important question as far a newie programmer is concerned

1> Which all rpm packages should i download so as to get fully installed gcc with g++ in mandrake 10.1?

2> will this downloaded rpm work for future versions of mandrake?

3> What if i do not have the kernel source installed in the computer? Would that affect the rpm installation ?

Do tell me as i am a linux newbie , i wish to start my c++ programming in linux soon.

thanks in advance!!!
 
Old 01-29-2005, 09:55 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
you don't need to download ANYTHING. everything you need IS on your mandrake distro cd's. use the urpmi tool or your own of choice to install gcc from it. using urpmi, all dependencies will also be pulled from the CDs.
 
Old 01-30-2005, 07:43 AM   #3
bunnadik
Member
 
Registered: Jan 2005
Location: Ívik, Sweden
Distribution: MDK 10.1
Posts: 450

Rep: Reputation: 30
1) In MDK 10.1 you should at least have these installed : gcc-c++-3.4.1-4mdk, libgcc1-3.4.1-4mdk, gcc-cpp-3.4.1-4mdk, gcc-3.4.1-4mdk
So do an
Code:
urpmi gcc
urpmi libgcc1
urpmi gcc-cpp
urpmi gcc-c++
It will ask you to put the proper CD (if you did a CD install in the first place) in and you should be good to go.

2) Future versions of MDK will have new versions that you can choose during install or afterwards (as done above).

3) Nope. The kernel source is only needed for compiling a new kernel (duh!) and additional (external) modules
to the kernel, like the NVIDIA binary and such.

- Peder
 
Old 02-13-2005, 08:36 AM   #4
pradeepmenon777
Member
 
Registered: Jan 2004
Location: India
Distribution: Ubuntu 8.04
Posts: 122

Original Poster
Rep: Reputation: 16
thanks very much
friend
i love that answer

thankalot

now a days no one replies to newbies!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Breezy - Can't install some packages - and what about MP3 support? Riddick Ubuntu 6 10-23-2005 02:35 PM
How do I install .rpm packages using RH9? ScottyKUtah Linux - Newbie 3 08-08-2004 08:09 AM
RPM: install gcc tanthiamhuat Linux - Newbie 1 02-02-2004 11:16 PM
slackware 9 what packages do i have to install to make my gcc work zeroversion Linux - Software 1 11-26-2003 11:19 AM
RPM 'failed dependencies': Why can I not install any rpm packages? leontini Linux - Newbie 7 09-16-2003 12:44 AM


All times are GMT -5. The time now is 05:47 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration