Manjaro Difference between revisions of "VMware"

Difference between revisions of "VMware"

From Manjaro
imported>Peter li
(Rewrite using command formatting - essentially a copy of the forum guide)
Line 1: Line 1:
__TOC__
__TOC__


== VMware Workstation on Manjaro ==
=== '''DISCLAIMER''' ===
{{Tip|'''Read the [https://kb.vmware.com/s/article/80807 VMware Workstation 16 supported OS] article'''.
<p>VMware is a commercially developed application with a limited list of supported operating systems.</p>
<p>This guide is a courtesy to the forum '''don't expect any support''' on VMware related issues.</p>}}


= Installing VMWare Workstation on Manjaro =
As you can see from above reference - Archlinux and derivatives are unsupported platforms for running VMware products and as such it is unsupported on Manjaro.  
=== '''IMPORTANT''' ===
{{Tip|'''Read the [https://kb.vmware.com/s/article/2129859 VMware support] article'''.
<p>Running VMware on Manjaro host is unsupported and may cease function after updates.</p>}}


== Install vmware-workstation ==
So even when it is possible to install and run VMware on Manjaro - **do not expect support** on configuration of virtual machines or system issues arising from your VMware installation.  You must have the required level of troubleshooting skills to solve these when they arise - and they will.


The AUR package '''vmware-workstation''' will install VMWare Workstation and the dkms modules needed to run it.
* If you need help configuring vmware virtual machines - your should look in the VMware documentation.  
* If you need help troubleshooting installation issues - use the comment section for the AUR PKGBUILD


It can be installed with:
== How to use the AUR PKGBUILD ==
  pamac build vmware-workstation


After installing, either reboot, or load the required modules
There is a lot of AUR helpers and they all mimic what you should do manually - the Arch way is usually the best way.
  sudo modprobe -a vmw_vmci vmmon


=== Important kernel precaution ===


== Start and enable services ==
The AUR PKGBUILD is created for Archlinux and therefore the kernel headers dependency must be solved manually on Manjaro. Archlinux only have two kernel versions - linux and linux-lts.
 
Archlinux kernels follow the release schedule on kernel.org and on Manjaro you will need to use the same kernel versions which - at the time of writing in March 2021 - is
 
* '''Linux 5.10.x (LTS)'''
* '''Linux 5.11.x (mainline)'''
 
Using other kernels - like 5.4LTS - will most likely fail.
 
=== Building steps ===
1. Update your system and install the necessary build tools
{{UserCmd|command=sudo pacman -Syu git base-devel --needed}}
2. Then check your kernel version(s) - example - remember to use the same version as Arch
{{UserCmd|command=mhwd-kernel -li}}
3. Then install the headers for your kernel(s) and dkms. Substitute ''$KERNELXYY'' with your currently running kernel
{{UserCmd|command=sudo pacman -Syu $KERNELXYY-headers dkms}}
4. Clone the PKGBUILKD script
{{UserCmd|command=git clone <nowiki> https://aur.archlinux.org/vmware-workstation.git</nowiki> ~/vmware-workstation}}
5. Familiarize yourself with the content - it is all text files and you should read them and verify what they are doing.
{{UserCmd|command=ls ~/vmware-workstation}}
6. When you are satisfied - cd into the folder
{{UserCmd|command=cd ~/vmware-workstation}}
7. Run makepkg to install dependencies, build and install the package.
{{UserCmd|command=makepkg -is}}
The installer will write messages in the terminal on what to do next - follow the directions to load the kernel modules and enable vmware network service and usb service as needed.
{{UserCmd|command=sudo modprobe -a vmw_vmci vmmon}}
 
=== Optional services ===


There are three services that can be optionally be enabled:
There are three services that can be optionally be enabled:
Line 25: Line 54:
* vmware-hostd.service: Enables sharing of VMs on the network
* vmware-hostd.service: Enables sharing of VMs on the network


To start and enable these services use:
To start and enable vmware network
  sudo systemctl enable --now vmware-networks.service
{{UserCmd|command=sudo systemctl enable --now vmware-networks.service}}
  sudo systemctl enable --now vmware-usbarbitrator.service
To start and enable usb passthrough
  sudo systemctl enable --now vmware-hostd.service
{{UserCmd|command=sudo systemctl enable --now vmware-usbarbitrator.service}}
To start and enable the sharing of a virtual machine
{{UserCmd|command=sudo systemctl enable --now vmware-hostd.service}}
 


= Installing Manjaro under VMWare =
== Installing Manjaro under VMWare ==


There are no special requirements to installing Manjaro on VMWare.  '''open-vmware-tools''' is pre-installed.  It should "just work"
There are no special requirements to installing Manjaro on VMWare.  '''open-vmware-tools''' is pre-installed.  It should "just work"
Line 40: Line 72:
vmware-user-suid-wrapper depends on gtkmm, but it's not a required dependency of the package. See: https://bugs.archlinux.org/task/43159
vmware-user-suid-wrapper depends on gtkmm, but it's not a required dependency of the package. See: https://bugs.archlinux.org/task/43159


= Resources =
== Resources ==


* [https://kb.vmware.com/s/article/2129859 VMware Support article]
* [https://forum.manjaro.org/t/root-tip-installing-vmware-on-manjaro/57596 Manjaro Forum HowTo]
* [https://forum.manjaro.org/search?q=vmware VMware Manjaro Forum Search]
* [https://kb.vmware.com/s/article/80807 VMware KB - Workstation/Player 16 Supported OS]
* [https://forum.manjaro.org/t/vmware-can-i-use-it/58861?u=linux-aarhus VMware - can I use it]
* [https://forum.manjaro.org/search?q=vmware Manjaro Forum Search - VMware]
* [https://forum.manjaro.org/t/wiki-installing-vmware/19824?u=linux-aarhus Installing VMware]
* [https://archived.forum.manjaro.org/t/vmware-can-i-use-it/58861 (Forum Archive) VMware - can I use it]
* [https://archived.manjaro.org/t/wiki-installing-vmware/19824 (Forum Archive) Installing VMware]


[[Category:Top level]]
[[Category:Top level]]
[[Category:Virtualisation]]
[[Category:Virtualisation]]
Cookies help us deliver our services. By using our services, you agree to our use of cookies.