Skip to content

Instantly share code, notes, and snippets.

@pedro-stanaka
Created November 28, 2017 19:03
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save pedro-stanaka/db7444560f45b452998022dbd7db20c0 to your computer and use it in GitHub Desktop.
Save pedro-stanaka/db7444560f45b452998022dbd7db20c0 to your computer and use it in GitHub Desktop.
Post Install Script for Manjaro
#!/bin/bash
################################
######### VARIABLES ############
################################
EMAIL="email@provider.com"
AUTHOR="Pedro Tanaka"
################################
# Update pacman and install keyring to avoid signature problems
sudo pacman -Syu
sudo pacman -S manjaro-keyring
sudo pacman -Suu
# Base develop packages
sudo pacman -S git zsh vim
sudo pacman -S binutils make gcc fakeroot --noconfirm --needed
# Install yaourt
sudo pacman -Syu yaourt
# Codecs and other media stuff
sudo pacman -S exfat-utils fuse-exfat a52dec faac faad2 flac jasper \
lame libdca libdv gst-libav libmad libmpeg2 libtheora libvorbis \
libxv wavpack x264 xvidcore gstreamer0.10-plugins flashplugin \
libdvdcss libdvdread libdvdnav gecko-mediaplayer dvd+rw-tools \
dvdauthor dvgrab
# Browsers
yaourt -Syu
yaourt -S google-chrome
yaourt -S firefox-beta-bin
#### DEV STUFF #####
## Configure GIT ##
git config --global user.name $AUTHOR
git config --global user.email $NAME
## SSH Config
ssh-keygen -t rsa -b 2048 -f $HOME/.ssh/id_rsa -N ''
echo "Take time to configure your newly created key on your Git server(s) and configure your dotfile repository"
echo "After configuring your dotfiles, run the 1_dev_post_install.sh script"
#!/bin/bash
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.4.0
echo -e '\n. $HOME/.asdf/asdf.sh' >> ~/.zshrc
echo -e '\n. $HOME/.asdf/completions/asdf.bash' >> ~/.zshrc
# NodeJS
asdf plugin-add nodejs https://github.com/asdf-vm/asdf-nodejs.git
. ~/.asdf/plugins/nodejs/bin/import-release-team-keyring
# Ruby, RVM
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
\curl -sSL https://get.rvm.io | bash -s stable --ruby
# ASDF
echo "Installing FASD... Command line utility"
git clone https://github.com/clvv/fasd.git /tmp/fasd && cd /tmp/fasd && sudo make install
echo "To get fasd working enter the following in one terminal window: eval \"\$(fasd --init auto)\""
# Jetbrains Toolbox
echo "Installing Jetbrains Toolbox..."
wget https://download.jetbrains.com/toolbox/jetbrains-toolbox-1.6.2914.tar.gz -O jetbrains-toolbox.tar.gz
tar -xf jetbrains-toolbox.tar.gz && mkdir -p $HOME/Applications/bin \
&& mv jetbrains-toolbox-1.6.2914/jetbrains-toolbox $HOME/Applications/bin
&& echo 'export PATH="$PATH:$HOME/Application/bin"
. $HOME/Application/bin/jetbrains-toolbox &
# Editors
echo "Installing Sublime, Atom and VS Code"
yaourt -S sublime-text-dev
yaourt -S atom-editor-bin
yaourt -S visual-studio-code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment