sudo apt-get install gcc-multilib g++-multilib lib32ncurses5 lib32z1 \ xorg-dev libx11-dev flex bison libglu1-mesa-dev libosmesa6-dev \ libopentk-cil-dev ocl-icd-opencl-dev libpcap-dev libdbus-cpp-dev \ libdbusmenu-gtk-dev libdbusmenu-gtk3-dev libdbusmenu-qt-dev \ libdbusmenu-qt5-dev libncurses5-dev libsane-dev
git clone git://source.winehq.org/git/wine.git ~/wine-dirs/wine-source cd ~/wine-dirs/wine-source/ ./configure --enable-win64