-
Senior Member
registered user
Re: Where is the location of the programs that are installed

Originally Posted by
david90schr
But i doesnt know this: IF YOU INSTALL A PROGRAM UNDER LINUX/UNIX WHERE IS THE FOLDER WHERE YOU HAVE INSTALLED IT. AND HOW CAN YOU START THE PROGRAM IF YOU DOESNT KNOW WHERE THE BUTTON IS TO ACTIVATE THE PROGRAM. PLEASE TELL ME ITS A NOOB QUESTION BUT I NEED TO KNOW IT.
Just like Windows, a program can be installed anywhere... With Debian packages things are pretty organized though. To find out where a program lives, one option is to use 'locate'. It's pretty quick as it consults a database. To keep the database up to date, use 'locatedb' (as root).
If you've got two versions of a progaram, which version is going to run? If you don't explicitly say which version you want to run, Linux is going to run the first version that it finds, the first one in its path. A path is a list of directories to look in for an executable of the name you give. To find out what you path is, type 'export $PATH'. (I cannot remember off hand how to change you path).
How do you run a specific version of a program, or one that is not in your path? By saying exactly where the program is: e.g. to run special_program1 which is in /usr/bin, you'd type '/usr/bin/special_program1'. If 'special_program1' is in the current directory, you;'d type './special_program1'. (To find out your current directory, 'pwd'.).
Now to find out more, to understand better, to help you to 'do', I recommend the following two guides in addition to this forum and other resources (don't forget http://www.tldp.org/guides.html):
1. 'Introduction to Linux - A Hands on Guide' at http://tille.soti.org/training/tldp/
2. 'LINUX NEWBIE ADMINISTRATOR GUIDE' at http://linux-newbie.sunsite.dk/
HTH
Similar Threads
-
By sgtdawg in forum Customising & Remastering
Replies: 2
Last Post: 11-02-2004, 06:42 AM
-
By dkennedy in forum Customising & Remastering
Replies: 4
Last Post: 10-28-2004, 02:43 PM
-
By activeco in forum Networking
Replies: 4
Last Post: 12-11-2003, 05:16 PM
-
By prawira in forum Customising & Remastering
Replies: 2
Last Post: 10-28-2003, 09:40 AM
-
By marcdevon in forum General Support
Replies: 2
Last Post: 03-17-2003, 10:12 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

HP PROLIANT MICROSERVER GEN8 E3-1220LV2 @ 2.30GHz, 8GB RAM, NO HDD/OS
$164.97

Dual Xeon E5-2698 Server-Supermicro X10DRL-i - Noctua SilverStone RM41-506
$399.99

Supermicro 1U Server 514-4 (X11SSZ-QF) | i7-7700 - 16GB DDR4 Ram - Rackmountable
$249.00

Super Micro 113M-3 Server Intel Xeon 5Tb HDD used great condition
$70.00

HPE ProLiant MicroServer Gen 10 - Opteron x3421 - 16GB DDR4 - 120GB SATA SSD
$350.00

Supermicro 5019D-4C-FN8TP Xeon D-2123IT (4C/8T) 64GB DDR4 10GbE 480GB 1U Server
$699.00

HPE ProLiant MicroServer Gen10 Plus Xeon E-2224 3.4GHz 16GB RAM 2TB HDD NO OS
$949.99

SuperMicro 4U CSE 847 36 Bay LFF Barebone 2x 1280W w/ 2x Bays 2.5 Rear w/Trays
$499.99

Supermicro 721-2 Mini Tower Black Computer Server NO Hdd
$375.00

BOXX B157552 SuperMicro X10DRT-L 2x Intel 2630V4 NO RAM & SSD Server
$160.99