Install vmware on arch linux

First Post:

Last Update:

Word Count:
283

Read Time:
1 min

Install vmware on arch linux

1.安装VM的依赖包

1
2
sudo pacman -S fuse2 gtkmm linux-headers pcsclite libcanberra
yay -S ncurses5-compat-libs #aur里面的依赖包

2.安装VM

yay -S vmware-workstation
3.开启服务,不然创建虚拟机之后运行会显示错误

1
2
3
4
sudo systemctl start vmware-networks.service  vmware-usbarbitrator.service vmware-hostd.service                    #启动虚拟机的网络,USB,共享等服务
sudo systemctl enable vmware-networks.service vmware-usbarbitrator.service vmware-hostd.service #启动虚拟机的网络,USB,共享等服务
sudo modprobe -a vmw_vmci vmmon #加载VMware模块
sudo vmware-networks --start #启动vmware网络

卸载vmware

1
yay -Rns vmware-workstation             #卸载vm

启动之后输入许可证

vmware16输入如下:

vmware workstation16许可证密钥

1
2
3
4
5
6
7
ZF3R0-FHED2-M80TY-8QYGC-NPKYF
YF390-0HF8P-M81RQ-2DXQE-M2UT6
ZF71R-DMX85-08DQY-8YMNC-PPHV8

前面的如果已经失效,用下面的

FA1M0-89YE3-081TQ-AFNX9-NKUC0

启动后可能网络这些不通,如果不通,执行以下命令

1
2
3
4
sudo systemctl start vmware-networks.service  vmware-usbarbitrator.service vmware-hostd.service                    #启动虚拟机的网络,USB,共享等服务
sudo systemctl enable vmware-networks.service vmware-usbarbitrator.service vmware-hostd.service #启动虚拟机的网络,USB,共享等服务
sudo modprobe -a vmw_vmci vmmon #加载VMware模块
sudo vmware-networks --start #启动vmware网络
打赏点小钱
支付宝 | Alipay
微信 | WeChat