Skip to content

Instantly share code, notes, and snippets.

@jlmelville
Created February 10, 2020 01:08
Show Gist options
  • Select an option

  • Save jlmelville/9cff6dc446f2ccc8f5f95b28a62aa507 to your computer and use it in GitHub Desktop.

Select an option

Save jlmelville/9cff6dc446f2ccc8f5f95b28a62aa507 to your computer and use it in GitHub Desktop.
VMware player setup for Ubuntu-like
# Get copy and paste working
sudo apt-get install open-vm-tools-desktop
# Activate shared directory: name and define it (e.g. vmshare) in the VM config
# On the guest
# mkdir -p /mnt/hgfs if necessary
sudo vmhgfs-fuse .host:/vmshare /mnt/hgfs/ -o allow_other -o uid=1000 -o nonempty
# in /etc/fstab for auto mount
.host:/vmshare /mnt/hgfs/vmshare fuse.vmhgfs-fuse defaults,allow_other,uid=1000 0 0
# R stuff
# Add the entry from https://cran.r-project.org/ -> Download R for Linux -> Ubuntu
echo "deb https://cloud.r-project.org/bin/linux/ubuntu bionic-cran35/" >> /etc/apt/sources.list
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9
sudo apt-get update
sudo apt-get install r-base r-base-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment