├── llvm-clang.sh ├── run-as-root-swappiness.sh ├── stretch-to-buster.sh ├── vivaldi.sh ├── google-chrome.sh ├── ice-ssb-application.sh ├── youtube-dl.sh ├── firewall-and-utilities.sh ├── image-editing-software.sh ├── optical-drive.sh ├── android.sh ├── run-as-root-non-free-repos.sh ├── downloaders-and-stuff.sh ├── email.sh ├── desktop-recording.sh ├── run-as-root-grant-standard-user-sudo ├── steam.sh ├── video-editing-converting-viewing.sh ├── zoom.sh ├── brave-browser.sh ├── neovim.sh ├── nerdfonts.sh ├── plex-media-server.sh ├── liquorix-kernel.sh ├── sounds-and-codecs.sh ├── themes-and-icons.sh ├── README.md ├── polybar.sh ├── zfs.sh ├── terminals-apps-and-editors.sh ├── desktop.sh ├── networking.sh ├── fonts.sh └── gaming.sh /llvm-clang.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | sudo apt install llvm clang -yy 4 | -------------------------------------------------------------------------------- /run-as-root-swappiness.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | sudo echo "vm.swappiness=10" >> /etc/sysctl.conf 4 | -------------------------------------------------------------------------------- /stretch-to-buster.sh: -------------------------------------------------------------------------------- 1 | sudo sed -i 's/stretch/buster/gI' /etc/apt/sources.list 2 | 3 | sudo apt update 4 | -------------------------------------------------------------------------------- /vivaldi.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | wget https://downloads.vivaldi.com/stable/vivaldi-stable_2.1.1337.47-1_amd64.deb 4 | 5 | sudo dpkg -i vivaldi*.deb 6 | -------------------------------------------------------------------------------- /google-chrome.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb 4 | 5 | sudo dpkg -i google-chrome*.deb 6 | -------------------------------------------------------------------------------- /ice-ssb-application.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | sudo wget https://launchpad.net/~peppermintos/+archive/ubuntu/ice-dev/+files/ice_6.0.5_all.deb 4 | 5 | sudo dpkg -i ice*.deb 6 | 7 | -------------------------------------------------------------------------------- /youtube-dl.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | sudo wget https://yt-dl.org/latest/youtube-dl -O /usr/local/bin/youtube-dl 4 | 5 | sudo chmod a+x /usr/local/bin/youtube-dl 6 | 7 | hash -r 8 | -------------------------------------------------------------------------------- /firewall-and-utilities.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | sudo apt install gufw -yy 4 | 5 | sudo apt install htop -yy 6 | 7 | sudo apt install gparted -yy 8 | 9 | sudo apt install bleachbit -yy 10 | -------------------------------------------------------------------------------- /image-editing-software.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | sudo apt install gimp -yy 4 | 5 | sudo apt install inkscape -yy 6 | 7 | sudo apt install digikam -yy 8 | 9 | sudo apt install darktable -yy 10 | -------------------------------------------------------------------------------- /optical-drive.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | sudo apt install k3b -yy 4 | 5 | sudo apt install asunder -yy 6 | 7 | sudo chmod 4711 /usr/bin/cdrdao 8 | 9 | sudo chmod 4711 /usr/bin/wodim 10 | 11 | -------------------------------------------------------------------------------- /android.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | ######################### 4 | # Android 5 | ######################### 6 | 7 | sudo apt install adb fastboot android-sdk-libsparse-utils android-sdk-platform23 -yy 8 | 9 | -------------------------------------------------------------------------------- /run-as-root-non-free-repos.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | sudo sed -e '/Binary/s/^/#/g' -i /etc/apt/sources.list 4 | sudo sed -i 's/main/main contrib non-free/gI' /etc/apt/sources.list 5 | 6 | sudo apt update 7 | -------------------------------------------------------------------------------- /downloaders-and-stuff.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | ################################# 4 | # Downloaders & Stuff 5 | ################################## 6 | 7 | sudo apt install transmission-gtk wget curl -yy 8 | 9 | -------------------------------------------------------------------------------- /email.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | ################################ 4 | # Email 5 | ################################# 6 | 7 | sudo apt install thunderbird -yy 8 | 9 | sudo apt install neomutt -yy 10 | 11 | -------------------------------------------------------------------------------- /desktop-recording.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | ############################ 4 | # Desktop Recording 5 | ############################ 6 | 7 | sudo apt install simplescreenrecorder -yy 8 | 9 | sudo apt install obs-studio -yy 10 | 11 | -------------------------------------------------------------------------------- /run-as-root-grant-standard-user-sudo: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Install sudo 4 | 5 | apt install sudo -yy 6 | 7 | # Find the standard user you created during installation and make it a variable 8 | 9 | user=$(getent passwd 1000 | awk -F: '{ print $1}') 10 | 11 | # Echo the user into the sudoers file 12 | 13 | echo "$user ALL=(ALL:ALL) ALL" >> /etc/sudoers 14 | -------------------------------------------------------------------------------- /steam.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Make sure you have non-free repos enabled in /etc/apt/sources.list and run updates your system before running this script 4 | 5 | sudo dpkg --add-architecture i386 6 | 7 | sudo apt update -yy 8 | 9 | sudo apt install steam -yy 10 | 11 | sudo apt install mesa-vulkan-drivers libglx-mesa0:i386 mesa-vulkan-drivers:i386 libgl1-mesa-dri:i386 -yy 12 | -------------------------------------------------------------------------------- /video-editing-converting-viewing.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | ############################################################## 4 | # Video Editing, Converting, Viewing 5 | ############################################################## 6 | 7 | sudo apt install kdenlive -yy 8 | 9 | sudo apt install handbrake -yy 10 | 11 | sudo apt install mpv -yy 12 | 13 | sudo apt install audacity -yy 14 | -------------------------------------------------------------------------------- /zoom.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | sudo apt install libglib2.0-0 libgstreamer-plugins-base1.0-0 libxcb-shape0 libxcb-shm0 libxcb-xfixes- libxcb-randr0 libxcb-image0 libfontconfig1 libgl1-mesa-glx libxi6 libxrender1 libpulse0 libxcomposite1 libxslt1.1 libsqlite3-0 libxcb-keysyms1 libxcb-xtest0 libegl1-mesa libibus-1.0-5 4 | 5 | wget https://zoom.us/client/latest/zoom_amd64.deb 6 | 7 | sudo dpkg -i zoom_amd64.deb 8 | -------------------------------------------------------------------------------- /brave-browser.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | sudo apt install apt-transport-https curl gnupg -yy 4 | 5 | curl -s https://brave-browser-apt-release.s3.brave.com/brave-core.asc | sudo apt-key --keyring /etc/apt/trusted.gpg.d/brave-browser-release.gpg add - 6 | 7 | echo "deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main" | sudo tee /etc/apt/sources.list.d/brave-browser-release.list 8 | 9 | sudo apt update 10 | 11 | sudo apt install brave-browser -yy 12 | -------------------------------------------------------------------------------- /neovim.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # Install neovim with apt 3 | sudo apt install neovim 4 | 5 | # Install vim plug from github 6 | sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \ 7 | https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim' 8 | 9 | # If you want to use my neovim config as a starting point or to get some ideas... 10 | # https://github.com/linuxdabbler/personal-dot-files 11 | # place init.vim in ~/.config/nvim then open it and run the next two commands 12 | # :so % 13 | # :PlugInstall 14 | -------------------------------------------------------------------------------- /nerdfonts.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | wget https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/Ubuntu.zip 4 | wget https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/Inconsolata.zip 5 | 6 | unzip Ubuntu.zip 7 | 8 | mkdir -p ~/.local/share/fonts/nerdfonts/ubuntu 9 | 10 | mv *.ttf ~/.local/share/fonts/nerdfonts/ubuntu 11 | 12 | rm Ubuntu.zip 13 | 14 | unzip Inconsolata.zip 15 | 16 | mkdir -p ~/.local/share/fonts/nerdfonts/inconsolata 17 | 18 | rm Inconsolata.zip 19 | 20 | mv Inconsolata* ~/.local/share/fonts/nerdfonts/inconsolata/ 21 | 22 | fc-cache -f -v 23 | -------------------------------------------------------------------------------- /plex-media-server.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | #Enable it in the repos 4 | echo deb https://downloads.plex.tv/repo/deb public main | sudo tee /etc/apt/sources.list.d/plexmediaserver.list 5 | #Add the GPG Key 6 | curl https://downloads.plex.tv/plex-keys/PlexSign.key | sudo apt-key add - 7 | #Download Plex 8 | wget -q https://downloads.plex.tv/plex-media-server-new/1.16.2.1321-ad17d5f9e/debian/plexmediaserver_1.16.2.1321-ad17d5f9e_amd64.deb 9 | #Install Plex 10 | sudo dpkg -i plex*.deb 11 | #Enable Plex to start at boot 12 | sudo systemctl enable plexmediaserver 13 | #Start Plex 14 | sudo systemctl start plexmediaserver 15 | -------------------------------------------------------------------------------- /liquorix-kernel.sh: -------------------------------------------------------------------------------- 1 | codename="$(find /etc/apt -type f -name '*.list' | xargs grep -E '^deb' | awk '{print $3}' | grep -Eo '^[a-z]+' | sort | uniq -c | sort -n | tail -n1 | grep -Eo '[a-z]+$')" && sudo apt-get update && sudo apt-get install apt-transport-https && echo -e "deb http://liquorix.net/debian $codename main\ndeb-src http://liquorix.net/debian $codename main\n\n# Mirrors:\n#\n# Unit193 - France\n# deb http://mirror.unit193.net/liquorix $codename main\n# deb-src http://mirror.unit193.net/liquorix $codename main" | sudo tee /etc/apt/sources.list.d/liquorix.list && curl https://liquorix.net/linux-liquorix.pub | sudo apt-key add - && sudo apt-get update 2 | -------------------------------------------------------------------------------- /sounds-and-codecs.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | ################################### 4 | # Sounds and Codecs 5 | ################################### 6 | 7 | sudo apt install pulseaudio pulseaudio-utils -yy 8 | 9 | sudo apt install pavucontrol -yy 10 | 11 | sudo apt install pulseaudio-dlna pulseaudio-equalizer gstreamer1.0-pulseaudio -yy 12 | 13 | sudo apt install alsa-utils gstreamer1.0-alsa alsamixergui alsaplayer-gtk -yy 14 | 15 | sudo apt install alsa-player-daemon alsa-player-common alsa-player-alsa -yy 16 | 17 | sudo apt install libao-common libao-dbd libao-dev libao4 -yy 18 | 19 | sudo apt install libasound2 libasound-data libasound-dev libasound-doc libasound-plugins -yy 20 | 21 | sudo apt install exfat-utils -yy 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /themes-and-icons.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | sudo apt install numix-gtk-theme blackbird-gtk-theme -yy 4 | 5 | sudo apt-get install gtk2-engines-murrine gtk2-engines-pixbuf 6 | 7 | # VIVACIOUS ICONS 8 | 9 | #wget https://launchpad.net/~ravefinity-project/+archive/ubuntu/ppa/+files/vivacious-colors_1.4~xenial~NoobsLab.com_all.deb 10 | 11 | #sudo dpkg -i vivacious* 12 | 13 | #rm vivacious* 14 | 15 | # Install Papirus Icons 16 | 17 | git clone https://github.com/PapirusDevelopmentTeam/papirus-icon-theme 18 | 19 | cd papirus-icon-theme/ 20 | 21 | ./install.sh 22 | 23 | cd .. 24 | 25 | sudo rm -r papirus* 26 | 27 | git clone https://github.com/vinceliuice/vimix-gtk-themes 28 | 29 | cd vimix-gtk-themes 30 | 31 | ./Install 32 | 33 | cd .. 34 | 35 | sudo rm -r vimix* 36 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # debian-install-scripts 2 | Scripts to run after installing debian 3 | 4 | These scripts are intended for use on a debian linux system 5 | 6 | Just because these scripts work for me, does not necessarily mean they will work for you 7 | 8 | I will not be held responsible for messing up your system 9 | 10 | So PLEASE READ EACH SCRIPT CAREFULLY BEFORE RUNNING 11 | 12 | These are meant for getting particular software installed after your initial installation of Debian. 13 | 14 | My suggestion is to try these scripts in a virtual machine first before running them on your system 15 | 16 | Thank you for visiting my github page 17 | 18 | LD 19 | 20 | NOTE: after cloning/downloading and unzipping the repository simply run these commands 21 | and they will become executable 22 | 23 | chmod +x *.sh 24 | -------------------------------------------------------------------------------- /polybar.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | 4 | # Install Dependencies 5 | sudo apt install build-essential cmake cmake-data libcairo2-dev libxcb1-dev libxcb-ewmh-dev libxcb-icccm4-dev libxcb-image0-dev libxcb-randr0-dev libxcb-util0-dev libxcb-xkb-dev pkg-config python-xcbgen xcb-proto libxcb-xrm-dev i3-wm libasound-dev libmpdclient-dev libiw-dev libcurl4-openssl-dev libpulse-dev libjsoncpp-dev libxcb-composite0-dev llvm clang ccache libnl-3-dev -yy 6 | 7 | # Download from polybar from github 8 | 9 | git clone https://github.com/jaagr/polybar.git 10 | 11 | # Change directories into polybar 12 | 13 | cd polybar && ./build.sh 14 | 15 | echo "killall -q polybar" > ~/.config/polybar/launch.sh 16 | echo "polybar example >>/tmp/polybar1.log 2>&1 &" >> ~/.config/polybar/launch.sh 17 | echo "Bars launched..." >> ~/.config/polybar/launch.sh 18 | 19 | chmod +x ~/.config/polybar/launch.sh 20 | 21 | 22 | -------------------------------------------------------------------------------- /zfs.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | 4 | # Install headers for your kernel 5 | sudo apt install linux-headers-"$(uname -r)" linux-image-amd64 -yy 6 | 7 | # Symlink /bin/rm to /usr/bin/rm (uncomment this if you are using Debian Stretch) 8 | #sudo ln -s /bin/rm /usr/bin/rm 9 | 10 | # Install ZFS DKMS and ZFS utilities 11 | sudo apt install zfs-dkms zfsutils-linux -yy 12 | 13 | # Add the kernel Modules 14 | sudo modprobe zfs 15 | 16 | # Enable ZFS services 17 | sudo systemctl enable zfs.target 18 | sudo systemctl enable zfs-import cache 19 | sudo systemctl enable zfs-mount 20 | sudo systemctl enable zfs-import.target 21 | sudo systemctl enable zfs-import-scan 22 | sudo systemctl enable zfs-share 23 | 24 | # Restart all ZFS services 25 | 26 | sudo systemctl restart zfs-import-cache 27 | sudo systemctl restart zfs-import-scan 28 | sudo systemctl restart zfs-mount 29 | sudo systemctl restart zfs-share 30 | -------------------------------------------------------------------------------- /terminals-apps-and-editors.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # You can comment out any of these with a "#" before "sudo" and it won't install it 4 | 5 | ############################################################# 6 | # Terminals, Terminal Apps, and Text Editors 7 | ############################################################# 8 | 9 | sudo apt install rxvt-unicode -yy 10 | 11 | sudo apt install ranger -yy 12 | 13 | sudo apt install feh -yy 14 | 15 | sudo apt install neofetch -yy 16 | 17 | sudo apt install figlet -yy 18 | 19 | sudo apt install lolcat -yy 20 | 21 | sudo apt install vim -yy 22 | 23 | sudo apt install nano -yy 24 | 25 | sudo apt install geany -yy 26 | 27 | sudo apt install build-essential -yy 28 | 29 | sudo apt install cmake -yy 30 | 31 | sudo apt install p7zip p7zip-full unrar-free unzip -yy 32 | 33 | sudo apt install lshw -yy 34 | 35 | sudo apt install powerline -yy 36 | 37 | -------------------------------------------------------------------------------- /desktop.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | ############################# 4 | # Desktop 5 | ############################# 6 | 7 | sudo apt install synaptic -yy 8 | 9 | sudo apt install thunar thunar-media-tags-plugin thunar-vcs-plugin thunar-volman -yy 10 | 11 | sudo apt install ffmpegthumbnailer -yy 12 | 13 | sudo apt install cups cups-pdf -yy 14 | 15 | sudo apt install nitrogen -yy 16 | 17 | sudo apt install lxappearance -yy 18 | 19 | sudo apt install dmenu -yy 20 | 21 | sudo apt install qt5-style-plugins -yy 22 | 23 | #sudo apt install virtualbox virtualbox-ext-pack virtualbox-dkms virtualbox-guest-additions-iso virtualbox-guest-dkms virtualbox-guest-utils virtualbox-guest-x11 -yy 24 | 25 | ############################################### 26 | # Make QT apps match GTK apps 27 | ############################################### 28 | 29 | sudo chown $USER /etc/environment 30 | 31 | sudo chmod 755 /etc/environment 32 | 33 | sudo echo "QT_QPA_PLATFORMTHEME=gtk2" >> /etc/environment 34 | 35 | sudo chown root:root /etc/environment 36 | 37 | sudo chmod 600 /etc/environment 38 | 39 | sudo usermod -aG vboxusers $USER 40 | -------------------------------------------------------------------------------- /networking.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | ################################# 4 | # Networking 5 | ################################# 6 | 7 | sudo apt install network-manager -yy 8 | 9 | sudo apt install network-manager-openvpn -yy 10 | 11 | sudo apt install network-mangager-openvpn-gnome -yy 12 | 13 | sudo apt install samba samba-common samba-libs cifs-utils libcups2 cups smbclient -yy 14 | 15 | sudo apt install gvfs-backends -yy 16 | 17 | sudo apt install net-tools -yy 18 | 19 | sudo apt install ssh -yy 20 | 21 | ################################################ 22 | # Backup smb.conf 23 | ################################################ 24 | 25 | sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.bak 26 | 27 | ############################################################## 28 | # Extract relevant information to simplify smb.conf 29 | ############################################################## 30 | 31 | sudo chmod 755 /etc/samba/smb.conf.bak 32 | 33 | sudo chmod 755 /etc/samba/smb.conf 34 | 35 | sudo grep -v -E "^#|^;" /etc/samba/smb.conf.bak | grep . > /etc/samba/smb.conf 36 | 37 | ################################################ 38 | # Enable SSH and SAMBA 39 | ################################################ 40 | 41 | sudo systemctl enable ssh 42 | 43 | sudo systemctl start ssh 44 | 45 | sudo systemctl enable smbd 46 | 47 | sudo systemctl start smbd 48 | 49 | sudo systemctl enable nmbd 50 | 51 | sudo systemctl start nmbd 52 | 53 | 54 | -------------------------------------------------------------------------------- /fonts.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # install microsoft fonts 4 | sudo apt install ttf-mscorefonts-installer 5 | 6 | # make an ubuntu font folder 7 | sudo mkdir /usr/share/fonts/truetype/ubuntu-fonts 8 | 9 | # make a mac-OS yosemite san francisco font folder 10 | sudo mkdir /usr/share/fonts/truetype/yosemite-san-francisco 11 | 12 | # make a powerline font folder 13 | sudo mkdir /usr/share/fonts/powerline 14 | 15 | # download ubuntu font family 16 | wget https://assets.ubuntu.com/v1/fad7939b-ubuntu-font-family-0.83.zip 17 | 18 | #unzip downloaded file 19 | unzip *.zip 20 | 21 | # change directories into unzipped ubuntu font folder 22 | cd ubuntu-font-family* 23 | 24 | # move everything ending in ".ttf" into the ubuntu font folder we created earlier 25 | sudo mv *.ttf /usr/share/fonts/truetype/ubuntu-fonts/ 26 | 27 | # change directories back to home 28 | cd .. 29 | 30 | # remove all files ending in ".zip" 31 | rm *.zip 32 | 33 | # remove all folders beginning with "ubuntu-font-family" 34 | rm -r ubuntu-font-family* 35 | 36 | # clone yosemite san francisco font from github 37 | git clone https://github.com/supermarin/YosemiteSanFranciscoFont 38 | 39 | # change directories into the font folder we just downloaded 40 | cd YosemiteSanFranciscoFont/ 41 | 42 | # move everything ending in ".ttf" into the yosemite san fransisco folder we created earlier 43 | sudo mv *.ttf /usr/share/fonts/truetype/yosemite-san-francisco 44 | 45 | # change directory back to home 46 | cd .. 47 | 48 | # remove sanfransisco font folder we downloaded from github 49 | sudo rm -r YosemiteSanFranciscoFont/ 50 | 51 | # clone powerline fonts from github 52 | git clone https://github.com/powerline/fonts 53 | 54 | # change directories into the fonts folder created by cloning powerline from github 55 | cd fonts 56 | 57 | # Run installation script for powerline fonts 58 | ./install.sh 59 | 60 | # copy powerline fonts into the powerline folder we created earlier 61 | sudo cp /home/$USER/.local/share/fonts/*Powerline* /usr/share/fonts/powerline 62 | -------------------------------------------------------------------------------- /gaming.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # generate a file for the user to compare the before and after values of limits after running this script 4 | ulimit -Hn > ulimit.txt 5 | 6 | # fix permissions for scripting 7 | sudo chown $USER /etc/apt/sources.list.d/ 8 | 9 | # add 32 bit architecture 10 | sudo dpkg --add-architecture i386 11 | 12 | # update 13 | sudo apt update -yy 14 | 15 | # install vulkan mesa drivers 16 | sudo apt install mesa-vulkan-drivers mesa-vulkan-drivers:i386 -yy 17 | 18 | # install dxvk 19 | sudo apt install dxvk dxvk-wine32-development dxvk-wine64-development -yy 20 | 21 | # install steam 22 | sudo apt install steam -yy 23 | 24 | # install game mode 25 | sudo apt install gamemode -yy 26 | 27 | # ENABLE ESYNC 28 | # make a backup copy of system.conf in case something goes wrong you can easily recover 29 | # by moving (mv command) the .bak file to the .conf file in terminal... easy peasy 30 | sudo cp /etc/systemd/system.conf /etc/systemd/system.conf/bak 31 | 32 | # Add the needed change to system.conf 33 | sudo echo "DefaultLimitNOFILE=1048576" >> /etc/systemd/system.conf 34 | 35 | #make a backup copy of user.conf just like in the previous step... easy peasy 36 | sudo cp /etc/systemd/user.conf /etc/systemd/user.conf.bak 37 | 38 | # Add the needed change to user.conf 39 | sudo echo "DefaultLimitNOFILE=1048576" >> /etc/systemd/user.conf 40 | 41 | # Make a backup of limits.conf just like system.conf and user.conf 42 | sudo cp /etc/security/limits.conf /etc/security/limits.conf.bak 43 | 44 | #add your username and settings to limits.conf 45 | sudo echo "$USER soft nofile 1048576" >> /etc/security/limits.conf 46 | sudo echo "$USER hard nofile 1048576" >> /etc/security/limits.conf 47 | 48 | #restart systemd for changes to take effect 49 | sudo systemctl daemon-reexec 50 | 51 | #send output to the file from the beginning of the script to verify the changes were made 52 | # THE FILE CAN BE DELETED WITH NO ILL EFFECTS 53 | ulimit -Hn >> ulimit.txt 54 | 55 | # import wine gpg key 56 | sudo wget -nc https://dl.winehq.org/wine-builds/winehq.key 57 | 58 | # add wine gpg key 59 | sudo apt-key add winehq.key 60 | 61 | # add wine repository 62 | sudo touch /etc/apt/sources.list.d/wine.list 63 | sudo echo "deb https://dl.winehq.org/wine-builds/debian buster main" > /etc/apt/sources.list.d/wine.list 64 | 65 | # update 66 | sudo apt update 67 | 68 | # install wine staging 69 | sudo apt install --install-recommends winehq-staging -yy 70 | 71 | # install wine tricks 72 | sudo apt install winetricks -yy 73 | 74 | # install Play On Linux 75 | sudo apt install playonlinux -yy 76 | 77 | #import lutris repository key 78 | sudo wget https://download.opensuse.org/repositories/home:/strycore/Debian_9.0/Release.key 79 | 80 | # add key with apt 81 | sudo apt-key add Release.key 82 | 83 | # return permissions to root 84 | sudo chown root:root /etc/apt/sources.list.d/ 85 | 86 | 87 | # Add Lutris Repository 88 | touch /etc/apt/sources.list.d/lutris.list 89 | sudo echo "deb http://download.opensuse.org/repositories/home:/strycore/Debian_9.0/ ./" > /etc/apt/sources.list.d/lutris.list 90 | 91 | # update 92 | sudo apt update -yy 93 | sudo apt install lutris -yy 94 | 95 | --------------------------------------------------------------------------------