Ubuntu :: How Does Know Where A Program Is Installed
Jun 29, 2010
I've just been playing with the whereis command. For a program installed with synaptic package manager or comes preinstalled, whereis finds the path to the program. These programs in applications menu or startup applications don't need directory information, somehow linux must have them in some kind of a directory or something. For a program extracted from a .bz file, linux has no idea where the program is and I must give directory information. So how does linux find programs that are installed normally? It can't just search through files, that would seem to be slow. Is there a table or directory where program location is stored?
I wanted to check what version of GRUB I have installed. I went to terminal and typed grub --versionI got this message back: The program 'grub' is currently not installed. You can install it by typing: sudo apt-get install grub
I am running Ubuntu 10.10 alongside windows xp pro. When I turn my pc on I have the option to boot to ubuntu or xp and at the top of the window it says that the version of grub running is "GNU GRUB Version 1.98+20100804-5Ubuntu-3" how I shold go about installing GRUB 2 or just leave it as is.
Toshiba Satellite laptop, Ubuntu 10.04lts I installed qcad earlier today, using Software Center. Qcad didn't show up anywhere in the Applications dropdown menu. When I was running 9.04, it showed up in the Graphics sub-menu, but it's nowhere. Rebooted, nothing. It shows up as installed in the Synaptic Package Manager, but I went ahead and removed and installed it again, rebooting between each operation. (sigh) Still nothing. Now, I'm sure it's in here, but I can't find it. So, I have three questions: 1. How do I start it (or any program) using command line? 2. How do I find it using my Gnome gui, and put it in the applications menu and 3. Generally, is there a guide that will explain what I'm looking at when I open my File System directory?
Is it possible to run a program installed on a remote Ubuntu PC on the local PC? What I'm talking about is different from simply sending the GUI over the network (like X tunelling). I want the program to use the processor of the local machine. Is this possible? (Here's an example. PC 1 has a fast processor. PC2 has gimp installed on it but has a slow processor. Can PC2 make GIMP run on PC1's processor over the network?)
I installed a software on Ubuntu 10.10. The software came as a .sh file. Now I want to uninstall it. However I can't find the remove or uninstall script nor can I find the entry of the software in Synaptic. Is there any uninstall procedure in Ubuntu?
there i have a computer running ubuntu 9.10 set up as a server in my classroom. I have ftp http and an internal mail server set up on it as well as other settings. I really want to make a copy of the system so i have a back up of the os. i have figured out that i can attach a hdd to the computer and copy the os via the command line with an ubuntu live cd but this only works as long as the computer that is receiving the backup is exactly the same or the same computer. I would like to transfer the image to a portable hdd then install the os onto virtual box ( a virtual machine). Is there a way to do this without buying expensive software.dose ubuntu 9.10 have a product similar to Norton ghost.
My Proteus which i installed through wine does not appear in uninstall wine software and it also does not work because you have to execute some license file which i did not figure out how to work it out.
In Ubuntu 10.04 LTS, I have downloaded and installed texlive (2011). They have issued the following warnings:
1. "To the best of our knowledge, the core TEX programs themselves are (and always have been) extremely robust. However, the contributed programs in TEX Live may not reach the same level, despite everyone�s best efforts. As always, you should be careful when running programs on untrusted input; for maximum safety, use a new subdirectory."
What does this exactly mean? The installed program has already created own directories and subdirectories (e.g. /usr/local/texlive/2011/bin/i386-linux). Am I supposed to create a new subdirectory in home to write files and run latex program? Exactly how do I know that the downloaded and installed program is not malicious?
2. "Finally, TEX (and its companion programs) are able to write files when processing documents, a feature that can also be abused in a wide variety of ways. Again, processing unknown documents in a new subdirectory is the safest bet."
what is implied by "a feature that can also be abused in a wide variety of ways".
I am using ubuntu 10.04 and after installing some programs using the package manager I try to open the program and all I get is the title bar and a blank white screen. I searched the forums and found a thread from awhile back saying to create a new user and see if it persists. I tried that and it does the same thing in the new user. One in particular is gnucash. The program sometimes works but the tutorial does the white screen. I also reinstalled the package several times with no luck. Other packages do the same thing like thunderbird.
as much as i am one for saving space and throwing out the trash. now my problem is the fact that I DO NOT WANT THIS program (localepurge) running on my system. i look and did everything i could. note : i am a noobie. when i config the program from the start i told it NO don't delete anything. and now that i have done some reading i do not want it working period. i could not find a way to disable or uninstall localepurge.
Well I have installed Wine for the propose of running easyphp program which can be found at [URL]... I installed it on my windows machine and like it. I want to run it on this machine because I have it hooked up to my tv and I have a wireless mouse and keyboard so I can program or whatever from the bed. Anyways, I need to remove the stuff I installed though this tread. [URL]... The reason for removing the installed stuff is because I believe it is occupying port 80 which I need open for easyphp. How do I uninstall this stuff I installed?
I installed a new program called the "Android Notifier Desktop 0.2.1" and within the program it say to use the systems startup manager to start the program with every system boot.I have no idea where to begin looking for the programs file and main start up link.
I have recently installed a program called IDA-STEP (manually off the web) on my Ubuntu 10.0.4 system. I unzipped the program folder to /usr/local/ida-step, and ran the executable to install (sudo ./ida-step) it. Now, every time I want to run the program I have to type "sudo ./ida-step" from within the folder to begin the program. However I also recently modified a copy of an existing *.desktop config file so that I can launch ida-step from the applications menu (and its in /usr/share/applications).
When I use this latter method to launch ida-step all I get is the programs initial splash screen flashing on and off (everything else in the background remains unaffected) - but the program never launches. I can replicate this behaviour if I launch the program in the terminal by typing "./ida-step" (rather than "sudo ./ida-step" which works fine).
I attempted to install Adobe Photoshop Elements 9 under Wine and it failed. Then I read a thread that offered some tweaks. But now when I try to install all that it offers to do is UNinstall. I thought I could UNinstall and then reinstall, but no...It fails to UNinstall too...just as it failed to install. So I'm wondering how to remove this (the command line way) from the system. I tried "yum remove wine" and when I put wine back, like a phantom, the same problem was there. I tried removing the entire .wine directory in my home folder...same problem.
i have installed packets for running G++ command but when i compiled the .cpp file it was showing iostream.h file not found then i remove .h extentions from #include <iostream.h> and all other include headers as well in cpp source file then this iostream.h not found option gone but still some files are missing and my program is not running
WindowsDude is back on the dark side of the web, the linux world, and he has encountered yet another impassable problem !There's a compiler mpicc, probably installed on the network at some location let's say /network/bin So when I write mpicc main.c I get the "can't find command" (or similar) error. Somehow it's supposed to work anyway. I think I need one of those magic commands to make it work. But the question is; which word will make it all happen? (I thought the DOS days were over!) I guess I could use the full path (provided that that binary really is in that folder), I want to bind that executable at that location to the much shorter mpicc.
I installed nagios program from tar.gz file (from source basically). I didn't use dpkg or apt-get, I used 'configure','make install' and then 'make' scripts. How can I remove this progrma from debian system ?
I installed a game (Shredder 11) using Wine on my Ubuntu system. The installation seemed to go well, including the directx part, but when I want to run the game, I can't find it anywhere. It's not in Applications -> Wine, it's not on Wine's C: drive, and I even tried a search "find / -name shredder", which came up empty. I tried to install it again, but according to the installation program it is already installed! (It asked me if I wanted to modify, repair, etc..).
I want to have 2 diffrent versions of a package installed at same time. This is the command i use "apt-get install myprogram=versionID" Problem is, that when i install the version i wanna add, it REPLACE it with the old I dont wanna replace, i wanna keep them both.
I have matlab installed on a network (I am not the administrator) and we usually start the program by typing "matlab", then choosing one of the version options from the menu i.e. typing "n". So because of this, trying to run matlab programs or commands directly like this... matlab -r ProgramName
...does not work. I just get the menu as usual and everything else is ignored. I assume the admin has overridden the matlab command with their own custom script. So my question is can I start a specific version of the program by specifying the folder that the version is in? I thought it might be something like /opt/matlab/version -r programname
this might look foolish, but I am a bit of a linux noob. Let me know if I should just ask my administrator but I thought there might be something easy I am missing.
Okay, just wanted to be perfectly clear on this point... /static/ software builds don't link to /any/ shared libs, right? I.e., can a static-built C program run on a system without a libc installed?
I need to get names of all installed packages in 2 machines and save them in 2 text files, then I want to compare these 2 files to know the differences between 2 files and from that I could know the differences between 2 machines. Is it possible to do that and what program I could use?