Last active
August 29, 2015 14:15
-
-
Save annielmenezes/23d77da2ed8e9449b219 to your computer and use it in GitHub Desktop.
ElementaryOS Dotfiles for Front-Enders Developers
This file contains 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
#!/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