initial commit

This commit is contained in:
Aliberk Sandıkçı 2022-10-26 22:42:13 +03:00
parent 55e5e7030a
commit 8f0e35ccdd
4 changed files with 25 additions and 6 deletions

View File

@ -1,4 +1,11 @@
#!/bin/bash #!/bin/bash
# installation script # 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

View File

@ -2,7 +2,6 @@
# setup script for applications # setup script for applications
#Sublime Text https://www.sublimetext.com/docs/linux_repositories.html #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 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 echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
sudo apt-get update -y sudo apt-get update -y
@ -14,15 +13,11 @@ sudo apt install file-roller -y
#VLC #VLC
sudo apt-get install vlc -y sudo apt-get install vlc -y
#gcc
sudo apt install gcc -y
#Xournal++ #Xournal++
sudo apt update -y sudo apt update -y
sudo apt install xournalpp -y sudo apt install xournalpp -y
#VS Code https://linuxize.com/post/how-to-install-visual-studio-code-on-ubuntu-20-04/ #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 - 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 add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" -y
sudo apt install code -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 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 update -y
sudo apt-get install google-chrome-stable -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

4
src/config.sh Normal file
View File

@ -0,0 +1,4 @@
#!/bin/bash
# general configs
# TODO: remove snap applications ant install firefox apt version

7
src/prerequisites.sh Normal file
View File

@ -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