sudo: dnf: command not found [duplicate]

I am using Ubuntu 20.04. On Fedora/Red Hat or its derivatives,the installation can be performed using the following command:

sudo dnf install make gcc-c++

However, on Ubuntu it gives me

sudo: dnf: command not found

How can I fix this problem?

10 Reset to default

You Might Also Like