Taking Chromium-browser as an example
Find command
[Email protected]:~$ sudo find/-name chromium-browser
/usr/lib/chromium-browser
/usr/lib/chromium-browser/chromium-browser
/usr/bin/chromium-browser
/usr/share/doc/chromium-browser
/usr/share/lintian/overrides/chromium-browser
/usr/share/chromium-browser
Find: '/RUN/USER/1000/GVFS ': Insufficient authority
/etc/chromium-browser
Determine the installation location as "/usr/lib/chromium-browser"
Dpkg-l command
If you know that the software is installed using the Apt-get Install command, you can use this method
Dpkg-l Chromium-browser
As a result, Chromium-browser does not seem to be installed by Apt-get way.
Whereis command
[Email protected]:~$ whereis Chromium-browser
Chromium-browser:/usr/bin/chromium-browser/usr/lib/chromium-browser/etc/chromium-browser/usr/share/ Chromium-browser/usr/share/man/man1/chromium-browser.1.gz
Determine the installation location as "/usr/lib/chromium-browser"
Locate command
The effect is not ideal
Locate Chromium-browser
which command
To view the location of the execution file
[Email protected]:~$ which chromium-browser
/usr/bin/chromium-browser
Type command
To view the location of the execution file
[Email protected]:~$ type Chromium-browser
Chromium-browser is/usr/bin/chromium-browser.
ubuntu16.04 viewing the installation location of the software