Installing
Ubuntu
sudo apt-get install xorg-dev libxcb-composite0-dev
cargo runWindows
# with Visual Studio installed
cargo runWindows subsystem for linux
Optional steps below are for enabling clipboard support
$ sudo apt-get install xorg-dev libxcb-composite0-dev- Optional: Install vcxsrv
- Optional: run vcxsrv with the
-acflag - Optional:
$ echo "export DISPLAY=$(cat /etc/resolv.conf | tail -n 1| cut -d' ' -f2):0.0" >> ~/.bashrc - Optional:
$ . ~/.bashrc $ cargo run