Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-06-2005, 03:17 AM   #1
Registered: Jan 2004
Distribution: Xubuntu Dapper - Debian Etch - Puppy Linux
Posts: 136

Rep: Reputation: 15
/opt or /usr ?


I'm in the process of replacing my tiny HDD by a much bigger one and installing at least 3 different Linux distros (Libranet, Damnsmall Linux and Kaella-knoppix (a recent French version of knoppix).

For the moment I'm on dual boot (win98 and Libranet) on the small HDD.

My question is:
Is it better to install new programs (from binary tar.gz files especially) in /usr/ or in /opt/?

I see my /opt/ rep is quite empty -- my idea being creating a partition for /usr/ so I don't have to reinstall my programs if I have to reinstall Libranet.

Old 01-06-2005, 04:49 AM   #2
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
In either case, I'd suggest also creating an /etc partition too, for the config's for the apps you've got installed to /usr

As for an answer, I'd say stick with /usr if that's what you are used to. You can use /opt in the future if you decide to roll your own programs with special features that you don't need everyday, and then you can launch them with full PATH.



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
Where to install software /opt? or /usr/local? sfwalter Linux - General 4 08-23-2013 11:22 PM
java does not install in opt but install in usr bbmak Linux - Software 6 10-02-2005 11:13 PM
/usr and /opt in 1 partition hottdogg Linux - General 6 08-16-2005 09:51 AM
Use of /opt monz Linux - General 3 05-13-2004 08:56 AM
symlinking /opt to /usr/? [GOD]Anck Slackware 6 01-01-2004 11:03 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:00 AM.

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