Find the answer to your Linux question:
Results 1 to 4 of 4
Hi, I have Mandriva2008.1 and I have gcc installed but when I try to run g++ it claims that the command is not found. I tried a urpmi g++ and ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Apr 2008
    Posts
    128

    g++ command not found


    Hi,

    I have Mandriva2008.1 and I have gcc installed but when I try to run g++ it claims that the command is not found. I tried a urpmi g++ and urpmi gcc-g++ but neither package are recognized.

    What's up? How do I install g++?

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    The package is called gcc-c++. Make sure that you setup the main, contrib, plf and updates repos using the instructions at easyurpmi and then use urpmi or rpmdrake to install gcc-c++.

  3. #3
    Linux Newbie
    Join Date
    Apr 2008
    Posts
    128
    Hi,

    Thanks, but being quite a linux noob, I'm not sure what to do with easyurpmi. I've never even heard of it before. A little help...?

  4. $spacer_open
    $spacer_close
  5. #4
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    You select your version of Mandriva and the repositories you wish to setup. You will then be given commands on how to setup each repository. You need to copy each individual command into a terminal (as root) and run it untill all the repos are setup. Once they are setup, search for the packages you need in rpmdrake or use urpmi to install them.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •