From 36a39e2e7710a400be0feff4f82d950c88f1513e Mon Sep 17 00:00:00 2001 From: Michael Scalzetti Date: Mon, 6 Jun 2022 21:06:31 -0400 Subject: [PATCH] converted stuff for arch --- desktop_install.sh | 8 +++----- gnome_install.sh | 4 +--- laptop_install.sh | 8 +++----- program_install.sh | 28 +++++----------------------- 4 files changed, 12 insertions(+), 36 deletions(-) diff --git a/desktop_install.sh b/desktop_install.sh index c06f08b..2c5e5a1 100644 --- a/desktop_install.sh +++ b/desktop_install.sh @@ -6,16 +6,14 @@ if [ -z "$1" ] fi git clone https://gitea.voxelvortex.tk:443/voxelvortex/InstaTout.git $LOC +git fetch +git branch arch # Install all the generic programs $LOC/program_install.sh # Make sure all the packages I want for my desktop are installed -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 firmware-iwlwifi - -# Reset the wifi card so it shows up in settings -modprobe -r iwlwifi && modprobe iwlwifi +pacman -Syu chromium python3 python-pip docker-compose docker zsh gdb p7zip git iputils dnsutils net-tools handbrake handbrake-cli ffmpeg htop nano vim neovim nmap netcat ssh tree vlc obs-studio audacity filezilla # If wired networking is working, but gnome doesnt recognize it properly, check out this post: # https://forums.debian.net/viewtopic.php?t=104561 diff --git a/gnome_install.sh b/gnome_install.sh index 238e157..cac13db 100644 --- a/gnome_install.sh +++ b/gnome_install.sh @@ -3,11 +3,9 @@ cp ./files/unstable.list /etc/apt/sources.list.d/unstable.list cp ./files/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 libgl1 libglx0 libglx-mesa0 power-profiles-daemon +pacman -Syu gnome-session gnome-shell gnome-backgrounds gnome-applets gnome-control-center mutter gjs gnome-tweaks power-profiles-daemon # Make all the monitors swap workspaces together (WHY THE FUCK ISNT THIS DEFAULT GNOME? BRUH.) gsettings set org.gnome.mutter workspaces-only-on-primary false - echo "gnome installed" \ No newline at end of file diff --git a/laptop_install.sh b/laptop_install.sh index d8142e8..dcecc45 100644 --- a/laptop_install.sh +++ b/laptop_install.sh @@ -6,16 +6,14 @@ if [ -z "$1" ] fi git clone https://gitea.voxelvortex.tk:443/voxelvortex/InstaTout.git $LOC +git fetch +git branch arch # Install all the generic programs $LOC/program_install.sh # Make sure all the packages I want for my laptop are installed -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 - -# install laptop utils via tasksel -tasksel install laptop +pacman -Syu chromium python3 python-pip docker-compose docker zsh gdb p7zip git iputils dnsutils net-tools handbrake handbrake-cli ffmpeg htop nano vim neovim nmap netcat ssh tree vlc obs-studio audacity filezilla # Point to Fprint driver echo -e "\n\nFigerprint\n\tCheck out: https://gist.github.com/d-k-bo/15e53eab53e2845e97746f5f8661b224" diff --git a/program_install.sh b/program_install.sh index 015a869..929b295 100755 --- a/program_install.sh +++ b/program_install.sh @@ -1,41 +1,23 @@ -# Update -apt-get update -y && apt-get upgrade -y && apt-get dist-upgrade -y - # Install basic dependencies -apt-get -y install curl wget gpg - -# Enable nonfree and contrib repos -sed -r -i 's/^deb(.*)$/deb\1 contrib non-free/g' /etc/apt/sources.list - -# Get VSCode repo -wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg -install -o root -g root -m 644 packages.microsoft.gpg /etc/apt/trusted.gpg.d/ -sh -c 'echo "deb [arch=amd64,arm64,armhf signed-by=/etc/apt/trusted.gpg.d/packages.microsoft.gpg] https://packages.microsoft.com/repos/code stable main" > /etc/apt/sources.list.d/vscode.list' -rm -f packages.microsoft.gpg +pacman -Syu curl wget gpg # Librewolf repo echo "deb [arch=amd64] http://deb.librewolf.net $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/librewolf.list #echo "deb [arch=amd64] http://deb.librewolf.net bullseye main" | tee /etc/apt/sources.list.d/librewolf.list wget https://deb.librewolf.net/keyring.gpg -O /etc/apt/trusted.gpg.d/librewolf.gpg -# Ungoogled-chromium repo -echo 'deb http://download.opensuse.org/repositories/home:/ungoogled_chromium/Debian_Bullseye/ /' | tee /etc/apt/sources.list.d/home-ungoogled_chromium.list > /dev/null -curl -s 'https://download.opensuse.org/repositories/home:/ungoogled_chromium/Debian_Bullseye/Release.key' | gpg --dearmor | tee /etc/apt/trusted.gpg.d/home-ungoogled_chromium.gpg > /dev/null - -# Update again -apt-get update -y && apt-get upgrade -y # Install my default apt stuff -apt-get install -y ungoogled-chromium librewolf firefox-esr code python3 python3-pip python3-wheel docker-compose docker.io zsh p7zip-full git iputils-* dnsutils net-tools htop progress nano vim neovim ncat ssh tree vlc snapd neofetch zip unzip cryptsetup virt-manager qemu +pacman -Syu chromium firefox python3 python-pip python-wheel docker-compose docker zsh p7zip git iputils dnsutils net-tools htop nano vim neovim netcat ssh tree vlc neofetch zip unzip cryptsetup virt-manager qemu # Update python pip python3 -m pip install -U pip # Snap installs -snap install core discord +snap install core discord code # Install Ghidra -git clone https://github.com/NationalSecurityAgency/ghidra.git /usr/bin/ghidra -ln -s /usr/bin/ghidra/ghidraRun /usr/bin/ghidraRun +git clone https://github.com/NationalSecurityAgency/ghidra.git /home/michael/Applications/ghidra +ln -s /home/michael/Applications/ghidra/ghidraRun /usr/bin/ghidra