LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Default place? (https://www.linuxquestions.org/questions/linux-newbie-8/default-place-159461/)

Totoro 03-18-2004 12:30 PM

Default place?
 
Hmm... Im really lost with my Linux time to time and now is the time, AGAIN :P

I mean, Gee...

When im installing programs, right after:
./configure
make install

Im having difficultien FINDING the program, I mean what's the default place that Mandrake Linux installs progs? Because I would like to make shortcuts to my desktop from em. And I can't seem to find em myself.

tvn 03-18-2004 12:33 PM

usually ./configure will install it in /usr/local --- if you want to specify where to install do , use ./configure --prefix=/your_preferred_place

Peacedog 03-18-2004 12:34 PM

most of the time you can just create a shortcut on the desktop and in the run command entry type the program name.
good luck.

rberry88 03-18-2004 12:34 PM

In a terminal you can type either:

whereis <programname>

or

locate <programname>

or even

find <programname>

One of these should show you the directories that contain that program name, if you are looking for the executable then, most likely, it will be in /usr/local/bin or /usr/share/bin.

rberry88

Totoro 03-18-2004 12:37 PM

Thanks again.

jschiwal 03-18-2004 10:40 PM

whereis and locate will work after a cron job updates the database. You could use the find command.
find /usr -cmin -10
will find all new files under the /usr directory
created in the last 10 minutes.

You could also read the Makefile. When you type in the 'make install' step, it will usually execute a copy command which is echoed on stderr. So you could redirect the
output.


All times are GMT -5. The time now is 10:22 PM.