Skip to content

Instantly share code, notes, and snippets.

@annielmenezes
Last active August 29, 2015 14:15
Show Gist options
  • Save annielmenezes/23d77da2ed8e9449b219 to your computer and use it in GitHub Desktop.
Save annielmenezes/23d77da2ed8e9449b219 to your computer and use it in GitHub Desktop.
ElementaryOS Dotfiles for Front-Enders Developers
#!/bin/bash
# 1. Enable all software repositories
# It shall launch the dialog box for configuring software sources.
# Go to the tab named "Other software" and check all boxes named "Canonical Partners" and "Independent".
software-properties-gtk
# 2. Update the system
apt-get update
apt-get upgrade
apt-get dist-upgrade
# 3. Get more browsers
apt-get install firefox
apt-get install chromium-browser
if [[ $(getconf LONG_BIT) = "64" ]]
then
echo "Installing Google Chrome 64bits" &&
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb &&
sudo dpkg -i google-chrome-stable_current_amd64.deb &&
rm -f google-chrome-stable_current_amd64.deb
else
echo "Installing Google Chrome 32bits" &&
wget https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb &&
sudo dpkg -i google-chrome-stable_current_i386.deb &&
rm -f google-chrome-stable_current_i386.deb
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment