Error installing Anaconda through dnf

Hi, I am using Fedora 34 on Gnome. I installed anaconda-34.24.9-1.fc34.x86_64 through dnf, but if I try to run it I am met with the following message.

$ sudo anaconda
Starting installer, one moment...
anaconda 34.24.9-1.fc34 for anaconda bluesky (pre-release) started.
 * installation log files are stored in /tmp during the installation
 * shell is available on TTY2 and in second TMUX pane (ctrl+b, then press 2)
 * when reporting a bug add logs from /tmp as separate text/plain attachments
Traceback (most recent call last):
  File "/usr/sbin/anaconda", line 425, in <module>
    context.payload_type = anaconda.payload.type
  File "/usr/lib64/python3.9/site-packages/pyanaconda/", line 102, in payload
    self._payload = klass(self.ksdata)
  File "/usr/lib64/python3.9/site-packages/pyanaconda/payload/dnf/", line 113, in __init__
  File "/usr/lib64/python3.9/site-packages/pyanaconda/modules/payloads/payload/dnf/", line 33, in configure_dnf_logging
  File "/usr/lib64/python3.9/site-packages/libdnf/", line 553, in addHandler
    return _repo.LibrepoLog_addHandler(filePath, debug)
libdnf._error.Error: Cannot open /tmp/dnf.librepo.log: Permission denied

Right before the traceback is printed, the monitor and Bluetooth are turned off for a couple of seconds and I get sent back to my login screen on Gnome. Would you be able to help me troubleshoot this? It looks like a permission issue but I can’t quite understand what to do next.

Why are you trying to run the installer after you’ve already installed?


I am just trying to run the program, not the installer

anaconda IS the installer.
Maybe “man anaconda” can give you some options. It is acting like it needs arguments supplied.

This may be of help.


Are you maybe trying to install something else that is also called “anaconda”?

Perhaps, this:

If so, as others have pointed out, the anaconda you installed is this one:

Which may not be what you were expecting.


That was it, thank you. Did not realise it was not on the repos

1 Like

That package should really be renamed to resolve this disambiguity; maybe something like anaconda-os-installer.

I know Fedora’s Anaconda is older, but unfortunately the Anaconda Python distribution is much more widely used (not to mention it is cross-platform).

1 Like

The Anaconda distribution is not 100% free & open source, so it would never be packaged in Fedora.

If you want miniconda though, that is available as dnf install conda.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.