cemutil/ubuntu-wine.sh
2019-08-18 20:16:42 +02:00

28 lines
578 B
Bash

if [ -z "$DISPLAY" ]; then
export DISPLAY=:0.0
fi
# add i386 architecture, necessary for wine
sudo dpkg --add-architecture i386
# download wine repo key
sudo wget -nc https://dl.winehq.org/wine-builds/winehq.key
# add wine repo key
sudo apt-key add winehq.key
sudo add-apt-repository ppa:cybermax-dexter/sdl2-backport -y
sudo apt update
sudo apt -y install libfaudio0-amd64 libfaudio0-i386 libfaudio0
# install wine-staging
sudo apt -y install --install-recommends winehq-staging
# install winetricks
sudo apt -y install winetricks
#cleanup
sudo rm -rf winehq.key