Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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 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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.