how to find which directory a program "Application" is hidden?

Asked by JP Dallaire on 2012-09-16

Need to download a torrent with KTorrent but only Transmission is the default application on the "What to do" box. When I click "Other Application" I do not see KTorrent since I do not know which directory it is. There was a command to find an application with terminal but do not remember how to do this.

Thank You for your help

Question information

English Edit question
Ubuntu gnome-terminal Edit question
No assignee Edit question
Solved by:
Mark Rijckenberg
Last query:
Last reply:

Here is the requested command, after installing ktorrent:

$ dpkg -L ktorrent


which ktorrent

in a konsole and it will tell you the binary

JP Dallaire (tiger50ms) said : #3

Thanks Mark Rijckenberg, that solved my question.

JP Dallaire (tiger50ms) said : #4

I found the executable file in /USR/BIN thank you... although there was a way to find any file with a command like "where is ***" or "find ***" I tried but not a executable command on either. I know there is a way to find any file or folder with terminal, since Linux has a way to place files in different directories and sub directories, hard to follow... But for now it will do, since you pointed which directories KTorrent was. Thanks Again

andy@fileserver:~$ which leafpad

For example, works great...

As actionparsnip already wrote, try the command:

which ktorrent