Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-04-2014, 04:39 AM   #1
LQ Newbie
Registered: Jan 2013
Posts: 28

Rep: Reputation: 0
install a program from souce code

in oder to install a program from source from some of programs which I install I learn they are three steps :

1. ./configure
2. make
3. sudo make install

so what are they exactly ? I mean what is the duty of make and also what is the the duty of make install? what is or what are their differences?
Old 07-04-2014, 04:45 AM   #2
Registered: Nov 2011
Location: Australia
Distribution: Arch, LFS
Posts: 166

Rep: Reputation: 37
Configure does as the name suggests: it finds out what you have installed so it can see if it can install itself, checks to see what options it can enable based on what libraries you have installed on your machine and enables/disables features and the like you requested. Make compiles the program. Make install moves the compiled files into the appropriate locations.
1 members found this post helpful.
Old 07-04-2014, 04:54 AM   #3
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Have a look here.
1 members found this post helpful.
Old 07-04-2014, 07:40 AM   #4
LQ Newbie
Registered: Mar 2010
Posts: 1

Rep: Reputation: 1
make looks for a file 'Makefile' which will be in your current directory. Makefile contains all the instructions for make to compile your code, which can usually be done as a normal user. Then when you run 'make install' the Makefile tells make where to actually install your new application
1 members found this post helpful.


configure, install, make

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Iwlist souce code David_Moses Linux - Software 2 04-07-2005 04:23 PM
are header files the souce code? shanenin Linux - Software 3 02-16-2005 11:24 AM
Trying to compile souce code that came with AUP book.... Scrag Programming 4 11-16-2004 10:24 PM
Help - rm souce code kilaabe Linux - General 1 11-14-2003 09:22 PM
Compile problem with souce code neilcpp Linux - Software 3 10-18-2003 02:53 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:49 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration