Trouble installing VMware tools on Centos 7 minimum install
So I'm on the last step of this article to run vmware-install.pl to start installation of my VMware tools and I'm getting this error.
[root@LinuxTest01 vmware-tools-distrib]# ./vmware-install.pl -bash: ./vmware-install.pl: /usr/bin/perl: bad interpreter: No such file or directory. I do a ls in the directory and it shows the installer in there. [root@LinuxTest01 vmware-tools-distrib]# ls bin doc etc FILES INSTALL installer lib vmware-install.pl The only step I didnt do in this article is the prereq. first step because Yum is always trying to connect to the internet and my Centos 7 box is on a classified network with no internet access. http://www.ehowstuff.com/how-to-inst...hel-7centos-7/ |
Code:
/usr/bin/perl: bad interpreter: No such file or directory You'll probably need to install a lot of build tools as well, so you'll have to figure out a way to get past that internet access issue. There's a reason you need to follow the prereq step. Not having access to the internet doesn't mean you don't have to do it. |
I believe you're seeing this error as you did not, as stated, install the prerequisites as described in the linked howto.
A minimal install of CENTOS 7 is not going to include perl, for example. You also would need at least the other items listed on that howto before you would be able to install VMWare tools. You could try mounting the installation media again and, depending on whether it's the full installation DVD or not, might be able to install the packages from there. That's probably your best option if you can't access a network at all. Good luck! strick |
I guess you could look at the perl script and try to do those steps one at a time.
|
-bash: ./vmware-install.pl: /usr/bin/perl: bad interpreter: No such file or directory.
There are 118 RPM's on the Centos 7 ISO. How do I know which one of the perl rpm's I load in order for the VMware tools instaler to work? Also I ran the rpm -Uvh *.rpm which ran all the rpm's anyways. Also Net-Tools are already installed.
|
You're using the minimal ISO aren't you? That only contains the bare minimum set of packages to keep the ISO as small as possible. Chances are all (or at least the vast majority) of those RPMs on the ISO were already installed as part of the OS installation anyway.
You need to download the Everything ISO if you want to create a local yum repository, and you do NOT want to just do an "rpm -Uvh *.rpm" on that! I didn't realize the "CD" you were installing all of the RPMs from on your previous thread was the CentOS minimal ISO...that's rather pointless, I figured it was a custom set of RPMs you needed to install on this machine that you had stored on a CD for some odd reason. Download the Everything ISO and then follow one of the many online guides to turn it into a local yum repository, then use yum to install the necessary packages as you would normally. |
/usr/bin/perl: bad interpreter: No such file or directory
I need to use the minimum ISO for the applications I'm running. Also like I said I installed 218 perl RPM's on my Centos 7 VM and I also see Yum RPM's installed from the package as well so I don't know why the ./vmware-install.pl isn't working.
|
Quote:
Quote:
Quote:
|
Read ./vmware-install.pl with a text app or output to screen.
More ./vmware-install.pl |
It makes perfect sense. I don't need all the overhead from the complete install. The RPM's I downloaded and put on the Cenots 7 VM are needed for the applications I am running.
|
I'm not talking about installing everything, I'm talking about downloading the everything ISO on your host system to use as a local yum repository so you have access to the packages you need when you need them, such as perl, which was apparently NOT installed by the minimal ISO, NOT included in the minimal ISO rpms, and was NOT installed when you ran your rpm command, as indicated by your "perl: command not found" error.
Using the minimal ISO as a yum repository is pointless as it doesn't include anything that wasn't already installed as part of the original OS installation. That's what the "minimal" means. And this is what I was saying didn't make any sense: Quote:
|
All times are GMT -5. The time now is 05:33 AM. |