View software installed ubuntu position

ubuntu software center via software GUI installation, can also command apt-get install installation. But which position after the software installed on it? This is install the software with the windows environment choose a different path. ubuntu that you can call terminal mostly in the / usr / bin or / opt, but not all. Try using the following method to find the location of the software quickly.

1. The execution of the program;

2. Use the command ps -e find the name of the program;

3. Find the file location using find or whereis command.

Furthermore, if the software is known to use apt-get install command to install, and can directly command dpkg -S softwarename display packages containing all this position, dpkg -L softwarename showing the installation path.

 

PS:

aptitude show softearename or dpkg -l softwarename check the software version

Some content may refer to: http: //www.cnblogs.com/forward/archive/2012/01/10/2318483.html

Guess you like

Origin www.cnblogs.com/qian-yuan/p/11286219.html