Not able to install rpm

rpm -ivh OCTEON-SDK-3.1.2-568.i386.rpm

error: Failed dependencies:

/usr/bin/python is needed by OCTEON-SDK-3.1.2-568.i386

but there is python present

ls /usr/bin/python

/usr/bin/python

First, do not use rpm for managing packages. The rpm is fine for some queries (rpm -q ...), but install/removal is better off with dnf. (The yum is a symlink to dnf.)

One of the reasons to use dnf is that it will automatically install the dependencies, (if possible).


What does dnf say that it will do / can’t do, if you run:

dnf install OCTEON-SDK-3.1.2-568.i386.rpm