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 compile virt-manager on CentOS, Fedora or RHEL

Question: I would like to install the latest virt-manager which is available from its official website. How can I compile and install virt-manager from the source on [CentOS, Fedora or RHEL]? virt-manager is a popular GUI-frontend for libvirt, allowing users to create and manage guest virtual machines on libvirt-supported hypervisors such as QEMU/KVM or Xen. […]
Continue reading…

 

How to compile ixgbe driver on CentOS, RHEL or Fedora

Question: I want to build and install the latest ixgbe 10G NIC driver. How can I compile ixgbe driver on CentOS, Fedora or RHEL? To use Intel’s PCI Express 10G NICs (e.g., 82598, 82599, x540) on your Linux system, you need to install ixgbe driver. While modern Linux distributions come with ixgbe driver pre-installed as […]
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…

 

How to disable PackageKit on CentOS, Fedora or RHEL

Question: When I tried to install a package with yum command on [CentOS, Fedora or RHEL], I got the error saying that “Another app is currently holding the yum lock; waiting for it to exit… The other application is: PackageKit”. PackageKit seems starting automatically in the background, interfering with yum command. How can I disable […]
Continue reading…

 

How to compile FFmpeg on CentOS, Fedora or RHEL

Question: How can I compile and build FFmpeg on CentOS, Fedora or RHEL? If you want to use FFmpeg on RPM-based Linux, you can install pre-built FFmpeg package by using yum package manager after enabling additional third-party repositories. However, the version of FFmpeg included in such repositories is typically outdated. If you want to try […]
Continue reading…

 

How to find Ubuntu version and codename in a shell script

Question: I am writing a shell script where I need to obtain the release version and release name (or codename) of Ubuntu system. How can I get Ubuntu version/release name inside a shell script? There are many cases where you need to run some batch processing jobs which can vary across different Ubuntu releases (e.g., […]
Continue reading…