BASH:./ Bad interpreter: no file or directory

Source: Internet
Author: User
Tags valid install perl
----------------Installing Vmwere Tools------------------------
BASH:./ Interpreter: No file or directory

Yum Install Perl gcc kernel-devel

Yum Upgrade Kernel Kernel-devel

If it appears

Searching for a valid kernel header path ...

The path "is not valid.

This is because the Kernel-devel version and the corresponding kernel version is inconsistent, you can use the uname-r to look at the kernel version, and then Rpm-q Kernel-devel to look at the Kernel-devel version, There may be kernel-devel not found errors, here need to install themselves, you can execute sudo yum install kernel-devel, this time will install the latest kernel-devel version, reboot, if the problem again, Then you can execute the sudo yum upgrade kernel kernel-devel, and update the kernel and kernel-devel to the same version, so there should be no problem. The problem hints for GCC and Perl are relatively straightforward.

It is recommended that you install GCC and perl before installing and execute the following command: Yum installs Perl gcc kernel-devel.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.