Ubuntu Directory – Equivalent of C:\Program Files Folder on Ubuntu

directoryinstalled-programs

Which folder in Ubuntu is equivalent to C:\Program Files like on windows?
Where are all programs installed?

when i type

apt-get install leafpad

or

sudo apt-get install sublime-text-installer

Where do they go??? Which folder?

Best Answer

Ubuntu's file system is organised according to the filesystem hierarchy standard and therefore there, generally speaking, is no equivalent to c:\program files.

The location of package files installed through apt can be viewed with dpkg -L, e.g.

dpkg -L leafpad