
The easiest way to show all installed packages on CentOS is via rpm command. If you are running CentOS or RHEL system, there are a few ways to get a list of all installed RPM packages, either from all available repositories or from a specific repository. In other times, you may just want to know what packages you installed from a specific third-party repository. Also when you are trying to migrate your old Linux system to to a freshly installed newer OS release, you need to keep track of previously installed package list. When you want to create a new server which has exactly the same set up as any existing server X, you need to find out what packages have been installed on server X. Is there a way to get a full list of all RPM packages that I installed since I set up my initial CentOS system?


Question: I want to find out what packages are installed on my CentOS box, so that I can replicate all the installations on another computer.
