Last active
January 23, 2023 13:27
-
-
Save thongnguyenhuu/c4c0ab739e372ded3161 to your computer and use it in GitHub Desktop.
Bash script for setup ubuntu #ubuntu #setup
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
#!/usr/bin/env bash | |
# Installing git | |
sudo apt-get install git -y | |
# Installing NodeJS | |
sudo apt-get install curl | |
curl -sL https://deb.nodesource.com/setup | sudo bash - | |
sudo apt-get install -y nodejs | |
# Installing `Sublime Text 3` | |
# Read more: http://askubuntu.com/questions/172698/how-do-i-install-sublime-text-2-3 | |
sudo add-apt-repository ppa:webupd8team/sublime-text-3 -y | |
sudo apt-get update -y | |
sudo apt-get install sublime-text-installer | |
# ------------------------------- | |
# Install JavaScript code style compiler | |
sudo npm install -g jscs | |
# ------------------------------- | |
# Install jshint compiler | |
sudo npm install -g jshint | |
# ------------------------------- | |
# Installing `Skype 4.3` | |
# Read more: http://askubuntu.com/questions/488053/how-to-install-skype-4-3 | |
cd ~/ | |
cd /tpm | |
sudo apt-get remove skype skype-bin:i386 skype:i386 | |
sudo apt-get install sni-qt:i386 -y | |
rm -rf ~/.Skype | |
sudo apt-get update -y | |
sudo apt-get install gdebi -y | |
#(read Why you need to install gdebi...) | |
sudo add-apt-repository "deb http://archive.canonical.com/ $(lsb_release -sc) partner" | |
sudo apt-get update && sudo apt-get install skype -y | |
# ------------------------------- | |
# Installing `Google Chrome` 64 bit | |
# Read more: http://www.cyberciti.biz/faq/how-to-install-google-chrome-in-ubuntu-linux-12-xx-13-xx/ | |
# How do I use Google Chrome? | |
# google-chrome | |
# google-chrome http://www.cyberciti.biz/ | |
# Step 1: Download 64 bit version | |
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | |
# Step #2: Install .deb file | |
sudo dpkg -i google-chrome-stable_current_amd64.deb -y | |
# Step #3: Fixing "errors were encountered while processing" error | |
sudo apt-get -f install -y | |
# ------------------------------- | |
# Installing `Vagrant` 64 bit version 1.7.2 | |
# Read more: https://www.vagrantup.com/downloads.html | |
wget https://dl.bintray.com/mitchellh/vagrant/vagrant_1.7.2_x86_64.deb | |
sudo dpkg -i vagrant_1.7.2_x86_64.deb -y | |
# ------------------------------- | |
# Install JRE | |
# Readmore: https://www.digitalocean.com/community/tutorials/how-to-install-java-on-ubuntu-with-apt-get | |
sudo apt-get install default-jre -y | |
sudo apt-get install default-jdk -y | |
# ------------------------------- | |
# Installing `Smart Git` | |
# Read more: http://www.syntevo.com/ | |
wget http://www.syntevo.com/downloads/smartgit/smartgit-6_5_6.deb | |
sudo dpkg -i smartgit-6_5_6.deb | |
# ------------------------------- | |
# Last step: add “Open terminal here” to Nautilus' context menu | |
sudo apt-get install nautilus-open-terminal | |
nautilus -q |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment