You said you migrated from windows to fedora 41. How was the installation of fedora performed? This topic is tagged as budgie-atomic. The atomic versions of fedora do not use either yum or dnf, but instead use rpm-ostree as a manager. The ‘normal’ versions of fedora such as workstation, kde, etc… Answer from computersavvy on discussion.fedoraproject.org
🌐
Fedora Discussion
discussion.fedoraproject.org › ask fedora
Dnf: command not found - Fedora Discussion
December 12, 2024 - Hi, i just migrated to fedora 41 from windows. the problem is i am used to debian os’s but this one has got me. after installation of Fedora 41 ‘’’ mrvh@fedora:~$ cat /etc/fedora-release Fedora release 41 (Forty One) ‘’’ " mrvh@fedora:~$ sudo dnf update sudo: dnf: command not found " ...
🌐
Fedora Discussion
discussion.fedoraproject.org › ask fedora
How to resolve "dnf: command not found..." problem on fedora 39 - Fedora Discussion
March 11, 2024 - I was trying to remove python environment and I think I accidentally removed the one comes default with fedora and makes dnf command not available. I did(not consecutively but I think those three commands are the relevant ones): sudo rm /bin/python sudo rm /usr/bin/python sudo rm /bin/python3 /bin/python3.12 /bin/python-argcomplete-check-easy-install-script /bin/python-argcomplete-tcsh Then I found that: n349@fedora:~/Downloads$ sudo dnf upgrade Place your right index finger on the fingerpr...
🌐
Reddit
reddit.com › r/fedora › how to resolve “dnf: command not found…” problem on fedora 39
r/Fedora on Reddit: How to resolve “dnf: command not found…” problem on fedora 39
March 11, 2024 -

I was trying to remove python environment and I think I accidentally removed the one comes default with fedora and makes dnf command not available.

I did(not consecutively but I think those three commands are the relevant ones):

\``bash`

sudo rm /bin/python

sudo rm /usr/bin/python

sudo rm /bin/python3 /bin/python3.12 /bin/python-argcomplete-check-easy-install-script /bin/python-argcomplete-tcsh

\```

Then I found that:

\``bash`

n349@fedora:~/Downloads$ sudo dnf upgrade

Place your right index finger on the fingerprint reader

^C[sudo] password for n349:

sudo: dnf: command not found

\```

I tried to reinstall dnf, but it seems that dnf-4.19.0-1 is currently still installed on my machine and i cannot do it again.

\``bash`

~/Downloads$ dnf --version

bash: dnf: command not found...

Install package 'dnf' to provide command 'dnf'? [N/y] y

* Waiting in queue...

* Loading list of packages.... Failed to install packages: dnf-4.19.0-1.fc39.noarch is already installed

\```

\``bash`

n349@fedora:~/Downloads$ ls -l /usr/bin/dnf

lrwxrwxrwx. 1 root root 19 Mar 11 01:37 /usr/bin/dnf -> /usr/bin/dnf-4.19.0

\```

I am using fedora 39 upgraded using dnf from fedora 38 preinstalled on a thinkpad x1 carbon.

\```

n349@fedora:~/Downloads$ uname -a

Linux fedora 6.7.7-200.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Mar 1 16:53:59 UTC 2024 x86_64 GNU/Linux

\```

I searched online and didn't found a solution to this problem and hope someone could help me with it.

🌐
Reddit
reddit.com › r/fedora › sudo: dnf: command not found ?
r/Fedora on Reddit: sudo: dnf: command not found ?
April 12, 2023 -

I can't seem to run videos in Firefox in sites like Reddit (they seem to run OK in Chrome) so I read about enabling RPM Fusion repositories however when I try running the dnf command I get sudo: dnf: command not found:

[tom@fedora ~]$ sudo dnf install \
  https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
[sudo] password for tom: 
sudo: dnf: command not found
[tom@fedora ~]$ 

Why would the videos seem to run in Chrome but not Firefox?

Is dnf something else I have to enable?

edit: Fedora 37 Silverblue.

Many thanks for any hints.

🌐
Fedora Discussion
discussion.fedoraproject.org › ask fedora
"dnf: command not found" on fresh install of F41 - Fedora Discussion
December 29, 2024 - Hi, I’ve just installed F41 Workstation edition and after a few hours I’m unable to use the “sudo dnf” command in the terminal. It was working right after the install so, I think something went wrong with an update. Is there a way to fix that?
🌐
Fedora Discussion
discussion.fedoraproject.org › ask fedora
Dnf missing in workstation 39.1.5 - Fedora Discussion
December 6, 2023 - I have just installed pure fedora workstation 39.1.5 Silverblue and found out some essentials are missing. Maybe I am missing something but I haven’t yet read in docs about this change, if there is such. [chata@fedora ~]$ sudo dnf sudo: dnf: command not found [chata@fedora ~]$ sudo rpm -qa | grep d…
🌐
Reddit
reddit.com › r/fedora › dnf command not found...
r/Fedora on Reddit: dnf command not found...
July 9, 2018 -

noob here, having a go at fedora on VM...i want to install tweak tool for custominization and it said dnf: command not found after i enter sudo dnf install gnome-tweak-tool in the terminal.

KDE Spin or any other favors Spin is desktop environment installed through terminal? how you install it?

🌐
Ask Ubuntu
askubuntu.com › questions › 1285132 › sudo-dnf-command-not-found
software installation - sudo: dnf: command not found - Ask Ubuntu
October 19, 2020 - I want to install QRNAS this program.İt s kind of bioinformatic software.To install this program,it requires these codes:The g++ compiler can be installed using the following command on a Ubuntu, $ sudo apt upgrade $ sudo apt install build-essential On Fedora/Red Hat or its derivatives, the installation can be performed using the following command: $ sudo dnf install make gcc-c++ For openSUSE or its derivatives use the following command: $ zypper install make gcc-c++ For Arch Linux use the following command: $ pacman -S base-devel ... Ubuntu does not use dnf If you read the instructins on that list you just put in comments, you need to use the Ubuntu commands in that guide - sudo apt install build-essential
Find elsewhere
🌐
Reddit
reddit.com › r/fedora › [deleted by user]
[deleted by user] : r/Fedora
May 24, 2024 - My friend helped me with the initial setup and I completely spaced that they like Silverblue, I thought it was just called fedora 💀 Lesson learned lol ... Yeah, in that case you either install packages and applications via Flatpaks or rpm-ostree, which has similar commands to dnf ... Just tried rpm-ostree and it worked, thanks for the help! ... Control+d closes the console you are in, any console. Bash, psql, python, all of them. Control+z moves the console or command you are running to the background, it does not close it!
🌐
iO Flood
ioflood.com › blog › install-dnf-command-linux
DNF Command in Linux: Installation and Usage Guide
January 2, 2024 - The dnf command comes pre-installed on Fedora and similar Linux distributions. You can verify this with, dnf --version. If it’s not pre-installed on your distribution, you can install it using your distribution’s package manager, sudo [yum/apt] install dnf.
🌐
Reddit
reddit.com › r/fedora › fedora 40 sway - dnf not found
r/Fedora on Reddit: Fedora 40 Sway - dnf not found
October 19, 2024 -

Hi,

I try actually fedora on virtual machine. I have install fedora sway, but when I want update with root user, shell say dnf : commend not found

Are there another specific command for update Fedora with sway ?

I have same message with yum

EDIT : Finaly, as it is a new installation, I reinstalled with the same image and it works again.

I did not understand why the first installation did not work.

🌐
Fedora Discussion
discussion.fedoraproject.org › ask fedora
Kinoite: dnf command not working - Fedora Discussion
June 9, 2022 - Sorry for dragging this thread back from the grave, but it fits my problem. I am currently trying out Fedora 36 Kinoite, and tried to use dnf commands but the system did not recognise it. Below is a cutout from Konsole: [eriq@eriq-x220 Downloads]$ dnf upgrade bash: dnf: command not found [eriq@eriq…
🌐
Fedora Discussion
discussion.fedoraproject.org › ask fedora
How can I install from terminal when dnf does not exist in my build? - Fedora Discussion
November 14, 2025 - I just got a new update to Fedora under versionh 43. I then had trouble running videos on Youtube. So I searched for codecs and found a terminal install. So I tried that and got a dnf does not exist. I then tried apt-get and apt does not exist. And I tried yum and that does not exist.
🌐
Reddit
reddit.com › r/fedora › dnf not showing up in software center
r/Fedora on Reddit: DNF not showing up in software center
May 20, 2022 -

I'm not sure if I'm just dumb or what but I'm running Fedora 36 workstation and the gnome software center is only showing me flatpaks. I can install RPM packages just fine from the command line, but dnf/rpm is completely missing from the software center. Any idea why this would be happening?

Edit: Turns out I was kind of dumb, after running dnf update in terminal and rebooting they all showed up. No updates had been applied except for flatpak updates my entire time with Fedora 36 so far since software center didn't see them and I hadn't thought to try it yet.

🌐
Reddit
reddit.com › r/fedora › oops: removed dnf. how to continue from here?
r/Fedora on Reddit: Oops: removed DNF. How to continue from here?
September 2, 2023 -
dnf: command not found

Seems I managed to remove dnf itself while uninstalling the KDE Plasma Workspaces. Any suggestions to bring DNF back?

I had installed Fedora 37 KDE Plasma spin. As I turned the laptop into a home server, DNF SWAPped it to the server edition. Then I thought I might as well remove the DE. The plan was to then upgrade to 38.

$ sudo dnf group remove "KDE Plasma Workspaces" --exclude=sudo
No match for group package "sudo"
Dependencies resolved.
...
Removed:
  dnf-4.16.2-1.fc37.noarch
...
Complete!

Now without DNF it won't be of much use. Is there an easy way to install DNF without DNF?

Or alternatively: is there a way to upgrade to Fedora 38 from the ISO installation media (rather than performing a clean install)?

🌐
Fedora Discussion
discussion.fedoraproject.org › ask fedora
Dnf stopped working - Fedora Discussion
June 8, 2022 - My dnf issue appears different from the ones I have looked at in this forum, hence the new thread. Any DNF command I enter e.g: dnf install dnf up dnf upgrade dnf repoclosure dnf distrosync …returns the same result: Copr repo for llvm-snapshots owned by @fedora-l 5.0 kB/s | 3.0 kB 00:00 Fedora 36 - x86_64 0.0 B/s | 0 B 06:00 Fedora 36 - x86_64 0.0 B/s | 0 B 06:00 Errors during downloading metadata for r...