" " is not valid path to the gcc binary

【转载自https://dojo25.blogspot.hk/2016/10/i-downloaded-new-kali-rolling-recently.html】


找了好些方法都没成功,就这篇博客成功了。做个笔记

“” is not valid path to the gcc binary (installing vmware tools on Kali Rolling)


i downloaded the new kali rolling recently and decided to fire it up on a VM today.
however i encouter an error during the vmware tools installation:

Searching for GCC...
the path "/usr/bin/gcc" is not valid path to the gcc binary.
Would you like to change it? [yes]


therefore i issue "  where gcc " at the terminal to find the gcc path

even i type in the correct gcc path, the problem remains.

but eventually i had it fix. here's the solution:

first, i updated the repositories sources.list  which can be found at
http://docs.kali.org/general-use/kali-linux-sources-list-repositories


after i update my sources.list, i enter the following on the terminal

apt-get update && apt-get dist-upgrade

after the updates type

apt-get install open-vm-tools-desktop fuse

then

reboot


-

additional info:

According to Kali's Website " VMware recommends using the distribution-specific
open-vm-tools instead of the VMware Tools package for guest machines " http://kb.vmware.com/kb/2073803

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值