Find the answer to your Linux question:
Results 1 to 7 of 7
hello out there, could one of u pls guide me to install gcc4.0 on debian? i downloaded the gcc4.0 as a ????.tar.gz and i can unzip it. but i've got ...
  1. #1
    Just Joined!
    Join Date
    Feb 2007
    Location
    Sri Lanka
    Posts
    12

    Question how to install gcc4.0 ?

    hello out there,

    could one of u pls guide me to install gcc4.0 on debian? i downloaded the gcc4.0 as a ????.tar.gz and i can unzip it. but i've got no idea how to install it!!

    i'm new to Linux and to Debian!!!

    buckO2

  2. #2
    Linux Guru techieMoe's Avatar
    Join Date
    Aug 2004
    Location
    Texas
    Posts
    9,496
    The easiest way to install things in Debian (in my opinion) is to use Debian's built-in software installer, apt-get. You should be able to get the latest version of gcc with a command something like this:

    Code:
    apt-get install gcc
    Registered Linux user #270181
    TechieMoe's Tech Rants

  3. #3
    Just Joined!
    Join Date
    Feb 2007
    Location
    Sri Lanka
    Posts
    12
    thanks...i tried that. but gives me a message as follows:

    Reading package lists... Done
    Building dependency tree... Done
    ...
    ...then says a lot of crap about unmet dependencies!!!!!
    ...
    ...
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


    help!!!

    buckO2

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    execute this
    Code:
    apt-get install build-essential




    Casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Just Joined!
    Join Date
    Feb 2007
    Location
    Sri Lanka
    Posts
    12
    thanks...but the that didn't work either...but as the message on the terminal suggested..i typed:
    Code:
    apt-get install -f
    and it gave a warning message and asked me to type "Yes, do as I say!" - up to the challenge I did so. ..@#$%#%^$%& it removed most of my system packages and made it useless ...not even a window manager was there!!!!

    i reinstalled and now it's fine!

    i got a fresh prob though..will typr it under multimedia issue in a fresh post

    thanks loads

    buckO2

  6. #6
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,212
    Those errors are very suspicious. May I ask what is the content of your /etc/apt/sources.list file ? And which Debian version are you trying to follow ?
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

  7. #7
    Just Joined!
    Join Date
    Feb 2007
    Location
    Sri Lanka
    Posts
    12
    i use debian etch. the latest was downloaded to me on a dvd by one of my friends.

    my sources.list content is a little different now. but how it used to be before everything was removed was as follows:

    ........................
    #
    # deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 DVD Binary-1 20070130-09:57]/ etch contrib main

    #deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 DVD Binary-1 20070130-09:57]/ etch contrib main

    # Line commented out by installer because it failed to verify:
    #deb http://security.debian.org/ etch/updates main contrib
    # Line commented out by installer because it failed to verify:
    #deb-src http://security.debian.org/ etch/updates main contrib

    deb http://mirrors.kernel.org/debian testing main contrib non-free
    deb-src http://mirrors.kernel.org/debian testing main contrib non-free

    deb http://download.videolan.org/pub/videolan/debian sid main
    deb-src http://download.videolan.org/pub/videolan/debian sid main

    deb http://www.debian-multimedia.org etch main

    deb http://security.debian.org/ etch/updates main contrib
    deb-src http://security.debian.org/ etch/updates main contrib
    ........................

    may i know what u suspect here?

Posting Permissions

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