Results 1 to 5 of 5

Thread: How compile and install softwares from source in linux?

  1. #1
    Join Date
    Jan 2009
    Posts
    203

    How compile and install softwares from source in linux?

    Hi!
    Guys, i'm a noob when it comes to linux and related stuff... I'm in huge trouble and i need help... I've refered the Ubuntu guide on TA and successfully installed the Ubuntu 8.10 on my computer. Now the problem is, whenever i download a software, maximum time i get is the filename.tar.gz archive. now when i extract it it gives me many files like "make" "install" but without any extensions. I understand that i need to compile and then install the software... But my question is, How the Freak am i suppose to compile...?? I've googled a lot and didn't find any solution... help me guys!

  2. #2
    Join Date
    May 2008
    Posts
    4,085

    Re: How compile and install softwares from source in linux?

    Hey there!

    Thats a basic and quite simple procedure. Have a look :

    • Download the file say software.tar.gz
    • Extract the files :
      Code:
      tar -zxvf software.tar.gz
    • Go to the folder where the files are extracted :
      Code:
      cd software

  3. #3
    Join Date
    May 2008
    Posts
    4,085

    Re: How compile and install softwares from source in linux?

    • Now Make the file :
      Code:
      ./configure
      make
      sudo make install
    • Now Run the software :
      Code:
      software
    • Done!

  4. #4
    Join Date
    Jan 2009
    Posts
    203

    Re: How compile and install softwares from source in linux?

    Hey!
    Thanks Solo, that was really cool...! I have a doubt, why isn't all the softwares pre-compiled? why does they want users to compile and install? this makes noobs run away from these stuffs...! Anyways thanks a lot for your help!
    Appreciate it..!

  5. #5
    Join Date
    May 2008
    Posts
    4,085

    Re: How compile and install softwares from source in linux?

    Hey again!
    The logic is pretty simple... the sources are very smaller in size and not that difficult to install... bu the pre-compiled files are greater in size and not all end users have pretty fast internet connections, generally in india where "Capping" of speed is common...!
    Anyways All the best! Enjoy!

Similar Threads

  1. How to get vlc source code and compile in windows xp
    By Bhukkam in forum Windows Software
    Replies: 2
    Last Post: 24-04-2011, 12:13 AM
  2. Replies: 4
    Last Post: 12-02-2011, 01:36 AM
  3. Different ways to install softwares in GNU/Linux
    By RedZot in forum Guides & Tutorials
    Replies: 8
    Last Post: 02-12-2009, 12:07 PM
  4. Install and Play Counter Strike Source in Linux
    By Mario2 in forum Video Games
    Replies: 2
    Last Post: 03-02-2009, 11:34 PM
  5. how to install softwares in LINUX
    By Amon in forum Windows Software
    Replies: 3
    Last Post: 24-12-2008, 06:23 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
  •  
Page generated in 1,713,887,201.63604 seconds with 16 queries