-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstaller.sh
More file actions
85 lines (85 loc) · 3.39 KB
/
installer.sh
File metadata and controls
85 lines (85 loc) · 3.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
#!/bin/bash
set -e
touch ~/start-position
pwd >~/start-position
clear
sudo apt update
echo "installing apt packages..."
sudo apt install -y curl flatpak git gnome-shell-extension-manager gnome-shell-extensions gnome-software gnome-tweaks gufw inkscape kdeconnect libcanberra-gtk micro neofetch vlc wireplumber fd-find plocate evil-winrm cmake
echo "finished installing apt packages"
sleep 1
clear
echo "downloading and installing .deb packages (steam; vs-code)..."
wget vs-code.deb 'https://code.visualstudio.com/sha/download?build=stable&os=linux-deb-x64'
wget steam.deb 'https://cdn.fastly.steamstatic.com/client/installer/steam.deb'
wget Zettlr-4.3.1-amd64.deb 'https://github.com/Zettlr/Zettlr/releases/download/v4.3.1/Zettlr-4.3.1-amd64.deb'
wget vesktop.deb 'https://vencord.dev/download/vesktop/amd64/deb'
sudo apt install ./*.deb -y
echo "finished installing .deb packages"
sleep 2
clear
echo "installing flathub and related packages..."
flatpak install flathub
flatpak install flathub org.audacityteam.Audacity
flatpak install flathub org.prismlauncher.PrismLauncher
flatpak install flathub com.github.PintaProject.Pinta
flatpak install flathub com.github.tchx84.Flatseal
flatpak install flathub fr.handbrake.ghb
flatpak install flathub net.lutris.Lutris
# uncomment to also install sober:
# flatpak install flathub org.vinegarhq.Sober
echo "finished installing flathub and related packages"
sleep 2
clear
echo "installing packages that require curl for installation... (github cli (gh); brave (brave-browser))"
curl -fsS https://dl.brave.com/install.sh | sh
(type -p wget >/dev/null || (sudo apt update && sudo apt install wget -y)) &&
sudo mkdir -p -m 755 /etc/apt/keyrings &&
out=$(mktemp) && wget -nv -O$out https://cli.github.com/packages/githubcli-archive-keyring.gpg &&
cat $out | sudo tee /etc/apt/keyrings/githubcli-archive-keyring.gpg >/dev/null \
&
- &
sudo chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg &&
sudo mkdir -p -m 755 /etc/apt/sources.list.d &&
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list >/dev/null &&
sudo apt update &&
sudo apt install gh -y
echo "brave and github cli installed"
echo -n "Do you want to sign in to github cli now? (y/n): "
read VAR1
if [[ $VAR1 == "y" ]]; then
gh auth login
elif [[ $VAR1 == "n" ]]; then
echo "Ok, if you want to do it later use 'gh auth login' in the terminal to sign in."
else
echo -e "\033[0;31m VariableError: ${VAR1} is not a valid answer! \033[0m"
echo -e "\033[0;31m exited with code 1 \033[0m"
exit 1
fi
sleep 2
clear
echo "installing and compiling blobby-volley2 v1.1.1..."
tar -xvf blobby2-linux-1.1.1.tar.gz
mv blobby-1.1.1 ~/
cd ~/blobby-1.1.1/
cmake .
make install
echo "finished installing blobby-volley v1.1.1!"
sleep 2
clear
echo "installing additional package manager (linuxbrew)"
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo >>/home/luca/.bashrc
echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv bash)"' >>/home/luca/.bashrc
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv bash)"
echo "finished installing linuxbrew!"
sleep 2
clear
echo "installing neovim with brew..."
brew install neovim
brew install lazygit
sleep 2
clear
echo "cleaning everything up..."
cat ~/start-position | rm -rf
echo "self termination complete!!"