Originally Posted by alagenchev
I have a weird/stupid question. How do you know what command would start an application after installing it, if the synaptic package name doesn't match?
For example google chrome and lmsensors. The first appears as Chrome in Synaptic and the second as lmsensors, but to run them you have to type google-chrome for the first and sensors for the second in the console to start them.
When I did locate sensors or locate chrome/chromium, nothing came up in the search that would hint me that I need to run those commands. I had to rely on a google search and look for someone else's answer. Is there a better way, one that I can figure it out on my own?
You can get a list of files that are part of an installed package in synaptic and from this one can deduce the name of the command.
This is basically the output of
For instance, lm-sensors is the Ubuntu package name and the output of dpkg -L is:
From this, you can see that you can use
to call /usr/bin/sensors
and you can use
to call /usr/sbin/sensors-detect