LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Where do installed programs go? (https://www.linuxquestions.org/questions/linux-newbie-8/where-do-installed-programs-go-828437/)

runbux 08-25-2010 01:17 PM

Where do installed programs go?
 
I Use Linux Mint with gnome.

I download software packages from the Mint/Ubuntu repositories, they seem to install correctly. After installation, I check the GUI "All Programs" menu, they are not listed, I search for the installed files using Mint's search utility, they are not detected anywhere in the filesystem.

Where are they going? Are they lost by Mint? Is this common with all Linux distro's? Is this dangerous or a sign of a virus? Why does it have to be like this?

I delete the installed packages as soon as they are NOT detected,.

rahul.identity 08-25-2010 01:35 PM

No need to delete the prog.
Ur install prog goes to Sbin folder.
just type the prog name that u install. it diectly ll get run.
nt sure with mint bt in most of distros.

Sylvester Ink 08-25-2010 01:58 PM

It also depends on the type of program you install. Some programs are available in the program menu (the "All Programs" menu, I think), while some are only available in the commandline. Usually the easiest way to figure it out is to open a console, type a partial name of the program you are trying to run, then push tab.

For example, let's say I installed Conky, but for some reason it's not showing up in my program menu. So I open up my terminal program of choice (xterm is usually available on all machines, but you may use konsole, gterm, eterm, or whatever is default on your system), type in "con" and push tab twice. I get a list of programs that start with "con," such as "configure_data, conky, convert, conjure, continue, convertfonts." Looks like conky is in there, so I just finish typing "conky" and push enter to run it.

From there you know the program is installed properly and you can manually add it to your programs menu if necessary.

evo2 08-25-2010 06:23 PM

You can find where the package installs files using dpkg
Code:

dpkg -L nameofpackage
The executables are usually put in a bin dir, so you can usually find the executables in a package with:

Code:

dpkg -L nameofpackage | grep bin
Evo2.

MrCode 08-25-2010 06:49 PM

Sometimes the programs you install don't have a GUI interface, and are command-line-based. In such cases, they usually won't have an entry in the GUI menu.

Try opening a Terminal window and searching for the program's man page (if it exists):

Code:

apropos <name of program executable>
If you find it, type man <name of program executable> to get more info about how to use it.

Hope this helps. :)

frankbell 08-25-2010 09:43 PM

I have found that Gnome usually adds GUI programs to the menu automatically, but YMMV.

For most of the programs I have installed in Slackware and Ubuntu, the executables go into /usr/bin or sometimes /usr/local/bin; very rarely they will go somewhere under /opt. Since I usually use Fluxbox as a window manager, I must edit the Fluxbox menu manually.

I find the program executables by running

Code:

whereis [program file name]
Example:

Code:

bash-3.1$ whereis opera
opera: /usr/bin/opera /usr/lib/opera /usr/X11R6/bin/opera /usr/bin/X11/opera /usr/X11/bin/opera /usr/local/bin/opera /usr/local/lib/opera /usr/share/opera /usr/man/man1/opera.1 /usr/share/man/man1/opera.1 /usr/X11/man/man1/opera.1

Then, as user, I run the program from the command line to verify that I found it and that I can run it as user. Then I add it to the menu.

MTK358 08-26-2010 07:08 AM

Quote:

Originally Posted by runbux (Post 4077467)
I Use Linux Mint with gnome.

I download software packages from the Mint/Ubuntu repositories, they seem to install correctly. After installation, I check the GUI "All Programs" menu, they are not listed, I search for the installed files using Mint's search utility, they are not detected anywhere in the filesystem.

The name of the file is usually different from the "proper" name of the program. For example:

Code:

Name              Executable

OpenOffice.org    soffice
Firefox            firefox
File Roller        file-roller

And remember, Linux (unlike DOS/Windows) is case-sensitive: "File" and "file" are different and can coexist in the same folder!

Wifi-Fanatux 08-26-2010 11:02 AM

Checking file locations with Synaptic
 
With Mint (and other distros using a graphical package installer) you open the package manager (synaptic, kpackage, Yum, Yast - whatever) and search for the program. When you highlight the program there should be a selection for the installed files. Simply look at the installed files, and the location of the executable filename will be one of those files. You can create a launch link either for the panel or as a menu entry using the file location to run your application. If it has no GUI, you will need to run the application (file name and location) from a terminal.

bob_man_uk 08-26-2010 01:23 PM

+1 for the command

Quote:

whereis
an alternative (installed by default on debian based Os') and a program i use a hell of a lot is

Quote:

locate
just make sure you regularly do

Quote:

updatedb

runbux 08-26-2010 02:42 PM

This is a lot to digest, but I'm making limited progress. However, sometime I search using whereis or dpkg commands which only returns an echo of the package name I typed.

whereis <package> (enter)
:<package>

Does this mean that the package was not installed correctly? If so, how can I find out what went wrong?

Also, I have noticed that most of the packages that do this are from Ubuntu repositories (canonical and Universe). Is there some level of incompatibility between Ubuntu and Linux Mint? It's my understanding that Mint is Ubuntu based.

John VV 08-26-2010 03:09 PM

--- edit ---
oops I mis read the thread title
#########################

if you ONLY installed the program "go" it is a terminal based program --NO GUI and will NOT be in the gnome menu

in a terminal type in
Code:

gnugo
the gnugo terminal
-- screenshot--
http://www.imagebam.com/image/613d7294862519
i would install a gui
i like qgo
-- screenshot--
http://www.imagebam.com/image/057ecf94862545

antriksh 08-27-2010 05:04 AM

when we do yum install vlc then first it download packages and then install it...please tell me where it download these packages in redhat???

Neyzan 09-15-2010 11:42 AM

Linux Mint Gnome (which I also use) is Ubuntu based, so it's highly unlikely (if not impossible) that they are incompatible. Have you tried the command killall gnome-panel? That did the trick for me when some programs didn't showed up in the menu...


All times are GMT -5. The time now is 11:18 PM.