Setup is unable to find the "ifconfig" program on your machine

VMware 安装 Ubuntu,之后安装 VMware Tools ,安装过程中可能遇到如下提示:

1
Setup is unable to find the "ifconfig" program on your machine.  Please make sure it is installed.  Do you want to specify the location of this program by hand? [yes]

输入 yes ,按 Enter 键确认,或直接 按 Enter 键,则会有如下提示:

1
What is the location of the "ifconfig" program on your machine?

Enter 键,会有如下提示:

1
The answer "" is invalid.  It must be the complete name of a binary file.

不能正常安装。

输入 no ,按 Enter 键,则会有如下提示:

1
Unable to continue.

Execution aborted.
`
直接退出安装。

解决办法 :

运行以下命令安装 ifconfig

1
sudo apt install net-tools

然后再次安装 VMware Tools 即可。