Procedure how install source packages - for brand new users.

Discussion in 'all things UNIX' started by Ocky, Jun 14, 2009.

Thread Status:
Not open for further replies.
  1. Ocky

    Ocky Registered Member

    Joined:
    May 6, 2006
    Posts:
    2,710
    Location:
    George, S.Africa
    Hope my link to animated gif will work.
    1. Install 'build-essential' package. (Synaptic)
    2. Extract source package contents (r/click 'Extract Here')
    3. Change directory (in terminal) to the one just extracted.
    4. Type ./configure (maybe already configured in which case proceed to 5.)
    5. Type 'make'
    6. Type 'sudo make install' or 'sudo checkinstall'**
    **requires package 'checkinstall' ( Using checkinstall the package will be
    shown in Synaptic and can easily be uninstalled - if not using checkinstall
    run 'sudo make uninstall' it will work if provided for by the programmer.)

    For Ubuntu. An example shown here

    (Source packages like .tar; .tar.gz; .tar.bz; .tgz)
     
    Last edited: Jun 14, 2009
  2. Mrkvonic

    Mrkvonic Linux Systems Expert

    Joined:
    May 9, 2005
    Posts:
    9,236
    Nice one. But I think the gif may be too much for new users, especially since you start with ./configure ... They might not get the meaning of ./. Or what make means.

    checkinstall is a very nice touch. You just inspired another article :)

    Regards,
    Mrk
     
  3. Ocky

    Ocky Registered Member

    Joined:
    May 6, 2006
    Posts:
    2,710
    Location:
    George, S.Africa
    Thanks Mrk.
    I will probably benefit from that as well, being a relatively new user, albeit
    not 'fresh out of the box'.:)
     
  4. iceni60

    iceni60 ( ^o^)

    Joined:
    Jun 29, 2004
    Posts:
    5,116
    nice. also the README and/or install files normally tell you something about installing the software too.
     
Loading...
Thread Status:
Not open for further replies.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.