LinuxQuestions.org
Help answer threads with 0 replies.
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, 12:29 PM   #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, 01:54 PM   #2
okcomputer44
Member
 
Registered: Jun 2008
Location: /home/laz
Distribution: CentOS/Debian
Posts: 244

Rep: Reputation: 51
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, 02: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, 02: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:	16
Size:	38.8 KB
ID:	10900  

Last edited by EODSteven; 10-07-2012 at 02:32 PM. Reason: additional info
 
Old 10-07-2012, 03: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, 03: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 03:22 PM.
 
Old 10-07-2012, 05:01 PM   #7
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,295

Rep: Reputation: 1961Reputation: 1961Reputation: 1961Reputation: 1961Reputation: 1961Reputation: 1961Reputation: 1961Reputation: 1961Reputation: 1961Reputation: 1961Reputation: 1961
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, 07:07 PM   #8
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,247

Rep: Reputation: 2327Reputation: 2327Reputation: 2327Reputation: 2327Reputation: 2327Reputation: 2327Reputation: 2327Reputation: 2327Reputation: 2327Reputation: 2327Reputation: 2327
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, 10:44 PM   #9
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 11,542
Blog Entries: 12

Rep: Reputation: 2855Reputation: 2855Reputation: 2855Reputation: 2855Reputation: 2855Reputation: 2855Reputation: 2855Reputation: 2855Reputation: 2855Reputation: 2855Reputation: 2855
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 04:05 PM
gaim installation error: C compiler cannot create executables darkleaf Linux - Software 14 08-21-2004 12:58 AM
Executables q64 Linux - Newbie 3 03-29-2004 04:31 AM
Help on executables.... Kit Linux - General 9 12-06-2002 12:24 PM
Where are the executables? rooman Linux - Software 6 06-05-2002 03:31 PM


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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration