Tag Archives: Package Management

How to Determine Which Package Provides a File – DNF

By | 2023-11-04

There will be times when you will be wanting a particular program, header, or library, but aren’t sure which package it is in. Instead of trying to search the repositories for packages by name and description with dnf search, you can use dnf provides to search the repository for packages that provide a particular file.… Read More »

How to Undo a Yum Update

By | 2021-10-16

While uncommon, sometimes a package update can cause problems. Distributions that use yum or dnf track package changes with a transaction log. You can undo a yum update by undoing the relevant transaction(s). In order for this to work, the previous versions of any packages in the transaction must exist in the repositories. The process… Read More »

Using a Proxy With DNF

By | 2020-11-27

Using a proxy with DNF is straightforward. You can edit /etc/dnf/dnf.conf, set the relevant environment variable, or use the shell sub command. DNF supports both HTTP and SOCKS proxies and several authentication methods. Keep in mind a few things when caching package repositories: Package repositories running on HTTPS cannot be cached without something like Squid’s… Read More »