LinuxQuestions.org
Visit Jeremy's Blog.
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
Senior Member
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, Vsido, tinycore, Q4OS
Posts: 3,462

Rep: Reputation: 1510Reputation: 1510Reputation: 1510Reputation: 1510Reputation: 1510Reputation: 1510Reputation: 1510Reputation: 1510Reputation: 1510Reputation: 1510Reputation: 1510
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 Guru
 
Registered: Nov 2013
Location: Tokyo
Distribution: A few
Posts: 5,514

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


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
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 05:09 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