How to Install Vmware-Tools on Manjaro - an Awesome Distro of Arch Linux

Share on:

As you may know, the package manager of Arch Linux is "pacman".

1sudo pacman -Syu                #Update and upgrade system packages
2sudo pacman -S package_name     #Install a new package
3sudo pacman -R package_name     #Remove a package
4sudo pacman -Rn package_name    #Remove along with backup-ed config files
5sudo pacman -Rsu package_name   #Remove along with dependencies

If you do not have wget on your machine, you can install like so:

1sudo pacman -S wget

Then follow the steps below:

1wget http://www.as2.com/linux/tools/vmtools-4-arch-and-co.tar.bz2
2tar -xjf vmtools-4-arch-and-co.tar.bz2
3sudo bash vmtools-4-arch-and-co.sh

Now you may have a vmware-tools installed on your machine. The left thing is to daemonize your vmware-tools.
Let's make a service file first.

1sudo vim /etc/systemd/system/vmwaretools.service
 1[Unit]
 2Description=VMWare Tools daemon
 3
 4[Service]
 5ExecStart=/etc/init.d/vmware-tools start
 6ExecStop=/etc/init.d/vmware-tools stop
 7PIDFile=/var/lock/subsys/vmware-tools
 8TimeoutSec=0
 9RemainAfterExit=yes
10
11[Install]
12WantedBy=multi-user.target

Well then, you know, enable and start your awesome service!

1sudo systemctl enable --now vmwaretools

Your machine is all set now, you evil archer! :XD
Thanks for reading!