Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.


  Search this Thread
Old 01-29-2005, 09:22 AM   #1
Registered: Jan 2004
Location: India
Distribution: Android 4.4.2
Posts: 123

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
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980
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
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
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
Registered: Jan 2004
Location: India
Distribution: Android 4.4.2
Posts: 123

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


now a days no one replies to newbies!!


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 > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 04:44 PM.

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