For users of updated kali linux such as kali linux 2020.1 to kali linux 2020.3 or the latest, they must have experienced difficulties when installing vmware. This is because vmware itself requires gcc (Gnu Compiler Collection) while gcc 5 to gcc 7 in kali linux 2020 is no longer used, for details see the following link:
Because of this, vmware when installed will bring up the sentence vmware gcc not found, to configure vmware so that it can run without having to bother looking for the gcc installation according to the veris can be done in the following way:
1. Install VMWARE
sudo apt install vmware
2. Configuring modules on vmware
cd /usr/lib/vmware/modules/source
tar xf vmmon.tar
tar xf vmnet.tar
cd vmmon-only
make
cd ../vmnet-only
make
cd ..
mkdir /lib/modules/`uname -r`/misc
cp vmmon.o /lib/modules/`uname -r`/misc/vmmon.ko
cp vmnet.o /lib/modules/`uname -r`/misc/vmnet.ko
depmod -a
/etc/init.d/vmware restart
If the above method does not work, you can replace the repository by using the repository below, by typing sudo nano /etc/apt/sources.list:
deb http://http.kali.org/kali kali-rolling main non-free contrib
deb-src http://http.kali.org/kali kali-rolling main non-free contrib
deb http://http.kali.org/kali kali-dev main contrib non-free
deb http://http.kali.org/kali kali-dev main/debian-installer
deb-src http://http.kali.org/kali kali-dev main contrib non-free
deb http://old.kali.org/kali sana main non-free contrib
deb-src http://old.kali.org/kali sana main non-free contrib
deb http://ftp.debian.org/debian/ buster main contrib
0 Comments