#!/bin/bash rm /etc/apt/preferences.d/nosnap.pref 2>&- 1>&- wget -qO - https://keys.anydesk.com/repos/DEB-GPG-KEY | apt-key add - echo "deb http://deb.anydesk.com/ all main" > /etc/apt/sources.list.d/anydesk-stable.list add-apt-repository -y ppa:atareao/telegram add-apt-repository -y ppa:tomtomtom/woeusb apt-get update && apt-get -y dist-upgrade && apt-get -y install net-tools ssh vim htop screen \ aptitude gparted gimp inkscape clementine cifs-utils p7zip p7zip-full p7zip-rar rar unrar unrar-free \ whois filezilla vlc sshpass remmina remmina-plugin-rdp remmina-plugin-secret \ remmina-plugin-spice remmina-plugin-vnc remmina-plugin-exec nfs-common software-properties-common \ thunderbird samba ttf-mscorefonts-installer wine-installer gprename cheese snapd \ tree anydesk nemo-nextcloud telegram simplescreenrecorder woeusb wimtools copyq gpg \ apt-transport-https ffmpeg hydrapaper flameshot default-jre wget -c https://github.com/TheAssassin/AppImageLauncher/releases/download/continuous/appimagelauncher_2.2.0-gha111.d9d4c73+bionic_amd64.deb -O /tmp/appimagelauncher.deb dpkg -i /tmp/appimagelauncher.deb ; apt-get install -y -f wget -c https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb -O /tmp/chrome.deb dpkg -i /tmp/chrome.deb ; apt-get install -y -f wget -qO- https://deb.opera.com/archive.key | apt-key add - echo deb https://deb.opera.com/opera-stable/ stable non-free | tee /etc/apt/sources.list.d/opera-stable.list apt update ; apt -y install opera-stable ; apt-get install -y -f curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg install -o root -g root -m 644 microsoft.gpg /etc/apt/trusted.gpg.d/ sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/edge stable main" > /etc/apt/sources.list.d/microsoft-edge-dev.list' rm microsoft.gpg apt update && apt -y install microsoft-edge-stable wget -c https://download.teamviewer.com/download/linux/teamviewer_amd64.deb -O /tmp/teamviewer.deb dpkg -i /tmp/teamviewer.deb ; apt-get install -y -f wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg install -D -o root -g root -m 644 packages.microsoft.gpg /etc/apt/keyrings/packages.microsoft.gpg sh -c 'echo "deb [arch=amd64,arm64,armhf signed-by=/etc/apt/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/repos/code stable main" > /etc/apt/sources.list.d/vscode.list' rm -f packages.microsoft.gpg apt update && apt -y install code rm /etc/apt/sources.list.d/microsoft-edge-dev.list wget -c https://download.virtualbox.org/virtualbox/7.1.4/virtualbox-7.1_7.1.4-165100~Ubuntu~noble_amd64.deb -O /tmp/virtualbox.deb dpkg -i /tmp/virtualbox.deb ; apt-get install -y -f wget https://download.virtualbox.org/virtualbox/7.1.4/Oracle_VirtualBox_Extension_Pack-7.1.4.vbox-extpack echo "y" | VBoxManage extpack install --replace Oracle_VirtualBox_Extension_Pack-7.1.4.vbox-extpack rm Oracle_VirtualBox_Extension_Pack-7.1.4.vbox-extpack cp /etc/apt/trusted.gpg /etc/apt/trusted.gpg.d rm -r /tmp/*.deb apt clean all cat > /etc/screenrc << EOF attrcolor b ".I" termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm' termcapinfo xterm* ti@:te@ defbce "on" term xterm-256color defscrollback 30000 hardstatus alwayslastline hardstatus string '%{= Kd} %{= Kd}%-w%{= Kr}[%{= KW}%n %t%{= Kr}]%{= Kd}%+w %-= %{KG} %H%{KW}|%{KY}%101\`%{KW}|%D %M %d %Y%{= Kc} %C%A%{-}' bind f eval "hardstatus ignore" bind F eval "hardstatus alwayslastline" EOF mv /etc/ssh/ssh_config /etc/ssh/ssh_config.bkp.`date +%Y-%m-%d` cat > /etc/ssh/ssh_config << 'EOF' Include /etc/ssh/ssh_config.d/*.conf Host * SendEnv LANG LC_* HashKnownHosts yes GSSAPIAuthentication yes StrictHostKeyChecking no UserKnownHostsFile /dev/null HostKeyAlgorithms=+ssh-dss HashKnownHosts no GSSAPIDelegateCredentials no LogLevel ERROR PubkeyAcceptedKeyTypes +ssh-rsa EOF