PDA

View Full Version : [ubuntu] Where are the installed programs??



raziiq
June 17th, 2009, 12:55 PM
Where are all installed programs placed in uBuntu? Like we have installed programs in Windows under Program Files.

Celauran
June 17th, 2009, 12:57 PM
That's not how it works in Linux. Installed programs don't occupy one directory. For instance, /etc/ contains the configuration files for all programs, while the executables themselves may be installed to /usr/bin

raziiq
June 17th, 2009, 01:02 PM
/usr/bin thats what i was asking, thanks for the info man :)

Mark Phelps
June 17th, 2009, 01:51 PM
/usr/bin thats what i was asking, thanks for the info man :)

He said "may" be installed to /usr/bin.

There's also /usr/local/bin, and /usr/sbin -- and others I don't recall at the moment. Also, it's fairly typical for apps to created hidden directories under your /home directory and store files and settings there.

Basically, there's no one directory where ALL the application programs get saved in Linux.

m_duck
June 17th, 2009, 02:05 PM
If you want to find the location of a specific executable, you can use the which command.
which firefoxfor example, will return
/usr/bin/firefox

Paqman
June 17th, 2009, 02:39 PM
It's also worth pointing out that in Linux you don't need to know the path to the executable to launch it.

For example, Firefox may be at /usr/bin/firefox, but to launch it you only need to use the command
firefox

Linux is a lot smarter than Windows that way.