How to extract files from an RPM package on Linux

Question: I downloaded an RPM file (foo.rpm) from somewhere, and I would like to manually extract files from the RPM package. Is there an easy way to extract files from an RPM package without installing it? An RPM package contains a set of files, typically compiled software binaries, libraries, and their development source files. These […]
Continue reading…

 

How to check the changelog of a package on Linux

Question: When I install or upgrade a package on Linux, I want to find out what changes (e.g., new features or bug fixes) have been made in the package before or after installing it. How can I view the changelog of a (Deb/RPM) package on [Debian, Ubuntu, CentOS, Fedora]? When a program or a library […]
Continue reading…

 

How to list all installed packages on CentOS or RHEL

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. Is there a way to get a full list of all RPM packages that I installed since I set up my initial CentOS system? When you want to create a […]
Continue reading…

 

How to use yum to download a RPM package without installing it

Question: I want to download a RPM package from Red Hat’s standard repositories. Can I use yum command to download a RPM package without installing it? yum is the default package manager for Red Hat based systems, such as CentOS, Fedora or RHEL. Using yum, you can install or update a RPM package while resolving […]
Continue reading…