expanding on scripts to auto install more stuff, such as the full gnome 41 desktop from a minimal debian install

This commit is contained in:
Michael Scalzetti 2022-03-23 18:24:02 -04:00
parent 7d72ee69d8
commit 012f6ed852
8 changed files with 76 additions and 15 deletions

View File

@ -1,6 +1,15 @@
# To auto-install run the commands below as root # To auto-install run the commands below as root
## For laptop
``` ```
apt-get update && apt-get install -y curl apt-get update && apt-get install -y curl git
sh `curl https://gitea.voxelvortex.tk/voxelvortex/InstaTout/raw/branch/master/program_install.sh` curl https://gitea.voxelvortex.tk/voxelvortex/InstaTout/raw/branch/master/laptop_install.sh | sh
```
## For desktop
```
apt-get update && apt-get install -y curl git
curl https://gitea.voxelvortex.tk/voxelvortex/InstaTout/raw/branch/master/desktop_install.sh | sh
``` ```

12
desktop_install.sh Normal file
View File

@ -0,0 +1,12 @@
LOC="./.auto-install"
git clone https://gitea.voxelvortex.tk:443/voxelvortex/InstaTout.git $LOC
$LOC/program_install.sh
apt-get update &&\
apt-get install -y ungoogled-chromium librewolf code python3 python3-pip python3-wheel docker-compose docker.io zsh gdb p7zip-full git iputils-* dnsutils net-tools handbrake* ffmpeg htop nano vim neovim nmap nvidia-detect ncat ssh tree vlc snapd obs-studio audacity filezilla
mv $LOC/files/Desktop $LOC/files/InstallMe
$LOC/finalize.sh

7
files/preferences Normal file
View File

@ -0,0 +1,7 @@
Package: *
Pin: release a=bullseye
Pin-Priority: 500
Package: *
Pin: release a=unstable
Pin-Priority: 100

2
files/unstable.list Normal file
View File

@ -0,0 +1,2 @@
deb https://deb.debian.org/debian/ unstable main contrib
deb-src http://deb.debian.org/debian/ unstable main contrib

16
finalize.sh Normal file
View File

@ -0,0 +1,16 @@
# unprivileged user's name, change this if it isnt right
USER="michael"
# Move files to home dir
mv ./files/InstallMe /home/$USER
# List gnome extensions to install
echo -e "\nGnome extensions:"
echo -e "\AppIndicator and KStatusNotifierItem Support: https://extensions.gnome.org/extension/615/appindicator-support/"
echo -e "\tArcMenu: https://extensions.gnome.org/extension/3628/arcmenu/"
echo -e "\tLaunch new instance: https://extensions.gnome.org/extension/600/launch-new-instance/"
echo -e "\tRemovable Drive Menu: https://extensions.gnome.org/extension/7/removable-drive-menu/"
echo -e "\tTactile: https://extensions.gnome.org/extension/4548/tactile/"
echo -e "\tVitals: https://extensions.gnome.org/extension/1460/vitals/"
echo -e "\tWorkspace Indicator: https://extensions.gnome.org/extension/21/workspace-indicator/"

12
gnome_install.sh Normal file
View File

@ -0,0 +1,12 @@
# install laptop utils via tasksel
tasksel install laptop
# Copy over unstable repo stuff
cp ./files/unstable.list /etc/apt/sources.list.d/unstable.list
cp ./preferences /etc/apt/preferences
# Install gnome
apt-get update &&\
apt -t unstable install -y gnome-session gnome-shell gnome-backgrounds gnome-applets gnome-control-center mutter gjs gnome-core gnome-tweaks libc6-i386
echo

14
laptop_install.sh Normal file
View File

@ -0,0 +1,14 @@
LOC="./.auto-install"
git clone https://gitea.voxelvortex.tk:443/voxelvortex/InstaTout.git $LOC
$LOC/program_install.sh
apt-get update &&\
apt-get install -y ungoogled-chromium librewolf code python3 python3-pip python3-wheel docker-compose docker.io zsh gdb p7zip-full git iputils-* dnsutils net-tools ffmpeg htop nano vim neovim nmap ncat ssh tree vlc snapd audacity filezilla
mv $LOC/files/Laptop $LOC/files/InstallMe
# Point to Fprint driver
echo -e "\n\nFigerprint\n\tCheck out: https://gist.github.com/d-k-bo/15e53eab53e2845e97746f5f8661b224"
$LOC/finalize.sh

View File

@ -25,8 +25,8 @@ curl -s 'https://download.opensuse.org/repositories/home:/ungoogled_chromium/Deb
# Update again # Update again
apt-get update -y && apt-get upgrade -y apt-get update -y && apt-get upgrade -y
# Install main apt stuff # Install my default apt stuff
apt-get install -y ungoogled-chromium librewolf code python3 python3-pip python3-wheel docker-compose docker.io zsh gdb p7zip-full git iputils-* dnsutils net-tools handbrake* ffmpeg htop nano vim neovim nmap nvidia-detect ncat ssh tree vlc snapd obs-studio audacity filezilla apt-get install -y ungoogled-chromium librewolf code python3 python3-pip python3-wheel docker-compose docker.io zsh p7zip-full git iputils-* dnsutils net-tools htop nano vim neovim ncat ssh tree vlc snapd neofetch
# Update python pip # Update python pip
python3 -m pip install -U pip python3 -m pip install -U pip
@ -38,15 +38,4 @@ snap install core discord
git clone https://github.com/NationalSecurityAgency/ghidra.git /usr/bin/ghidra git clone https://github.com/NationalSecurityAgency/ghidra.git /usr/bin/ghidra
ln -s /usr/bin/ghidra/ghidraRun /usr/bin/ghidraRun ln -s /usr/bin/ghidra/ghidraRun /usr/bin/ghidraRun
# Point to Fprint driver
echo -e "\n\nFigerprint\n\tCheck out: https://gist.github.com/d-k-bo/15e53eab53e2845e97746f5f8661b224"
# List gnome extensions to install
echo -e "\nGnome extensions:"
echo -e "\tPlaces Status Indicator: https://extensions.gnome.org/extension/8/places-status-indicator/"
echo -e "\tArcMenu: https://extensions.gnome.org/extension/3628/arcmenu/"
echo -e "\tLaunch new instance: https://extensions.gnome.org/extension/600/launch-new-instance/"
echo -e "\tRemovable Drive Menu: https://extensions.gnome.org/extension/7/removable-drive-menu/"
echo -e "\tTactile: https://extensions.gnome.org/extension/4548/tactile/"
echo -e "\tVitals: https://extensions.gnome.org/extension/1460/vitals/"
echo -e "\tWorkspace Indicator: https://extensions.gnome.org/extension/21/workspace-indicator/"