#!/bin/bash# The next three lines create a LOG file of the script results
echo "Welcome"echo ""echo "This script will install a large number of commonly used"echo "programs and apps, as well as the Ubuntu Restricted Extras,"echo "Brave browser, Syncthing and VLC media player. This will"echo "take several minutes to finish and reboot upon completion."# initfunction pause(){ read -p "$*"} # ...# call itpause 'Press [Enter] key to Continue OR Ctrl-C to Cancel...'# beginecho "Started!"sleep 5s
sudo dpkg --add-architecture i386echo "Adding Repositories"sudo add-apt-repository multiverse
wget -nc https://dl.winehq.org/wine-builds/winehq.keysudo apt-key add winehq.key# Note that the command below ASSUMES you've installed Ubuntu Focal Fossa 20.04sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'
sudo add-apt-repository ppa:lutris-team/lutris
sudo add-apt-repository ppa:graphics-drivers/ppasudo add-apt-repository ppa:oibaf/graphics-drivers
wget -q "http://deb.playonlinux.com/public.gpg" -O- | sudo apt-key add -sudo wget http://deb.playonlinux.com/playonlinux_cosmic.list -O /etc/apt/sources.list.d/playonlinux.list
sudo add-apt-repository ppa:savoury1/dbgl
echo "Updating Repositories"sudo apt updateecho "Installing New Packages"# Installinggcc make libglib2 libgtk2 libglade gettext libsdl zlib intltool agg libasound libpcapautoconf automakesudo apt-get install build-essential autoconf automake libgtk2.0-dev libglu1-mesa-dev libsdl1.2-dev libglade2-dev gettext zlib1g-dev libosmesa6-dev intltool libagg-dev libasound2-dev libsoundtouch-dev libpcap-dev libgnutls30:i386 libldap-2.4-2:i386 libgpg-error0:i386 libxml2:i386 libasound2-plugins:i386 libsdl2-2.0-0:i386 libfreetype6:i386 libdbus-1-3:i386 libsqlite3-0:i386 -y
sudo apt install nvidia-driver-455 libnvidia-gl-455 libnvidia-gl-455:i386 -ysudo apt install libvulkan1 libvulkan1:i386 -ysudo apt install nvidia-graphics-drivers-396 nvidia-settings vulkan vulkan-utils -y
sudo dpkg --add-architecture i386 -ysudo apt install libgl1-mesa-dri:i386 -ysudo apt install mesa-vulkan-drivers mesa-vulkan-drivers:i386 -yvulkaninfo | less
sudo apt install --install-recommends winehq-stable wine32 wine32-preloader -ysudo apt install wine-stable winetricks -y
sudo apt install wget gdebi-core libgl1-mesa-glx:i386 -ywget -O ~/steam.deb http://media.steampowered.com/client/installer/steam.debsudo gdebi ~/steam.deb -ysudo apt install steam -y
sudo apt install lutris -y
sudo apt-get install dosbox -y
sudo apt-get install dbgl -y
git clone https://github.com/PlayOnLinux/POL-POM-4
# Finalizingsudo apt upgrade -y
# Cleanupsudo apt autoremove -y
# Rebootsudo reboot