LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 07-26-2001, 05:00 AM   #1
ct3
LQ Newbie
 
Registered: Jul 2001
Posts: 10

Rep: Reputation: 0
Smile /usr etc questions


What is /usr /temp /opt etc...
I saw them in other people system.
Should I get them as partition or as directory?
If I should get them in directory,
which partition should I create the directory in?
Hope someone will answer me. Thanks.
 
Old 07-26-2001, 05:33 AM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
All the directories you mentioned don't normally reside on their own partitions, just within your root partition. Have a read of http://www.linuxquestions.org/questi...ghlight=%2Fusr to know more about /usr. /tmp (its not normally /temp) is just a directory that is writable by everyone so can be used as tempory storage for any programs and /opt seems to a directory that I've seen more commercials Unix (particularly Solaris) setups, and seems to be the location where lots of application software gets installed - although I've seen it get used a lot on systems with KDE as AFAIK it's KDE's default install dir...

HTH

Jamie...
 
Old 07-26-2001, 09:29 AM   #3
ct3
LQ Newbie
 
Registered: Jul 2001
Posts: 10

Original Poster
Rep: Reputation: 0
does it means, if a software is to be installed. it will goes to the /usr?
or just some system files will get there where else other files of the software will goes to the specific directory i point to? eg. /irc/bitchx
 
Old 07-26-2001, 02:15 PM   #4
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
Lots of software installs to /usr/local but you can install it anywhere, and different programs will have their own default install locations. When programs do install to their own location, and that location isn't in your path then you often use a symlink to make the program appear in a more 'usual' place. For example say your program install to /someDir/someProgram/bin/someBinary then to make this available to everyone you might want to do a
Code:
ln -s /someDir/someProgram/bin/someBinary /usr/bin/someBinary
or add /someDir/someProgram/bin to your path.

cheers

Jamie...
 
  


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
Starting httpd: /usr/sbin/httpd: symbol lookup error: /usr/local/lib/libaprutil-0.so. bijuhpd Linux - Newbie 1 10-30-2005 05:07 PM
/usr vs /usr/local on linuxpackages.net merchtemeagle Slackware 4 10-18-2005 03:09 PM
Relocat /usr/lib and /usr/lib64 to a different path schokshi Fedora 3 08-30-2005 09:14 PM
Installing software, /usr/lib directory and /usr/local millertime Linux - Software 2 07-10-2004 09:21 AM
Relationship between /usr/bin and /usr/lib glume Linux - Newbie 4 04-16-2004 08:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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