Last active
December 1, 2021 19:45
-
-
Save ifahadone/313958ea575a8e156d795a419f67dbe2 to your computer and use it in GitHub Desktop.
An automated way to install essential applications on Linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# [+] - USAGE | |
# RUN chmod +x {filename}.sh | |
# RUN as ROOT | |
welcome () { | |
echo '[+] --- PREPARING TO INSTALL...' | |
} | |
banner() | |
{ | |
echo "+------------------------------------------+" | |
printf "| %-40s |\n" "`date`" | |
echo "| |" | |
printf "|`tput bold` %-40s `tput sgr0`|\n" "$@" | |
echo "+------------------------------------------+" | |
} | |
curlInstall () { | |
sudo apt install -y curl | |
} | |
flameshotInstall () { | |
sudo apt-get install -y flameshot | |
} | |
chromeInstall () { | |
wget -0 https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | |
sudo dpkg -i google-chrome-stable_current_amd64.deb | |
} | |
anydeskInstall () { | |
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 | |
apt update | |
apt install -y anydesk | |
} | |
vscodeInstall () { | |
sudo snap install --classic code | |
} | |
intellijInstall () { | |
sudo snap install intellij-idea-ultimate --classic | |
} | |
telegramInstall () { | |
sudo snap install telegram-desktop | |
} | |
notionInstall () { | |
sudo snap install notion-snap | |
} | |
welcome | |
curlInstall | |
chromeInstall | |
vscodeInstall | |
intellijInstall | |
anydeskInstall | |
telegramInstall | |
notionInstall | |
flameshotInstall | |
banner " [/] --- INSTALLATION DONE" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment