installing programs form source code.

Discussion in 'Linux - General discussion' started by navskin, Jul 1, 2007.

  1. navskin

    navskin Regular member

    Joined:
    Jan 7, 2007
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    26
    hi

    i have downloaded linux unbuntu and i have installed it on my laptop.
    i do not know how to install programs on linux from the old source
    code. i need some help with this. this is a fresh standard install from
    the live cd. it is the newest ubuntu. i do not know what packages i need
    to install from the package manager.i have tryed google and i seem to
    have got some info but not a lot i got the command for installing from source
    but they will not work any help from anyone is welcome
    i want to use linux as i am sick windows and the crap that comes with it.

    thanks in advance


    navskin
     
    Last edited: Jul 1, 2007
  2. deadlove

    deadlove Guest

    Easy.. first thing you need to do is configure the synaptic package manager to use the universe and multiverse repositories...

    You can also edit your sources.list file to add other places..

    /etc/apt/sources.list

    #
    # deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 NETINST Binary-1 20070223-21:12]/ etch contrib main

    # deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 NETINST Binary-1 20070223-21:12]/ etch contrib main

    deb http://ftp.uk.debian.org/debian/ etch main contrib non-free
    deb-src http://ftp.uk.debian.org/debian/ etch main contrib non-free

    #mulitmedia
    deb http://www.debian-multimedia.org stable main
    #deb http://mirror.home-dn.net/debian-multimedia sarge main

    #tovid dvd maker
    # deb http://tovid.sf.net/download/debian etch contrib
    # deb-src http://tovid.sf.net/download/debian etch contrib

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

    That is my debian one.. but the same idea...

    Then run "apt-get update"

    To install things from source noobuntu has certain things missing..

    apt-get install build-essentials make

    should cure that.
     
  3. navskin

    navskin Regular member

    Joined:
    Jan 7, 2007
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    26
    ok i understand that but once i have install bulid essentials do i do the cammands

    ./configure
    make
    make install

    then it should install or do i have to put more commands in to do that.
    i am newbie at linux so i dont know what i am doing at the monent.
    is there any other advice that you would give me about linux so i have
    i good ida of what i have to come , and what is some good programs to
    run on linux.
     
  4. deadlove

    deadlove Guest

    1.. don't install anything from source unless it is the only way.

    Your system/package manager will not know it is there, and will break it any time there is an update which changes anything it depends on. Always apt-get or aptitude from the command line, or use the graphical package manager.

    2... always read the text files which come with any source code application releases.. There will be very important configuration and dependencies information contained.

    3.. visit the homepage of any application and see what the devs have to say, and any known bugs. You will often find issues which are known about.. that need to be attended to before building and installing source. failure to check it out means things can fail in strange and unpredictable ways. Just because something seems to make and install without errors doesn't mean it will work, and can even break other things.

    4... don't install anything from source unless you have no alternative. Always check against the md5 checksum as it is known for source to be corrupted with malware occasionally.. If in any doubt don't use it.

    5.. good programs? depends what you want to do.

    I'm sure this http://www.monkeyblog.org/ubuntu/installing/ will answer all your installing questions.
     
    Last edited by a moderator: Jul 1, 2007
  5. navskin

    navskin Regular member

    Joined:
    Jan 7, 2007
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    26
    thanks for the info i am going to stay with the package manager then sound pain to install from source.
     

Share This Page