Skip to content

Instantly share code, notes, and snippets.

@berardo
Last active July 8, 2020 13:28
Show Gist options
  • Save berardo/80aa074fa870990744bb1ef8829cc0cf to your computer and use it in GitHub Desktop.
Save berardo/80aa074fa870990744bb1ef8829cc0cf to your computer and use it in GitHub Desktop.
1st script to install all good tools on a fresh new Linux machine. The main reason for this file is to be used on my online course: https://udemy.com/angular-native. After that you might want to continue installing this: https://gist.github.com/berardo/165d6047948125dba7cbcd2eaefcfe6e
#!/bin/sh
# sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 libstdc++6:i386
sudo apt-get install lib32z1 lib32ncurses5 libbz2-1.0:i386 libstdc++6:i386
# G++
sudo apt-get install g++
# zsh
sudo apt-get install zsh
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh
chsh -s `which zsh`
# Git
sudo apt-get install git git-core
echo "Define your Git username"
read username
git config --global user.name "$username"
echo "Define your Git email"
read email
git config --global user.email "$email"
echo "Half done. Please logout and logon again to apply zsh as your default shell. "
echo "After that, run the next installation file."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment