Fedora's DNF Is Slowly Being Ported From Python To C

Written by Michael Larabel in Fedora on 24 February 2016 at 01:35 PM EST. 53 Comments
FEDORA
Fedora's DNF package manager that succeeded Yum officially in Fedora 22 is going to go through a phase of being rewritten in C.

While DNF is still new and fresh, an initiative is underway in porting it from Python -- the language Yum was originally written in -- and to turn it into a C code-base.

DNF developer Jan Å ilhan wrote that the DNF code is slowly being rewritten into C and the Hawkey resolver was merged into the libhif library. DNF already interacts with a number of C libraries like Hawkey, librepo, libsolv, and libcomps. Libhif is designed to be a simple package manager built atop Hawkey and Librepo that's LGPLv2+ licensed.

To learn more about Libhif, see the GitHub project. The initial release of libhif with Hawkey is planned for debut in Fedora 25 later this year. For more details on the DNF C conversion process, read this blog post on the DNF project site.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week