LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-15-2003, 04:42 PM   #1
nny0000
Member
 
Registered: Aug 2003
Distribution: Slackware, Ubuntu
Posts: 158

Rep: Reputation: 30
basic installation question


If I do a ./configure && make as a regular user then install under root will the ownership of those files be the users or root's? Is it a good practice to install system applications (used by all users) under root (./configure && make && make install) and user applications with the user running ./configure && make then root running make install? Thanks.
 
Old 12-15-2003, 05:17 PM   #2
timdsmith
Member
 
Registered: Nov 2003
Location: The Colony, TX
Distribution: Slackware, Debian Etch, FreeBSD, MicroSh*t free.
Posts: 209

Rep: Reputation: 30
Personally, I always do ./configure && make as regular user and then su to root to do make install.
not sure if that's the "correct" way but........
 
Old 12-15-2003, 08:47 PM   #3
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 46
configure and make require only a normal user.
configure will create an environment depending on your system, make will go and compile and create your executables for you within that directory where you issued it.
make install requires root privilege usually, because it moves those executables created by make into directories under /usr/.... which are typically owned by root.
 
  


Reply


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
basic installation human Linux - Newbie 5 10-05-2004 06:06 PM
Basic Installation Question Fedora_dude15 Linux - Software 6 07-08-2004 10:23 PM
Oracle 8.1.7 for linux- basic installation question gowanstl27 Linux - Software 3 11-19-2003 10:38 PM
Help with a basic Samba installation phourmouzis Linux - Networking 1 04-03-2003 05:05 AM
basic driver installation basse43 Linux - Hardware 3 11-11-2002 10:27 AM


All times are GMT -5. The time now is 03:41 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration