LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Where is my installed software? (https://www.linuxquestions.org/questions/linux-newbie-8/where-is-my-installed-software-4175657098/)

Gyroman 07-09-2019 06:52 AM

Where is my installed software?
 
I have Software Manager and Package Manager..
I recently used Software Manager to find an X86 disassembler and I found [ht]
I installed it and it said it was installed but I can't find it anywhere??
(no it does not appear in the GUI menu nor is it available in the terminal as a command)

I suppose this is a whole tutorial on installation.. but I would just like to know where new software gets put and how to access it.. please

thanks

rtmistler 07-09-2019 07:20 AM

Most executable software gets placed in any of /bin, /sbin, /usr/bin, and /usr/sbin.

There are some exceptions where they use a custom directory, or they add further sub-directories off of one of those four to put their executable files into.

Are you sure that the command would be 'ht'? Have you tried to type ht followed by TAB to see if there are other command completions, like ht-1.49 or something like that? (I absolutely made that up by the way, just demonstrating that sometimes executable files have additional parts to the name).

Another thing to do would be to do a sudo find command from the root file system, sort of like:
Code:

$ sudo find . -name "ht*" -type f

pan64 07-09-2019 07:57 AM

probably /usr/bin/hte is the executable.
Also try man hte

fatmac 07-09-2019 11:15 AM

Also, check in /usr/local/bin some like to put executibles in there.

Gyroman 08-21-2019 08:05 PM

Where is my installed software
 
Quote:

Originally Posted by pan64 (Post 6013385)
probably /usr/bin/hte is the executable.
Also try man hte

Yes "hte" does produce a Mate window with default parameters etc. So looks like it works but being a [Log] window I have no idea how to access the keyboard menu [File etc etc] but using it is a different question so thanks for your reply.

Shadow_7 08-22-2019 03:56 AM

$ which hte

Most software creates it's parts in a /usr/share/packagename/ location. With guides and stuff in /usr/share/doc/packagename/. And ofc executables in /bin /sbin /usr/bin /usr/sbin and the /usr/local/ variants. Depending on how something was installed (via source? via package?).

DavidMcCann 08-22-2019 10:31 AM

If you know the command to launch a program, the command whereis is useful. Look at
Code:

man whereis
whereis hte

The main catch is that it looks at where your package-manager would put things, so it won't find something you got yourself and which ended up in /opt.

rnturn 08-22-2019 02:23 PM

Quote:

Originally Posted by Gyroman (Post 6013369)
I have Software Manager and Package Manager..
I recently used Software Manager to find an X86 disassembler and I found [ht]
I installed it and it said it was installed but I can't find it anywhere??
(no it does not appear in the GUI menu nor is it available in the terminal as a command)

I suppose this is a whole tutorial on installation.. but I would just like to know where new software gets put and how to access it.. please

thanks

Your package manager likely has an option to list the files that are part of the package. Worth a try. If your package manager doesn't have that option, you'll have to do a brute force search:
Code:

$ find / -type f -iname '*progname*'
where "progname" is the name of the disassembler binary.

Once you locate it, if it's not in one of the "standard" binary directories, you need to add the directory where it was installed to your PATH variable in whatever file you use at login to initialize your environment. If the package didn't install the binaries into a standard location, chances are its man pages aren't accessible via man(1). You might need to modify your MANPATH environment variable (or make system-wide changes to it in /etc/manpath.config).

HTH...

ondoho 08-22-2019 04:58 PM

so the package (not the executable) is called ht, and this is on ubuntu?
Code:

dpkg -L ht


All times are GMT -5. The time now is 09:48 PM.