If you receive the following error while installing a package, the reason is that the compile package used for installation is not installed on the system.
unable to execute 'x86_64-linux-gnu-gcc': No such file or directory
As it says in the error, the gcc package is not installed on the system and cannot be found.
Installation command for Debian/Ubuntu:
sudo apt install gcc build-essential
Installation command for Centos/Redhat:
sudo yum groupinstall 'Development Tools'
sudo yum install build-essential gcc gcc-c++ make
After installation, you can repeat your previous installation.
You have examined the knowledge base in detail, but if you cannot find the information you need,
Create a Support Ticket