Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is Ubuntu storing installed programs?

I am using Ubuntu and when I click on a program to download Firefox asks me "What should firefox do with this file?" And in the "Open with" I would like to find a program "Package installer". The problem is - I don't know where to look for. Where is the program stored (I installed it using Ubuntu Software Center)

like image 709
Dantes Avatar asked Apr 26 '12 19:04

Dantes


People also ask

Where are installed programs stored in Ubuntu?

There's still a set of 'standard' locations that programs are put into. For example, binaries (in windows parlance 'executables') are put in /usr/bin, and documentation is put in /usr/share/doc in a Ubuntu system. will do. It might also fall under the Applications menu > Internet.

Where are installed programs stored in Linux?

The softwares are usually installed in bin folders, in /usr/bin, /home/user/bin and many other places, a nice starting point could be the find command to find the executable name, but it's usually not a single folder. The software could have components and dependencies in lib,bin and other folders.

How do I find program files in Ubuntu?

Re: Where are Ubuntu Program Files Located? Mostly in /bin or /usr/bin. Program settings are usually in a hidden folder in your home folder. Applications are NOT in /usr/share/applications.


2 Answers

They are usually stored in the following folders:

/bin/ /usr/bin/ /sbin/ /usr/sbin/ 

If you're not sure, use the which command:

~$ which firefox /usr/bin/firefox 
like image 89
Paul Oliver Avatar answered Oct 08 '22 11:10

Paul Oliver


If you installed the package with the Ubuntu package manager (apt, synaptic, dpkg or similar), you can get information about the installed package with

dpkg -L <package_name> 
like image 28
Andreas Florath Avatar answered Oct 08 '22 09:10

Andreas Florath