LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 11-04-2004, 09:04 AM   #1
dimsun
Member
 
Registered: Oct 2004
Posts: 46

Rep: Reputation: 15
/usr question


I have been told that if you often run a large program then you should have /usr partition?? My question is are they talking about that I should save and compile the files in that directory or install the program in that directory?? and also can I compile the files in this directory (i.e. /tmp) and install the files in another directory (i.e. /usr)

thanks

dimsun is a newbie
 
Old 11-04-2004, 09:16 AM   #2
aizkorri
Member
 
Registered: Feb 2002
Location: Basque Country
Distribution: Fedora 14, Ubuntu 14.04
Posts: 432
Blog Entries: 1

Rep: Reputation: 45
If you install any programs, most likely it will put its binaries in /usr/bin and the libraries in /usr/lib.
If you want to compile and install any source code you have downloaded you have to do:
--> go to its folder
>./configure
>make
-->become superuser
>make install

It should install its files directly in /usr.

If you are compiling a program of your own and you want to install it, you should either put in a folder that is in the PATH or copy it to /usr/bin.

I'm not sure what you really want to know, hope this helps.
 
Old 11-04-2004, 09:49 AM   #3
dimsun
Member
 
Registered: Oct 2004
Posts: 46

Original Poster
Rep: Reputation: 15
Thank you and both info are valueable.
 
  


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
Question about /usr/include/bits/typesizes.h stefaandk Linux - General 2 07-21-2005 08:30 PM
Question about /usr/src/redhat/RPMS/subdirs stefaandk Fedora 1 06-23-2005 03:23 AM
question on usr/include/asm/module.h kmack2001 Linux - Newbie 0 02-14-2004 11:40 PM
Question reguarding /usr/loca/bin and 'linking' Cecil Linux - Software 6 06-25-2003 03:15 AM
/usr question Colonel Panic Linux - Newbie 23 07-27-2001 05:15 PM


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

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