LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-11-2007, 10:56 PM   #1
makaveli_0000
LQ Newbie
 
Registered: Nov 2006
Posts: 11

Rep: Reputation: 0
cvs


Newbie on board, trying to understand some basic concepts.

After running the configure script, do I always have to run the 'make' command before 'make install'? Can I simply run the 'make install'? What is the difference between both commands
 
Old 01-12-2007, 02:23 AM   #2
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
running 'make' will compile the code and produce a binary and other stuff. 'make install' will install the binary, config files, and libraries into their appropriate paths. If you run 'make install' without first running make, it's not going to harm anything as it will just exit out displaying the error(s) on stdout.

-twantrd
 
Old 01-12-2007, 10:16 AM   #3
Quigi
Member
 
Registered: Mar 2003
Location: Cambridge, MA, USA
Distribution: Ubuntu (Dapper and Heron)
Posts: 377

Rep: Reputation: 31
Normally, "make install" should work, i.e., build the binaries (etc.) first if you didn't run "make" yet, then install them. That's the beauty of make.

I prefer to run "make" as a normal user, then "make install" as root. Only installation needs root privileges, to write, e.g., into /usr/local/bin.
 
Old 01-16-2007, 06:43 AM   #4
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
"Make install" also puts the documentation in it's proper places, man-pages, info-pages, handbook.html all go to the places specified for them (and where the others already reside so as not to clutter your system)...
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Running CVS Server on Fedora Core 4 with pserver as "cvs" user rupak Fedora 2 09-17-2005 02:06 PM
Running CVS Server with pserver as "cvs" user on Fedora Core 4 rupak Linux - Software 2 09-17-2005 12:10 PM
create a cvs repository with existing files to cvs powah Linux - Software 1 08-19-2005 09:19 AM
Obtaining sources by CVS - no cvs access cybrjackle *BSD 0 01-18-2005 08:28 AM
cvs wine. Unable to download. Error "cvs: command not found" gonus Debian 5 08-03-2004 07:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:52 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