+ Reply to Thread
Results 1 to 6 of 6

Thread: Spoonfed Linux Tutorials- Installing software from source

  1. #1
    Showstopper's Avatar
    Showstopper is offline Programmer
    Join Date
    Jul 2009
    Posts
    170
    Blog Entries
    3
    Rep Power
    12

    Spoonfed Linux Tutorials- Installing software from source

    I will try to make this as "spoonfed" to new linux users as I can. This is one of many tutorials I will be writing.

    Spoonfed Linux Tutorials: Installing Software in Linux from the source
    By Showstopper

    Most applications come in a .tar.gz, .tar.bz2

    I am assuming that you downloaded the file to /home/username/

    Change to the /home/username/ directory with the cd (change directory) command.

    cd /home/username/
    Another useful command is ls. When typed it will tell you were the file is.

    Next thing to do is unzip the package.

    .tar.gz files:
    Code:
    tar -zxvf <filename>
    .tar.bz2:
    Code:
    tar -jxvf <filename>
    There should be a new directory that you just made containing all the files.

    Now change to the directory.

    Code:
    cd <directory>

    Code:
    more INSTALL
    Next is to Configure, compile, install.

    Code:
    ./configure

    Code:
    make

    You may have to switch to the root to install, to do this:

    Code:
    su
    then finally make it install.

    Code:
    make install

    This was written quickly, If I made a mistake let me know. If there is any questions PM me or post here and I will help you to the best of my ability.

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Jordan Guest

    Re: Spoonfed Linux Tutorials- Installing software from source

    Very nice tutorial, +rep.
    Also for beginners, there is usually a README or INSTALLATION text file in the directory which may have specific instructions for compiling software from source.

  4. #3
    smith is offline Programmer
    Join Date
    Jun 2006
    Posts
    153
    Rep Power
    0

    Re: Spoonfed Linux Tutorials- Installing software from source

    I've seen some source contain an install script that will do all these steps for you.
    Code:
    for (int i;;) {
       cout << "Smith";
    }

  5. #4
    Join Date
    Jul 2006
    Posts
    16,494
    Blog Entries
    75
    Rep Power
    143

    Re: Spoonfed Linux Tutorials- Installing software from source

    It's easy to do, but so many people have issues with installing from source. +rep.
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

  6. #5
    relapse's Avatar
    relapse is offline Programming Expert
    Join Date
    Jul 2009
    Location
    Intrawebs
    Posts
    479
    Blog Entries
    2
    Rep Power
    0

    Re: Spoonfed Linux Tutorials- Installing software from source

    I wonder if people are afraid of "source". Any programmer should be familiar with it.

  7. #6
    Join Date
    Jul 2006
    Posts
    16,494
    Blog Entries
    75
    Rep Power
    143

    Re: Spoonfed Linux Tutorials- Installing software from source

    Many Linux admins are not programmers.
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Creating Makefiles in Linux for installing programs
    By uniquerockrz in forum C and C++
    Replies: 2
    Last Post: 10-12-2011, 07:23 PM
  2. Installing unreal IRCd From Source
    By imported_Affix in forum Linux Tutorials, Guides and Tips
    Replies: 2
    Last Post: 03-02-2009, 12:47 PM
  3. Installing Linux on a USB Flash Drive?
    By EGS in forum Linux Installation & Configuration
    Replies: 11
    Last Post: 06-20-2008, 09:54 AM
  4. Installing Software
    By TcM in forum Linux Applications
    Replies: 5
    Last Post: 02-23-2008, 02:31 PM
  5. Error installing plugins from software update
    By adaykin in forum Software Development Tools
    Replies: 2
    Last Post: 09-16-2007, 12:12 PM

Tags for this Thread

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