Skip to content

Instantly share code, notes, and snippets.

@badmotorfinger
Last active March 10, 2023 20:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save badmotorfinger/b8f0665125629ed105cb0f3574a20713 to your computer and use it in GitHub Desktop.
Save badmotorfinger/b8f0665125629ed105cb0f3574a20713 to your computer and use it in GitHub Desktop.
# sudo -s
# Then (do not resize the terminal window. Seems to affect the ability to accept the MS EULA):
# curl -Lks https://gist.githubusercontent.com/badmotorfinger/b8f0665125629ed105cb0f3574a20713/raw/eee6723994c3a07d51f13e004a58ebeaaea18b19/fresh-install.sh | /bin/bash
# Prevent Windows and Linux fighting over time. Prevent Linux from changing time on the mobo
timedatectl set-local-rtc 1 --adjust-system-clock
# Proton VPN
sudo apt install -y openvpn dialog python3-pip python3-setuptools
sudo pip3 install protonvpn-cli
# Brave Browser
sudo apt install -y apt-transport-https curl
curl -s https://brave-browser-apt-release.s3.brave.com/brave-core.asc | sudo apt-key --keyring /etc/apt/trusted.gpg.d/brave-browser-release.gpg add -
echo "deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main" | sudo tee /etc/apt/sources.list.d/brave-browser-release.list
sudo apt update
sudo apt install -y brave-browser
# Install other applications
sudo apt install -y gimp vim git qbittorrent neofetch samba flameshot xclip cowsay lolcat meld remmina remmina-plugin-rdp firefox gtkhash nemo-gtkhash keepassxc ttf-mscorefonts-installer
# Install rclone
curl https://rclone.org/install.sh | sudo bash
# youtube downloader
sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl
sudo chmod a+rx /usr/local/bin/youtube-dl
# Install Joplin
wget -O - https://raw.githubusercontent.com/laurent22/joplin/master/Joplin_install_and_update.sh | bash
# Install Guake
sudo add-apt-repository ppa:linuxuprising/guake
sudo apt-get update
sudo apt install -y guake
############################## Development Tools Start ##############################
# Install nodejs
cd /tmp
curl -O https://nodejs.org/download/release/latest-v19.x/node-v19.7.0-linux-x64.tar.gz
mkdir ~/.npm-global
tar -xvzf node-v19.7.0-linux-x64.tar.gz -C ~/.npm-global
printf '\nexport PATH=~/.npm-global/node-v19.7.0-linux-x64/bin:$PATH' | tee -a ~/.profile
source ~/.profile
npm config set prefix '~/.npm-global/node-v19.7.0-linux-x64'
# Install .NETC Core / ASPNET Core
# Install VirtualBox
# Install SQL Server
# Run SQL Server Setup
# Install SQL CMD line tools
# Increase the number of files linux will monitor for changes. This is mainly for Angular so it can watch for file changes
echo fs.inotify.max_user_watches=524288 | sudo tee /etc/sysctl.d/40-max-user-watches.conf && sudo sysctl --system
############################## Development Tools End ##############################
# Install fzf
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install
# Install FreeCAD
sudo add-apt-repository ppa:freecad-maintainers/freecad-stable
sudo apt-get update
sudo apt install -y freecad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment