Speed Up DNF Package Manager
You can increase the download speed for installing packages using DNF by updating the maximum number of simultaneous package downloads.
Start by editing the /etc/dnf/dnf.conf
file:
$ sudo nano /etc/dnf/dnf.conf
Add the following line to enable DNF parallel downloads:
max_parallel_downloads=10
Another option is to select the fastest mirror from the Fedora public mirrors by adding the following line:
fastestmirror=True
Tags: cli, dnf, fedora, rhel, package-managers, motd
How to Use DNF History
If you are using a Red Hat/Fedora-based distro, here are some tips on
how to use the dnf
tool to query your install history:
Retrieve a list of manually installed packages:
$ dnf history userinstalled
Retrieve a list of all transactions:
$ dnf history list all
List the changes in a particular transaction:
$ history list <num>
Undo/rollback a transaction:
$ dnf history undo <num>