LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-07-2012, 11:29 AM   #1
aristocratic
Member
 
Registered: Sep 2011
Location: Texas
Distribution: Open SuSE 12.1, Lucid Puppy
Posts: 90

Rep: Reputation: Disabled
where do executables go after installation?


I just installed Tripwire using the traditional:

# ./configure
# make
# make install

No errors were generated. This may be a dumb question, but where does the executable file go after installation, and how do you execute it? Some tutorials say it gets put in /urs/local/bin, but I don't see it there.
 
Old 10-07-2012, 12:54 PM   #2
okcomputer44
Member
 
Registered: Jun 2008
Location: /home/laz
Distribution: CentOS/Debian
Posts: 246

Rep: Reputation: 53
Hi,

Well it depends on the application how it was configured.
Sometimes it goes into /opt for example my skype, openfire, puppet installations are there.

You can check the readme file in the application's directory or you could check the make file itself and you will see which directory used to install the files.

Laz
 
Old 10-07-2012, 01:05 PM   #3
cfajohnson
LQ Newbie
 
Registered: Aug 2012
Distribution: Linux Mint 17
Posts: 22

Rep: Reputation: Disabled
Quote:
Originally Posted by aristocratic View Post
I just installed Tripwire using the traditional:

# ./configure
# make
# make install

No errors were generated. This may be a dumb question, but where does the executable file go after installation, and how do you execute it? Some tutorials say it gets put in /urs/local/bin, but I don't see it there.

At the command prompt use 'type':
Code:
type tripwire
Or look inside the makefile.

Or, after updating the database, use:

Code:
locate tripwire
 
Old 10-07-2012, 01:24 PM   #4
EODSteven
Member
 
Registered: Oct 2012
Location: Manchester, Tn
Distribution: Ubuntu 14.04, Windows 8, Windows Server 2012. Ubuntu Server 14.04
Posts: 196

Rep: Reputation: 3
Just Installed it...

I just installed it to see what I got...Hope this helps....
usr/etc for me.
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2012-10-07 13:21:00.png
Views:	19
Size:	38.8 KB
ID:	10900  

Last edited by EODSteven; 10-07-2012 at 01:32 PM. Reason: additional info
 
Old 10-07-2012, 02:04 PM   #5
aristocratic
Member
 
Registered: Sep 2011
Location: Texas
Distribution: Open SuSE 12.1, Lucid Puppy
Posts: 90

Original Poster
Rep: Reputation: Disabled
"type tripwire" produces the following
-bash: type: tripwire: not found

locate tripwire produces no output.

Thanks, EODSteven, for downloading tripwire. I checked /urs/sbin and /var/lib and saw not evidence of tripwire. Also, there is no Readme file in the tripwire directory I downloaded. The makefile does specify a directory called /usr/bin/install, but I do not have this directory.
 
Old 10-07-2012, 02:21 PM   #6
cfajohnson
LQ Newbie
 
Registered: Aug 2012
Distribution: Linux Mint 17
Posts: 22

Rep: Reputation: Disabled
Quote:
Originally Posted by aristocratic View Post
"type tripwire" produces the following
-bash: type: tripwire: not found

Did you run it as root? On my system, tripwire is installed in /usr/sbin, but I
used the distro's package manager. From source, I would expect it to be located
in /usr/local/sbin.
Quote:
locate tripwire produces no output.

Did you run 'updatedb' (as root) before using locate?

Did you look in the makefile to see where it was installed?

Last edited by cfajohnson; 10-07-2012 at 02:22 PM.
 
Old 10-07-2012, 04:01 PM   #7
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Usually one of /bin, /usr/bin, or /usr/local/bin

If the binary is in your path, you can use "which" to find it:
Code:
which tripwire
"locate" will only work if you've recently run "updatedb". This usually runs daily, so it probably won't help for recently installed software. Of course you could always run an "updatedb" at any time as root to refresh the database.
 
Old 10-07-2012, 06:07 PM   #8
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,362

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Ultimately you could use 'find' to search the entire system ...
However, as mentioned by cfajohnson, I'd recommend using the pkg mgr instead of manual install IF its available via that route.
 
Old 10-07-2012, 09:44 PM   #9
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,341
Blog Entries: 28

Rep: Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145
I like whereis, as in whereis tripwire, to find applications, because it finds only executables.

The locate command will files with the program name, including libraries and documentation.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Executables - possible to mv? yogaboy Linux - Newbie 4 02-08-2007 03:05 PM
gaim installation error: C compiler cannot create executables darkleaf Linux - Software 14 08-20-2004 11:58 PM
Executables q64 Linux - Newbie 3 03-29-2004 03:31 AM
Help on executables.... Kit Linux - General 9 12-06-2002 11:24 AM
Where are the executables? rooman Linux - Software 6 06-05-2002 02:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration