If you are using ubuntu you can find installed applications by using
It will produce a lot of output so you may want to redirect it to a file for browsing later
Code:
dpkg -l > /tmp/dpkg.out
You can install apt-file and then use it to list all the files in a given package
Code:
apt-file update
apt-file list <package name>
apt-file update takes a long time to run. apt-file list will list many files; application executable files are probably in /usr/bin, /usr/local/bin or somewhere under /opt.
The apropos command finds many commands but not all and you have to be inventive about the keyword. If it lists some commands related to what you are interested in you could use the type command to find their location and then list files in the same place. guessing some part of the name as in this example
Code:
c@CW8:~$ apropos office
o3read (1) - convert files in OpenOffice.org format.
o3tohtml (1) - convert files in OpenOffice.org format.
o3totxt (1) - convert files in OpenOffice.org format.
update-openoffice-dicts (8) - rebuild dictionary.lst for OpenOffice.org
c@CW8:~$ type o3read
o3read is /usr/bin/o3read
c@CW8:~$ ls /usr/bin/*office*
/usr/bin/openoffice.org3 /usr/bin/openoffice.org3-printeradmin /usr/bin/soffice
As it happens I know that soffice is the main OOo executable; on ubuntu there is a man page for it
If you can start the application from the GUI you can use the ps command to find which command lines are being run
Code:
c@CW8:~$ ps -f -uc
UID PID PPID C STIME TTY TIME CMD
[snip]
c 23923 1 0 01:46 ? 00:00:00 /bin/sh /opt/openoffice.org3/program/soffice -writer file:///home/c/Desktop/CW8%20ubuntu%20software%20log.odt
c 23933 23923 3 01:46 ? 00:00:25 /opt/openoffice.org3/program/soffice.bin -writer file:///home/c/Desktop/CW8%20ubuntu%20software%20log.odt
c 24176 8067 0 01:57 ? 00:00:00 sleep 2m
c 24190 23832 0 01:58 pts/0 00:00:00 ps -f -uc
-f asks for a full listing and -uc asks for for processes belonging to user c. The PID (process ID) and PPID (parent process ID) connections are informative.