LinuxQuestions.org
Review your favorite Linux distribution.
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, 04: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, 04:48 PM   #2
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
Try to run it?

What is the software?
 
Old 02-17-2017, 05: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, 05:14 PM   #4
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
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, 05:15 PM   #5
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
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, 09: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, 11:41 AM   #7
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
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, 01:02 PM   #8
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
$ 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, 10:47 PM   #9
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,307

Rep: Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743
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, 07: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: 18,972
Blog Entries: 28

Rep: Reputation: 6066Reputation: 6066Reputation: 6066Reputation: 6066Reputation: 6066Reputation: 6066Reputation: 6066Reputation: 6066Reputation: 6066Reputation: 6066Reputation: 6066
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, 09:36 AM   #11
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
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 09:37 AM.
 
Old 02-21-2017, 11:34 PM   #12
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
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-21-2017, 11:38 PM   #13
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
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 04:40 AM
building shell command piece by piece aunquarra Linux - General 7 05-02-2006 06: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 12:17 PM
how to check if kernel source is installed ? xprometeus Linux - Software 4 10-09-2003 07:18 PM
XINE on Redhat 8.0 is a piece of cake check it out! danimaldaisy Linux - Software 9 03-14-2003 03:55 AM

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

All times are GMT -5. The time now is 06:41 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