Skip to content

Fedora: System & Network

Disable IPv6

sudo su -
sysctl -w net.ipv6.conf.all.disable_ipv6=1
sysctl -w net.ipv6.conf.default.disable_ipv6=1

Delete old kernels

Check installed kernels

rpm -q kernel

Delete old kernels (count = number of kernel wanted to left)

dnf install yum-utils
package-cleanup --oldkernels --count=2

Make these changes permanent

Edit /etc/yum.conf or /etc/dnf/dnf.conf and set installonly_limit:

installonly_limit=2