LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-19-2018, 06:06 PM   #1
catiewong
Member
 
Registered: Aug 2018
Posts: 190

Rep: Reputation: Disabled
How to know what have installed on my centos


I would like to list what application are installed on my centos 7 system , I know rpm -qa could list the application have installed by yum , rpm , but I know some packages are installed by tarball compile , make etc.

Would advise what is the method to know all package have installed by all different way ?
 
Old 09-19-2018, 06:44 PM   #2
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,627

Rep: Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695
The Standard system tools build and maintain a database of the installed software. As long as you make good use of them you can query them for all current installed packages. If you have VIOLATED that standard, bypassed the standard tools, then those packages will not be recorded and there will be no easy way to detect or list them UNLESS YOU KEEP YOUR OWN INSTALL DATABASE!


If you have not taken care to keep proper records, or use the proper tools, then you will have to manually seek and pray you miss nothing.

As a SYSADM: I kept a continuity document (big book) that documented every major hardware change, every software install and update, and major or important setting or configuration changes. That gets painful quickly if you have more than a dozen or so servers, and just silly when you have hundreds. Better and easier in the long run to maintain automated databases and use the standard tools.
 
Old 09-19-2018, 07:06 PM   #3
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by catiewong View Post
I would like to list what application are installed on my centos 7 system , I know rpm -qa could list the application have installed by yum , rpm , but I know some packages are installed by tarball compile , make etc.

Would advise what is the method to know all package have installed by all different way ?
The only traces that tar, make, gcc etc leave behind are the files that they create, plus potentially people's shell history. Other than that there is no record of what these tools did. Thus, all you can do is guess.

Most RPM packages include executable files. List all files of all RPM packages. Search your filesystem for executables and compare them with that list. This should give you a starting point.
 
  


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
What version of centos have i installed cajunchief Linux - Newbie 10 05-05-2014 01:06 PM
How to get netatalk installed on CentOS 5.1? spaceageliving Red Hat 7 09-28-2010 04:22 PM
need to dual boot centos 5.1 with xp but centos is already installed. extendedping Linux - Software 4 05-13-2008 08:40 PM
installed centos 5 sivaraman Linux - Newbie 1 03-03-2008 02:26 AM
Samba installed on centos or not? Heba Ezzat Red Hat 8 02-12-2007 08:53 AM

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

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