LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-22-2004, 11:53 AM   #1
Echo Kilo
Member
 
Registered: Jul 2004
Distribution: Ubuntu - Debian Based
Posts: 242

Rep: Reputation: 30
./configure, make, make install


./configure
make
make install

I saw that you must do the above to install some software. What exaclty is this doing?

Is this recompilling the kernel?

Can you compile a program from source without recompiling the kernel source?
 
Old 12-22-2004, 12:02 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
./configure = configure the make file for your system
make = make the make file for your system
make install = installs the whole thing to your system

I can't see how that would reconfigure a kernel, unless you can tell us what the program is and what it does/is supposed to do.
 
Old 12-22-2004, 12:31 PM   #3
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
I wrote a reply about the whole software installation process in another thread. If you'd like to take a look at it, here's the link:

http://www.linuxquestions.org/questi...hreadid=192344

It's basically the same thing as what XavierP said, but with some more detail thrown in.
 
Old 12-22-2004, 12:57 PM   #4
JunctaJuvant
Member
 
Registered: May 2003
Location: Wageningen, the Netherlands
Distribution: OS X & Linux Mint
Posts: 488

Rep: Reputation: 31
Also, you can open the "configure" file in a text editor. It may also provide some detailed comments/hints.
 
Old 12-23-2004, 02:38 AM   #5
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 48
Quote:
I saw that you must do the above to install some software. What exaclty is this doing?
That's how you compile from source code. The Configure bit works out your hardware, directories, configuration options etc. The Make bit compiles the software, and the Install bit moves the compiled software into the appropriate places.

Or something along those lines

Quote:
Is this recompilling the kernel?
No.
To recompile the kernel, you're looking more along the lines of:
cd /usr/src/linux
make menuconfig
make
make modules_install

Quote:
Can you compile a program from source without recompiling the kernel source?
Yup. They're two different things.
 
Old 12-23-2004, 02:06 PM   #6
mjjzf
Member
 
Registered: Feb 2004
Location: Valby, Denmark / Citizen of the Web
Distribution: Slackware 14.1
Posts: 879

Rep: Reputation: 39
Dark_Helmet, the posting you link to is actually a very good explanation.
I think there should be a link to it in Jeremy's instructions for compiling from source.
 
Old 12-23-2004, 05:29 PM   #7
Garibaldi3489
Member
 
Registered: Oct 2004
Posts: 172

Rep: Reputation: 30
As mentioned up above this is how you install software from source. The reason you would want to install from source verses a package for your system like deb for debian or tgz for slackware is because the software you want to install may not always be offered in a package.
 
Old 12-24-2004, 07:29 AM   #8
mjjzf
Member
 
Registered: Feb 2004
Location: Valby, Denmark / Citizen of the Web
Distribution: Slackware 14.1
Posts: 879

Rep: Reputation: 39
I mostly use the source tarballs because it is the only way to get the latest program versions. The distro packages always show up a bit later (installed Thunderbird with Ubuntu apt-get: Version 0.8. Grabbed the 1.0 tarball from the site instead).
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
configure, make and make install commands don't work for me Fenster Fedora 8 08-18-2004 10:58 AM
Problem with Configure, Make, Make Install n8tgc Linux - Newbie 2 07-13-2004 03:16 PM
Installed using ./configure, make, make install, how to remove? EnVoy Mandriva 4 03-10-2004 07:05 PM
./configure , make and make install does not work mobassir Linux - Software 7 07-30-2003 09:20 AM
Can I automate the tar, ./configure, make, and make install of about 50 packages? JoeLinux Linux - General 2 04-13-2002 03:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:58 PM.

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