Can't install application(s)? (TeamViewer)

Followed these commands to install TeamViewer on the desktop.

sudo dnf -y install wget
wget https://download.teamviewer.com/download/linux/teamviewer.x86_64.rpm
sudo dnf -y install ./teamviewer.x86_64.rpm

It appeared to install, but at the end I was presented with a message stating:

error: changed directories are not supported yet.

And then I can't find the installed application anywhere.
Solution
You can’t use dnf directly. You have two options: install in a distrobox container or layer with rpm-ostree
Was this page helpful?