How to check available security updates

Check available security updates for CentOS 7.

How to manage RPM keyring

Today, I will show you how to manage RPM keyring on the CentOS operating system using a real life example.

How to alter configuration for specific yum repository

Alter configuration for specific yum repository.

How to list packages in specific yum repository

List packages in specific yum repository.

How to disable yum repository

Disable specific yum repository to prevent particular packages from installation or update.

How to use yum without downloading or updating metadata

Use yum without downloading or updating its metadata.

How to downgrade package using yum

Downgrade package using yum.

How to download RPM packages

Download RPM packages from YUM repository using additional yum utilities.

How to create artificial package to circumvent dependency checking

Create simple artificial package to work around missing dependencies,

How to create meta-package

Create simplest possible meta-package to install multiple software packages at once and quickly setup familiar environment.

How to display reverse package dependencies

Display reverse dependencies to inspect which packages depend on given application or library.

How to download in advance the public key used to sign repository signatures

There are those rare situations where you do not know the public key required to verify repository signatures but want to add a repository and a public key used to sign it. Hopefully, there is an easy answer to that question.

How to download public key used to verify GnuPG signature for the repository

Configuring and using additional repositories requires APT public key management to validate the Release file and downloaded packages.

How to display package dependencies

Display dependencies to inspect which packages are required for a given application.

How to enable HTTPS protocol for package managers using libapt-pkg library

Enable HTTPS (Hypertext Transfer Protocol Secure) for package managers using libapt-pkg library.

How to query APT configuration

Query APT configuration to inspect specific options or create universal Debian utilities.

How to use backports repository

Backports repository provides packages for stable system that are recompiled from testing or unstable distribution. It is important to know that these packages are provided as is without any security support guarantee.

How to remove unused dependency packages

Remove package dependencies that are now no longer needed and configure system to perform this task automatically.

How to install missing init system helpers

The init-system-helpers package that provides a helper tools for all init systems is not available in primary Debian Wheezy repositories. You need to use wheezy-backports repository to install it on that operating system.

How to automatically control APT cache

Keeping an eye on a constantly changing APT cache can be quite tedious, so automate this task and free up your time to focus on other projects.

How to clear the APT cache

Clear the APT cache to reclaim disk space used by the downloaded packages.

How to disable the APT cache

Disable APT cache to conserve disk space on a small Debian based embedded system or a custom-built live USB system that can be easily booted.

How to fix the missing HPE's public keys

HPE Software Delivery Repository is cryptographically signed, so you can be sure that provided software packages have not been modified by a third party. However, sometimes you can encounter the The following signatures couldn't be verified because the public key is not available error which can be easily fixed.

How to get name of the source package

There are many applications that share the same source package, so I will show three different ways to print the name of the source package.

How to determine when the last time package index files were updated

Knowing how to determine when the last time package index files were updated can be beneficial when you least expect it. It is not something used every day but can be used to monitor or verify when apt-get update command was executed.

How to upgrade selected packages

It is very easy to upgrade the whole Debian system, but you can also upgrade only selected packages and skip the rest.

How to list available updates using apt

Many years ago I wrote How to display available updates blog post which mainly related to Debian Wheezy. Today I want to extend it by a neat console friendly utility available in Debian Jessie since the milestone apt release thanks to Michael Vogt.

How to use nearest Debian mirror

Today, I will explain how to automatically choose nearest mirror based on geographic and network location using Debian mirrors HTTP redirector to solve the common problem of choosing an appropriate mirror.

How to check package version

Sometimes I need to check the installed package version, compare it with the available version, or verify that the correct version is already installed. I will show you how to quickly perform these checks.

How to manage packages on an off-line Debian system

There are plenty of off-line Debian systems just waiting to update index files, upgrade or install additional packages. This can be easily achieved by using apt-offline utility. I will shortly describe common usage scenario as it is very handy application.

How to tell to which package the specified file belongs to

It is good to know how to tell to which package the specified file belongs to as this knowledge could be very useful during system upgrade or unexpected system failure.

How to backup and restore installed packages

If you ever wondered about how to backup list of installed packages and then restore it on another machine then you need to know that it does not require anything more then three basic utilities – dpkg to import/export list of packages, apt-get to install selected packages and apt-mark to restore extended package states.

Apt-Cacher NG and Debian minimal CD

Generally I prefer to install Debian using minimal CD so Apt-Cacher NG is an integral part of this process as I don’t like to wait during installation process.

How to setup apt caching proxy

I am currently using cellular connection most of the time. Thus, it is obvious that I prefer to reduce the amount of data transferred over the network. Significant portion of it is reduced by the apt caching proxy apt-cacher-ng as I use Debian Linux distribution and VirtualBox on daily basis.

How to display available updates

It is straightforward to display available updates using an application with a graphical user interface, but not so obvious to do it by using shell commands only. I will shed some useful light on the subject so we could both benefit from it.

Debian – How to hold specific package

There are at least couple ways to hold specific package and prevent it from being updated as you can use apt, dpkg, aptitude, dselect, apt preferences, but only the last one is effective in every case.

How to install deb package in Ubuntu?

If you downloaded deb package and wonder how to install it then just look at the snippet posted below.

How to exclude package from update on CentOS

Exclude package from an update on CentOS operating system.

How to get rid of slow CentOS mirrors on update

Get rid of slow CentOS mirrors on update.