Manjaro AnSo VMwareWorkstation

Manjaro mounting VMwareWorkstation requires two steps:

1 mounted reliance

Install the correct dependencies:

fuse2 - for vmware-vmblock-fuse
gtkmm - for the GUI
linux-headers - for module compilation
ncurses5-compat-libsAUR - needed by the --console installer
libcanberra - for event sounds
pcsclite

Source: https: //wiki.archlinux.org/index.php/VMware

(1)安装 fuse2 gtkmm pcsclite libcanberra linux-headers

sudo pacman -S fuse2 gtkmm  pcsclite libcanberra
警告:fuse2-2.9.9-1 已经为最新 -- 重新安装
警告:gtkmm-1:2.24.5-3 已经为最新 -- 重新安装
警告:pcsclite-1.8.25-1 已经为最新 -- 重新安装
警告:libcanberra-0.30+2+gc0620e4-2 已经为最新 -- 重新安装
正在解析依赖关系...
正在查找软件包冲突...

软件包 (4) fuse2-2.9.9-1  gtkmm-1:2.24.5-3  libcanberra-0.30+2+gc0620e4-2
           pcsclite-1.8.25-1

全部安装大小:  8.95 MiB
净更新大小:  0.00 MiB

:: 进行安装吗? [Y/n] 

(2) Installation linux-headers
will then need to install linux-headers, the installation is determined dependent on the linux kernel version, you can command uname -rcommand to view

(base) [zhou@zhou-pc ~]$ uname -r
4.19.59-1-MANJARO

Kernel version number is 4.19, then you can install linux-headers

sudo pacman -S linux-headers
:: 有 13 个软件包可提供 linux-headers :
:: 软件仓库 core
   1) linux316-headers  2) linux414-headers  3) linux419-headers
   4) linux44-headers  5) linux49-headers  6) linux51-headers
   7) linux52-headers
:: 软件仓库 community
   8) linux419-rt-headers  9) linux50-rt-headers
:: 软件仓库 archlinuxcn
   10) linux-lts316-headers  11) linux-lts414-headers
   12) linux-lts44-headers  13) linux-lts49-headers

输入某个数字 ( 默认=1 ): 3
正在解析依赖关系...
正在查找软件包冲突...

软件包 (1) linux419-headers-4.19.59-1

下载大小:    8.47 MiB
全部安装大小:  62.35 MiB

:: 进行安装吗? [Y/n] 

(3) mounted ncurses5-compat-libs

yay -S --noconfirm --needed ncurses5-compat-libs

2 Installation VMwareWorkSatation

yay -S --noconfirm --needed  vmware-workstation

yay -S vmware-workstation
# 命令二选一即可

3 after the installation is provided

After (1) the installation is complete you need to start the appropriate services

Then, as desired, enable some of the following services:

vmware-networks.service for guest network access
vmware-usbarbitrator.service for connecting USB devices to guest
vmware-hostd.service for sharing virtual machines

Lastly, load the VMware modules:

modprobe -a vmw_vmci vmmon

Source: https: //wiki.archlinux.org/index.php/VMware

(2) for the corresponding service set up boot and start the appropriate service

sudo systemctl enable vmware-networks.service  vmware-usbarbitrator.service vmware-hostd.service
sudo systemctl start  vmware-networks.service  vmware-usbarbitrator.service vmware-hostd.service
Created symlink /etc/systemd/system/multi-user.target.wants/vmware-networks.service → /usr/lib/systemd/system/vmware-networks.service.
Created symlink /etc/systemd/system/multi-user.target.wants/vmware-usbarbitrator.service → /usr/lib/systemd/system/vmware-usbarbitrator.service.
Created symlink /etc/systemd/system/multi-user.target.wants/vmware-hostd.service → /usr/lib/systemd/system/vmware-hostd.service.

(3) check the service status:

sudo systemctl status vmware-networks.service  vmware-usbarbitrator.service vmware-hostd.service
vmware-networks.service - VMware Networks
   Loaded: loaded (/usr/lib/systemd/system/vmware-networks.service; enabled; vendor preset: disabled)
   Active: active (running) since Thu 2019-07-18 16:00:42 CST; 13s ago
  Process: 7710 ExecStartPre=/sbin/modprobe vmnet (code=exited, status=0/SUCCESS)
  Process: 7711 ExecStart=/usr/bin/vmware-networks --start (code=exited, status=0/SUCCESS)
    Tasks: 6 (limit: 4915)
   Memory: 15.0M
   CGroup: /system.slice/vmware-networks.service
           ├─7729 /usr/bin/vmnet-bridge -s 6 -d /var/run/vmnet-bridge-0.pid -n 0
           ├─7738 /usr/bin/vmnet-netifup -s 6 -d /var/run/vmnet-netifup-vmnet1.pid /dev/vmnet1 vmnet1
           ├─7746 /usr/bin/vmnet-dhcpd -s 6 -cf /etc/vmware/vmnet1/dhcpd/dhcpd.conf -lf /etc/vmware/vmnet1/dhcpd>
           ├─7750 /usr/bin/vmnet-natd -s 6 -m /etc/vmware/vmnet8/nat.mac -c /etc/vmware/vmnet8/nat/nat.conf
           ├─7752 /usr/bin/vmnet-netifup -s 6 -d /var/run/vmnet-netifup-vmnet8.pid /dev/vmnet8 vmnet8
           └─7758 /usr/bin/vmnet-dhcpd -s 6 -cf /etc/vmware/vmnet8/dhcpd/dhcpd.conf -lf /etc/vmware/vmnet8/dhcpd>

● vmware-usbarbitrator.service - VMware USB Arbitrator
   Loaded: loaded (/usr/lib/systemd/system/vmware-usbarbitrator.service; enabled; vendor preset: disabled)
   Active: active (running) since Thu 2019-07-18 16:00:36 CST; 19s ago
 Main PID: 7624 (vmware-usbarbit)
    Tasks: 1 (limit: 4915)
   Memory: 1.5M
   CGroup: /system.slice/vmware-usbarbitrator.service
           └─7624 /usr/lib/vmware/bin/vmware-usbarbitrator -f

● vmware-hostd.service - VMware Host Daemon
   Loaded: loaded (/usr/lib/systemd/system/vmware-hostd.service; enabled; vendor preset: disabled)
   Active: active (running) since Thu 2019-07-18 16:00:37 CST; 19s ago
  Process: 7654 ExecStartPre=/usr/bin/mkdir -p /var/run/vmware (code=exited, status=0/SUCCESS)
 Main PID: 7655 (vmware-hostd)
    Tasks: 17 (limit: 4915)
   Memory: 33.3M
   CGroup: /system.slice/vmware-hostd.service
           └─7655 /usr/lib/vmware/bin/vmware-hostd -a /etc/vmware/hostd/config.xml

(4) loading module VMware
Method a:

sudo modprobe -a vmw_vmci vmmon

Method Two:

sudo reboot  # 重启系统

So far, VMwareWorkstation program itself and the environment depend on the installation is complete, you can start the program successfully.

Published 26 original articles · won praise 1 · views 3090

Guess you like

Origin blog.csdn.net/gandongusa/article/details/104220745