Aleš Matěj - Nicola Sella - Jan Kolárik
Aleš Matěj - Nicola Sella - Jan Kolárik
GUI user
CLI user
Software Center
The Upstream: rpm-software-management/dnf5
All (225) | 💻 4 (1.7%) | 👏 19 (8%) | |
---|---|---|---|
9347 | 3944 | 1156 | |
To be in 1% | ~80 | ~40 | ~11 |
To be in 5% | ~500 | ~190 | ~50 |
All (19) | 💻 5 (26%) | 👏 6 (31%) | |
---|---|---|---|
1981 | 336 | 197 | |
To be in 1% | ~20 | ~<4 | ~<2 |
To be in 5% | ~100 | ~16 | ~10 |
All (95) | 💻 3 (3%) | 👏 8 (8%) | |
---|---|---|---|
3140 | 1597 | 1005 | |
To be in 1% | 32 | 18 | 10 |
To be in 5% | 150 | 83 | 50 |
Community opinions
Announcements
Questions from the community
import libdnf5 as dnf
base = dnf.base.Base()
base.setup()
for release in ['35', '36', '37']:
base.get_vars().set('releasever', release)
sack = base.get_repo_sack()
sack.create_repos_from_system_configuration()
sack.update_and_load_enabled_repos(False)
query = dnf.rpm.PackageQuery(base)
query.filter_name(["kernel"])
query.filter_latest_evr()
found = next(iter(query), None)
pkg_name = found.get_nevra() if found else "N/A"
print(f'{release}: {pkg_name}')
import libdnf5 as dnf
base = dnf.base.Base()
base.setup()
sack = base.get_repo_sack()
sack.create_repos_from_system_configuration()
sack.update_and_load_enabled_repos(False)
goal = dnf.base.Goal(base)
goal.add_rpm_install("zlib")
ts = goal.resolve()
downloader = dnf.repo.PackageDownloader()
for pkg in ts.get_transaction_packages():
if dnf.base.transaction.\
transaction_item_action_is_inbound(pkg.get_action()):
downloader.add(pkg.get_package(), "download")
downloader.download(True, True)
print("Download finished.")
What do we need?
How to write it?
Implementation
Adapter
Where are we?
Link | |
---|---|
GitHub Repo | https://github.com/rpm-software-management/dnf5 |
GitHub Issues | https://github.com/rpm-software-management/dnf5/issues |
GitHub discussions | https://github.com/rpm-software-management/dnf5/discussions |
Documentation | https://dnf5.readthedocs.io |
How to try dnf5?>
Where | How |
---|---|
Fedora 36/37 |
dnf copr enable rpmsoftwaremanagement/dnf5-unstable
|
Fedora 38 |
dnf install dnf5
|
Where are we?
Link | |
---|---|
GitHub Repo | https://github.com/rpm-software-management/dnf5 |
GitHub Issues | https://github.com/rpm-software-management/dnf5/issues |
GitHub discussions | https://github.com/rpm-software-management/dnf5/discussions |
Documentation | https://dnf5.readthedocs.io |
When will DNF5 land in Fedora?>
When | What | Where |
---|---|---|
Fedora 36/37 | DNF5 is available in Copr | |
Fedora 38 | DNF5 will replace microdnf | Major Upgrade Of Microdnf |
Fedora 39 | DNF5 will replace DNF | Replace Dnf With Dnf5 |