diff --git a/install.sh b/install.sh index 5849ddd..1626456 100644 --- a/install.sh +++ b/install.sh @@ -1,4 +1,11 @@ #!/bin/bash # installation script -wget https://github.com/asandikci/iflbot-setup/archive/refs/heads/main.zip +cd || exit +mkdir tmp_install +cd tmp_install || exit +wget https://github.com/asandikci/iflbot-setup/archive/refs/heads/main.tar.gz +tar -xzvf main.tar.gz +cd iflbot-setup-main || exit +bash prerequisites.sh +bash applications.sh diff --git a/src/applications.sh b/src/applications.sh index 52b5d8b..7cc61e0 100644 --- a/src/applications.sh +++ b/src/applications.sh @@ -2,7 +2,6 @@ # setup script for applications #Sublime Text https://www.sublimetext.com/docs/linux_repositories.html -sudo apt-get install apt-transport-https -y wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/sublimehq-archive.gpg echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list sudo apt-get update -y @@ -14,15 +13,11 @@ sudo apt install file-roller -y #VLC sudo apt-get install vlc -y -#gcc -sudo apt install gcc -y - #Xournal++ sudo apt update -y sudo apt install xournalpp -y #VS Code https://linuxize.com/post/how-to-install-visual-studio-code-on-ubuntu-20-04/ -sudo apt install software-properties-common apt-transport-https wget -y wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add - sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" -y sudo apt install code -y @@ -35,3 +30,9 @@ gpg --no-default-keyring --keyring /etc/apt/keyrings/google-chrome.gpg --import echo 'deb [arch=amd64 signed-by=/etc/apt/keyrings/google-chrome.gpg] http://dl.google.com/linux/chrome/deb/ stable main' | sudo tee /etc/apt/sources.list.d/google-chrome.list sudo apt-get update -y sudo apt-get install google-chrome-stable -y + +#gedit +sudo apt-get install gedit -y + +#gnome-disk-utility +sudo apt-get install gnome-disk-utility -y diff --git a/src/config.sh b/src/config.sh new file mode 100644 index 0000000..939c4f0 --- /dev/null +++ b/src/config.sh @@ -0,0 +1,4 @@ +#!/bin/bash +# general configs + +# TODO: remove snap applications ant install firefox apt version diff --git a/src/prerequisites.sh b/src/prerequisites.sh new file mode 100644 index 0000000..1e8aad9 --- /dev/null +++ b/src/prerequisites.sh @@ -0,0 +1,7 @@ +#!/bin/bash +# prerequisites + +sudo apt-get install apt-transport-https -y +sudo apt install software-properties-common wget -y +sudo apt install gcc -y +sudo apt install build-essential -y