I think, you are referring to the binary program name included in the package. I use this technique to find this:
simply type dpkg -L <package-name>
in a terminal, it will display all files installed by that package, then you can recognize the binary program names by looking at their location. Usually programs are installed in /usr/bin
directory or /sbin
directory.
Let's see an example:
anwar@edubuntu-lenovo:~$ dpkg -L gnome-screenshot
/.
/usr
/usr/bin
/usr/bin/gnome-screenshot
/usr/share
/usr/share/GConf
/usr/share/GConf/gsettings
/usr/share/GConf/gsettings/gnome-screenshot.convert
/usr/share/applications
/usr/share/applications/gnome-screenshot.desktop
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/gnome-screenshot.1.gz
/usr/share/gnome-screenshot
/usr/share/gnome-screenshot/gnome-screenshot.ui
/usr/share/glib-2.0
/usr/share/glib-2.0/schemas
/usr/share/glib-2.0/schemas/org.gnome.gnome-screenshot.gschema.xml
/usr/share/doc
/usr/share/doc/gnome-screenshot
/usr/share/doc/gnome-screenshot/copyright
/usr/share/doc/gnome-screenshot/NEWS.gz
/usr/share/doc/gnome-screenshot/changelog.Debian.gz
Note that, the program name of gnome-screenshot package is gnome-screenshot
.
You asked
Is there any standard way to know the <packageName>
for the desired program?
Sometimes the terminal can tell your the package name required to be installed to have a desired program. It happens when the program is in Standard repository and you have enabled those repository.
For example, If I type gnome-documents
when no such package is installed, the terminal will tell be this:
anwar@edubuntu-lenovo:~$ gnome-documents
The program 'gnome-documents' is currently not installed. You can install it by typing:
sudo apt-get install gnome-documents
But, in this case, I should at least know the program name