sudo apt-get install x11
Reading package lists ... Done
Dependency tree is being created
Read status information ... Done
E: x11 package not found 1 1 Answer
You're probably wanting to install the xorg package, which provides the standard X11 implementation on Ubuntu.
Try: sudo apt install xorg