Results 1 to 6 of 6

Thread: Source Code Installation

  1. #1
    Join Date
    Aug 2011
    Beans
    5
    Distro
    Ubuntu 11.04 Natty Narwhal

    Question Source Code Installation

    Can anybody tell me how to install source code that i've downloaded from sourceforge or something like that?

  2. #2
    Join Date
    Sep 2009
    Location
    Canada, Montreal QC
    Beans
    1,809
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Source Code Installation

    If it is a tar.gz or something like that, you must extract it.
    Now depending on the language there could be a Makefile or a setup.py.

    You mush open your terminal and cd to the directory.

    If there is a Makefile, you should be able to run make and that should compile it for you.
    If it is a setup.py,
    Code:
    run sudo python setup.py install
    For more detailed information, there are tutorials online on how to install from source code.
    I know not with what weapons World War III will be fought, but World War IV will be fought with sticks and stones.
    Freedom is measured in Stallmans.
    Projects: gEcrit

  3. #3
    Join Date
    Jun 2011
    Location
    United Kingdom
    Beans
    Hidden!
    Distro
    Lubuntu Development Release

    Re: Source Code Installation

    Usually in the top level directory , there's a README file. What source code is it?

  4. #4
    Join Date
    Aug 2011
    Beans
    5
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Source Code Installation

    its a tar.gz

  5. #5
    Join Date
    Jun 2011
    Location
    United Kingdom
    Beans
    Hidden!
    Distro
    Lubuntu Development Release

    Re: Source Code Installation

    No, I meant what program? Tar.gz's can be extracted in archive manager (right click, open with...') to a convenient place, then I suggest you find the readme (if any).

    Source codes are a prickly business, usually best to see if you can software centre or synaptic them first.

  6. #6
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Source Code Installation

    Source code needs to be compiled before it can be installed.

    https://help.ubuntu.com/community/CompilingEasyHowTo

    https://help.ubuntu.com/community/CompilingSoftware

    And yes it would help to know the name of the program. Have you checked the repositories for it?

Bookmarks

Posting Permissions

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