This repository was archived by the owner on Oct 15, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.bash
More file actions
84 lines (66 loc) · 3.79 KB
/
setup.bash
File metadata and controls
84 lines (66 loc) · 3.79 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
#!/bin/bash
# Check if Script is Run as Root
if [[ $EUID -ne 0 ]]; then
echo "You must be a root user to run this script, please run sudo bash setup.bash" 2>&1
exit 1
fi
# Adding Nala and Items Needed For Adding Repositories
sudo apt update
sudo apt install nala -y
sudo nala fetch --https-only --auto --fetches 4 -y
sudo nala upgrade -y
sudo nala install wget git curl gnupg lsb-release apt-transport-https ca-certificates extrepo -y
# Additional Repositories Added
# LibreWolf Repo
sudo extrepo enable librewolf
# Protonvpn Repo
wget https://repo2.protonvpn.com/debian/dists/stable/main/binary-all/protonvpn-stable-release_1.0.3-3_all.deb
sudo dpkg -i ./protonvpn-stable-release_1.0.8_all.deb
# Signal Desktop Repo
wget -O- https://updates.signal.org/desktop/apt/keys.asc | gpg --dearmor > signal-desktop-keyring.gpg
cat signal-desktop-keyring.gpg | sudo tee /usr/share/keyrings/signal-desktop-keyring.gpg > /dev/null
echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/signal-desktop-keyring.gpg] https://updates.signal.org/desktop/apt xenial main' | \
sudo tee /etc/apt/sources.list.d/signal-xenial.list
# Installing Apps
sudo nala upgrade -y
# Via Nala - (Blender, VLC, Flatpak, Keepassxc, Proton VPN, ADB, VSCodium, Podman, Libreoffice, Kdenlive, ffempeg, preload)
# Native Section
sudo nala install blender vlc htop flatpak plasma-discover-backend-flatpak keepassxc fzf adb podman libreoffice ffmpeg libsdl2-2.0-0 bat gcc pkg-config meson ninja-build libsdl2-dev libavcodec-dev libavdevice-dev libavformat-dev libavutil-dev libswresample-dev libusb-1.0-0 libusb-1.0-0-dev preload python3.11-venv -y
# Added Repositories Section
sudo nala install librewolf signal-desktop proton-vpn-gnome-desktop -y
# Via Flatpak - (Freetube, Bottles, GIMP, Podman Desktop, Flatseal)
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
flatpak install flathub io.freetubeapp.FreeTube -y
flatpak install flathub com.usebottles.bottles -y
flatpak install flathub org.gimp.GIMP -y
flatpak install flathub io.podman_desktop.PodmanDesktop -y
flatpak install flathub com.github.tchx84.Flatseal -y
flatpak install flathub dev.lapce.lapce -y
# Via Git Clone - (Scrcpy)
pushd .
cd ~
git clone https://github.com/Genymobile/scrcpy
cd scrcpy
./install_release.sh
popd
# Via Curl
bash <(curl -s https://raw.githubusercontent.com/kamiyaa/joshuto/master/utils/install.sh)
# Removes - (Firefox)
sudo nala purge firefox -y
rm -f ./protonvpn-stable-release_1.0.3-3_all.deb
# FastFetch
DEBIAN_VERSION=$(lsb_release -r -s)
if [[ $DEBIAN_VERSION < 13 ]]; then
# Download the latest fastfetch deb file
FASTFETCH_URL=$(curl -s https://api.github.com/repos/fastfetch-cli/fastfetch/releases/latest | grep "browser_download_url.*linux-amd64.deb" | cut -d '"' -f 4)
curl -sL $FASTFETCH_URL -o /tmp/fastfetch_latest_amd64.deb
# Install the downloaded deb file using apt-get
sudo nala install /tmp/fastfetch_latest_amd64.deb
else
# If Debian version is 13 or higher, use nala to install fastfetch
sudo nala install fastfetch
fi
# Clean Up
clear
# Final Message
echo "Enjoy :3"