[SOLVED] I've just installed a program but my terminal says it's not installed.
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've just installed a program but my terminal says it's not installed.
I have installed Deluge, it's a bit torrent client, through the Ubuntu software centre, and the icon is pinned to my launch bar. I can start it by clicking on it, starts fine. I would like to know where it is installed, I can't seem to find a way to "open containing folder". Furthermore, when I open the terminal and type "deluge" to try execute the program the terminal says:
Quote:
The program 'deluge' is currently not installed. You can install it by typing: sudo apt install deluge
Now, I'm not sure if doing this means that I'll have two copies of the program installed or what. Help would be great.
The terminal doesn't recognise deluge, deluged, or deluge-web, neither if I type "where deluge" et cetera. The terminal doesn't recognise it at all yet it's pinned to my launch bar and starts fine. It also comes up under applications when I search deluge, then I can click the button and start it. Strange.
"which deluge" doesn't do anything, but what Ten Tenths posted does seem to show all files named deluge. It seems it's called "deluge-gtk. When I do "which deluge-gtk" it shows as being in "usr/bin/deluge-gtk". The funny thing is that when I go to the folder and see the properties of this file it says it's a Python script, and if I double click on it it opens the file in gedit and shows:
I'm on Ubuntu 16.04 LTS. When I type in "deluge" and press the tab key it autocompletes to "deluge-gtk". If I press tab again nothing happens. If I press tab a third time I get the following:
I'm on Ubuntu 16.04 LTS. When I type in "deluge" and press the tab key it autocompletes to "deluge-gtk".
Ok. Then that would be the correct name and you can press return once it appears. It should also be in your path so if you type "which deluge-gtk" then it will show you where it is, but that requires knowing the exact name in advance.
Then if you want more information about which package it came from you can look at it with dpkg
Code:
dpkg -S /usr/bin/deluge-gtk
But since you installed it yourself from the Software Center, you already know that.
This time I typed "sudo apt install deluged". Now I have "deluge-gtk" and "deluged" in the /usr/bin folder both are Python scripts. Installing "deluged" allowed me to "start" the Daemon and connect using the bit torrent client, whatever that means. However now I have "deluged" and "deluge-gtk" in my /usr/bin folder, both Python scripts, and I still don't know where the executable is. "whereis" tells me both of them are in /usr/bin, but as I said, they're both Python scripts.
If you look, "deluge", "deluged", and "deluge-gtk" are all different packages which provide different programs. So the python script is the executable.
"deluge-gtk", which you seem to have, is a torrent client written in python. You also have "deluged" installed. Look up the descriptions in the Software Center for the fine points on what those two packages provide.
As for the manaul pages, every program has a manual page (or at least ought to) and usually they are compressed with gzip and decompressed on-the-fly.
Code:
man deluge-gtk
If you look at the output from "dpkg -S" it has a name followed by a colon and then a file. The file is the one you looked for. The name on the left is the name of the package that you installed to get that file. So /usr/bin/deluge-gtk came from the package "deluge-gtk" You can get more information about that package via the Software Center or via apt-cache
So the Python script IS the executable? I see. Thanks. In any case things may be a bit messed up, as the screenshot shows, in my Software Centre it shows Deluge being installed twice, and the strange thing is if I find Deluge in the application search again instead of showing the "remove" button it shows the "install" button, as if it doesn't recognise it's already installed. (Sigh) Oh well, I thank you all for your help. I'm slowly getting there.
... in my Software Centre it shows Deluge being installed twice ...
Ouch. I guess it's time to re-format and re-install. Just kidding. It looks like the mistake is there with the description that the Software Center is giving you. It's their fault, not yours. Can you get a more detailed description from the Software Center for either listing? From what you describe, you have "deluge-gtk" and "deluged" installed but not "deluge". Sadly the Software Center seems to be using the same short description for both "deluge-gtk" and "deluged" and maybe also "deluge" even though they are different packages. If the detailed descriptions are different then you've found a bug and if you feel like walking it through the reporting process, it will improve Ubuntu to have it taken care of.
So I'm wondering what these buttons on my desktop do then (screenshot attached). We've established that the closest thing to an executable I'll find is just a Python script, so if these buttons are shortcuts(as Windows calls them), or links, what do they link to? If I try opening the Python script files, ie., deluged and deluge-gtk they open up in gedit, they don't execute. What is it these buttons are actually doing?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.