LMDE - some programs installed to /opt ?

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

LMDE - some programs installed to /opt ?

Postby shalom938 on Fri Apr 15, 2011 7:36 am

I usually mount /opt to a drive I partition I have with all kind of stuff like my projects etc.
Today I install LMDE, then while creating a shortcut to thunderbird on my top panel I noticed that thunderbird is installed to /opt/thunderbird and /usr/bin/thunderbird is a link ??
shalom@shalom-laptop ~ $ ls -la /usr/bin/thunderbird
lrwxrwxrwx 1 root root 28 Apr 15 08:55 /usr/bin/thunderbird -> /opt/thunderbird/thunderbird

then I noticed that there are other things in /opt like a folder named /opt/kde3 with bin,lib and lib64 under it,
a folder named /opt/debian with some deb files under it, a folder named mint-flashplugin-x64 ,

I wonder how did this happen? I never had the OS installing files to /opt, Usually I have a dual boot where both OS mount this drive to /opt, now my /opt has mint specific files in it.
shalom938
Level 1
Level 1
 
Posts: 11
Joined: Thu Jan 20, 2011 5:04 pm

Linux Mint is funded by ads and donations.
 

Re: LMDE - some programs installed to /opt ?

Postby AlbertP on Fri Apr 15, 2011 8:09 am

/opt is treated as a 'Program Files' folder by some programs, e.g. Google programs and OpenOffice downloaded from its website (OpenOffice from the repository installs somewhere else, Google Earth from there may also do this).
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
AlbertP
Level 16
Level 16
 
Posts: 6519
Joined: Sun Jan 30, 2011 12:38 pm
Location: The Netherlands

Re: LMDE - some programs installed to /opt ?

Postby amina on Fri Apr 15, 2011 8:36 am

I useed to have the problem with Firefox that I could not start it with Run (Alt + F2). I found that Firefox was started from /opt...
I had to create a symlink so that the Run dialog box finds it ($PATH issue?).
amina
Level 3
Level 3
 
Posts: 140
Joined: Wed Mar 02, 2011 4:45 am

Re: LMDE - some programs installed to /opt ?

Postby CiaW on Fri Apr 15, 2011 11:34 am

Basically and from what I can gather, /opt is used if you're installing something that is 'non-standard' to the main distro. In this case, since Debian's standard browser is iceweasel, a re-branded Firefox (which I'm using atm) and not the standard or Mint-y Firefox, the Mint version is in /opt. I just did a search and found this article: http://www.linuxjournal.com/article/10704 it discusses using /opt vs /usr/local.
CiaW
Level 3
Level 3
 
Posts: 170
Joined: Fri Sep 10, 2010 11:39 am
Location: Spokane Wash, USA

Re: LMDE - some programs installed to /opt ?

Postby shalom938 on Sat Apr 16, 2011 6:37 am

Yes, I just realized that after I wrote this post that thunderbird and firefox installed to /opt because they are not officially debian, personally I prefer third party to /usr/local.
shalom938
Level 1
Level 1
 
Posts: 11
Joined: Thu Jan 20, 2011 5:04 pm


Return to Newbie Questions

Who is online

Users browsing this forum: No registered users and 4 guests