I'm already running apt-cacher-ng on my home network for the Ubuntu clients that I have. I want to do the same for my Fedora clients now. From what I heard apt-cacher-ng is able to cache RPM repositories (1, 2) and other non-DEB repositories, so simply configuring a client to use the already running cacher would be preferred over installing a separate proxy for RPMs and the client should automatically detect if it is on the network where the (or at least a compatible) cacher is running.What I have in mind is an equivalent of squid-deb-proxy-client from the Ubuntu repositories. You can read up about how it works in this post by Ubuntu developer Dimitri John Ledkov, the code samples are not up to date though (IPv6 support). Another issue besides that most guides suggest manually editing URLs is that they were written for the old package manager yum which was replaced by DNF. There is also a tool called fedrepos.It would be nice if someone could give me directions how to put the different parts on current Fedora installations together to get a caching solution that comes close to the simplicity of Ubuntu. I searched a bit on the Internet and in the Fedora package repository but was unable the find an obvious solution.
How configure Fedora client with DNF to (automatically) use a local RPM mirror?
fedora;package management;proxy;caching