Installing X11 Dependencies
How to configure X11 builds on a local Ubuntu installation
It can be difficult to figure out what packages to install to get Ubuntu configured to work with X11. The student environment is already configured, but you might need to do this if you want to run Linux locally.
Here’s the steps I took to get my Ubuntu VM setup properly.
sudo apt-get install git sudo add-apt-repository ppa:linuxuprising/java sudo apt-get update sudo apt-get install oracle-java10-installer sudo apt-get install g++ sudo apt-get install libx11-dev