LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-17-2017, 05:38 PM   #1
Josh2017
LQ Newbie
 
Registered: Jan 2017
Posts: 3

Rep: Reputation: Disabled
How to check if a piece of SW installed from source already?


Hi all, I am new to this forum and Linux. Recently I am working on a project requires installing a piece of SW. I am told this SW is installed on a Debian 8 mechanic already from the source. How can I verify that?
 
Old 02-17-2017, 05:48 PM   #2
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2137Reputation: 2137Reputation: 2137Reputation: 2137Reputation: 2137Reputation: 2137Reputation: 2137Reputation: 2137Reputation: 2137Reputation: 2137Reputation: 2137
Try to run it?

What is the software?
 
Old 02-17-2017, 06:01 PM   #3
latitudedebian
LQ Newbie
 
Registered: Feb 2017
Posts: 6

Rep: Reputation: Disabled
Also a newbie so not sure if this is the best solution but I always do $ softwarename --version

So for e.g. apt-get that would be:

Code:
user@debian:~$ apt-get --version
apt 1.0.9.8.4 for amd64 compiled on Dec 11 2016 09:48:19
Supported modules:
*Ver: Standard .deb
 Pkg:  Debian APT solver interface (Priority -1000)
*Pkg:  Debian dpkg interface (Priority 30)
 S.L: 'deb' Standard Debian binary tree
 S.L: 'deb-src' Standard Debian source tree
 Idx: EDSP scenario file
 Idx: Debian Source Index
 Idx: Debian Package Index
 Idx: Debian Translation Index
 Idx: Debian dpkg status file
If you don't get an 'answer' it's probably not installed.
 
1 members found this post helpful.
Old 02-17-2017, 06:14 PM   #4
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Yawnstown, Ohio
Distribution: Mojave
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by Josh2017 View Post
Hi all, I am new to this forum and Linux. Recently I am working on a project requires installing a piece of SW. I am told this SW is installed on a Debian 8 mechanic already from the source. How can I verify that?
So, you didn't install it?
Did this "mechanic"?
Is this a translation issue?

What is the Software (don't use sms-speak here, Please)

Welcome to LQ Josh!
 
Old 02-17-2017, 06:15 PM   #5
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,018
Blog Entries: 5

Rep: Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872
Quote:
Originally Posted by Habitual View Post
So, you didn't install it?
Did this "mechanic"?
Is this a translation issue?

What is the Software (don't use sms-speak here, Please)

Welcome to LQ Josh!
mechanic = machine (probably)
 
Old 02-18-2017, 10:04 AM   #6
Josh2017
LQ Newbie
 
Registered: Jan 2017
Posts: 3

Original Poster
Rep: Reputation: Disabled
How to check if a piece of SW installed from source already?

sorry for the typo. A Debian 8 machine. The software is aircrack-ng suite.
 
Old 02-18-2017, 12:41 PM   #7
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,018
Blog Entries: 5

Rep: Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872
Quote:
Originally Posted by Josh2017 View Post
sorry for the typo. A Debian 8 machine. The software is aircrack-ng suite.
If it was manually installed, dpkg may not know of it, so the suggestion that you received of simply trying to run it should be the best bet:

aircrack-ng

on the command line.

If nothing:

whereis aircrack-ng

If nothing, the chances are that it isn't installed.
 
Old 02-18-2017, 02:02 PM   #8
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,000
Blog Entries: 1

Rep: Reputation: 846Reputation: 846Reputation: 846Reputation: 846Reputation: 846Reputation: 846Reputation: 846
$ which PROGNAME

And various ways to check it, strings, file, hexedit, cmp, and md5sum. You don't have to install some programs to use them. But I guess it depends on how you define installed. I build the sources for the cwm window manager, and launch it with .xinitrc from the built location. I don't ever make install. But at that point I'm already not using the package management system, so what's the point of make install. Except to make it available to "other" users. But that's not how my system gets used, so it works for me.
 
Old 02-19-2017, 11:47 PM   #9
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.10, Centos 7.5
Posts: 17,700

Rep: Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494
Assuming this is from src and not from a pkg and assuming it creates a file called aircrack-ng
Code:
find / -name aircrack-ng -type f
NB: this may take a while but it will definitely find the file so named ... wildcards are avail eg
Code:
find / -name 'aircrack*' -type f
although this will obviously take longer...
 
Old 02-20-2017, 08:55 PM   #10
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 15,870
Blog Entries: 27

Rep: Reputation: 4662Reputation: 4662Reputation: 4662Reputation: 4662Reputation: 4662Reputation: 4662Reputation: 4662Reputation: 4662Reputation: 4662Reputation: 4662Reputation: 4662
Code:
whereis [program name]
also an option. It searches only for "the binary, source, and manual page files for a command." See man whereis for more.

I quite like it for finding out whether programs are present.
 
Old 02-21-2017, 10:36 AM   #11
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Yawnstown, Ohio
Distribution: Mojave
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
but find and friends will only give the indication of presence, not necessarily its installation status.

Your post is a little vague, is this "aircrack-ng from source" the sole installation?

Last edited by Habitual; 02-21-2017 at 10:37 AM.
 
Old 02-22-2017, 12:34 AM   #12
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163
Try:

Code:
dpkg -L <name of software>
If dpkg knows about it, it will be confirmed that it's installed.

Aircrack-ng is a complete suite of tools to assess WiFi network security.

https://www.aircrack-ng.org/
 
Old 02-22-2017, 12:38 AM   #13
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163
Quote:
Originally Posted by Josh2017 View Post
sorry for the typo. A Debian 8 machine. The software is aircrack-ng suite.
Is this what you downloaded and installed?

Code:
aircrack-ng-1.2-rc4.tar.gz
?
 
  


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
[SOLVED] Installed ffmpeg from source, want apt to see libraries (libavformat, etc) installed pngaudioguy Linux - Software 2 02-06-2014 05:40 AM
building shell command piece by piece aunquarra Linux - General 7 05-02-2006 07:43 AM
Linux open source is a piece s**t if you don't know where to look. studpenguin Linux - Newbie 21 02-02-2004 01:17 PM
how to check if kernel source is installed ? xprometeus Linux - Software 4 10-09-2003 08:18 PM
XINE on Redhat 8.0 is a piece of cake check it out! danimaldaisy Linux - Software 9 03-14-2003 04:55 AM

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

All times are GMT -5. The time now is 07:11 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration