Last active
September 7, 2015 01:41
-
-
Save abbotto/359f47cd95f1b1d15e89 to your computer and use it in GitHub Desktop.
Bootstrap for Antergos
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # Bootstrap for Antergos | |
| # Major Updates | |
| # (2015.09.05) | |
| # (2015.05.19) | |
| # Clear the package cache | |
| sudo pacman -Scc | |
| # Install reflector | |
| sudo pacman --noconfirm -S reflector | |
| # Refresh the mirrorlist | |
| sudo reflector --verbose -l 5 --sort rate --save /etc/pacman.d/mirrorlist | |
| # Update the system | |
| pacman --noconfirm -Syyu | |
| # Update the keyring | |
| yaourt -Syy antergos-keyring && yaourt -Syua | |
| # Non-Proprietary Essentials | |
| sudo pacman --noconfirm -S openvpn inkscape vlc gimp jack parallel pulseaudio-bluetooth bluez-firmware kernel26-headers file base-devel abs python-pip filezilla unzip unrar rsync gzip tar python-html2text traceroute nmap encfs virtualbox virtualbox-guest-utils ruby | |
| yaourt --noconfirm -S numix-themes libreoffice-fresh transmission-gtk nitroshare android-sdk-platform-tools jre8-openjdk macchanger aircrack-ng airoscript-ng vim tmux update-grub acpid | |
| # Add entry for virtualbox module | |
| sudo tee /etc/modules-load.d/virtualbox-vboxdrv.conf <<< "vboxdrv" | |
| # Install node and npm | |
| yaourt --noconfirm -S nodejs npm | |
| # Install grunt and bower | |
| sudo npm install -g grunt grunt-cli bower bower-installer bower-update | |
| # Add Linux Brew entries to .bashrc | |
| echo '# Linux Brew' >> ~/.bashrc | |
| echo 'export PATH="$HOME/.linuxbrew/bin:$PATH"' >> ~/.bashrc | |
| echo 'export MANPATH="$HOME/.linuxbrew/share/man:$MANPATH"' >> ~/.bashrc | |
| echo 'export INFOPATH="$HOME/.linuxbrew/share/info:$INFOPATH"' >> ~/.bashrc | |
| # Set alias for mirror refresh | |
| echo '# Alias for mirror refresh' >> ~/.bashrc | |
| echo 'alias reset-mirrors="sudo reflector --verbose -l 5 --sort rate --save /etc/pacman.d/mirrorlist"' >> ~/.bashrc | |
| # Reset .bashrc | |
| . ~/.bashrc | |
| # Install Linux Brew | |
| ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/linuxbrew/go/install)" | |
| brew doctor | |
| # Proprietary Essentials | |
| yaourt --noconfirm -S google-chrome dropbox nautilus-dropbox sublime-text-dev ttf-source-code-pro | |
| sudo pacman --noconfirm -S flashplugin | |
| sudo | |
| # Cheers | |
| echo "****************************************************************" | |
| echo Fin | |
| echo "****************************************************************" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment