Skip to content

shaypower/dnf-optimize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

DNF optimization Script

Does what it says on the tin, a script to optimize DNF for speed. wrote after reinstalling fedora countless times..

How to run

curl -sSL https://raw.githubusercontent.com/shaypower/dnf-optimize/main/optimize.sh | sudo bash

Optimizations Made

  • fastestmirror=true
    Chooses the fastest download mirror automatically.

  • max_parallel_downloads=10
    Downloads up to 10 packages at once for faster updates. (you can put this up more if you want)

  • defaultyes=true
    Automatically answers yes to all prompts

  • deltarpm=true
    Downloads only the changed parts of packages to save bandwidth.

  • keepcache=true
    Keeps downloaded packages in the local cache (useful for reuse or offline installs).

  • metadata_timer_sync=10
    Checks for updated repository metadata every 10 minutes.

About

basic bash script to optimize DNF5

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages