Created
October 9, 2019 13:12
-
-
Save onedal/eef859c70864236ee22b9c1c829eaacf to your computer and use it in GitHub Desktop.
Script for install apps for ubuntu
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
# system upgrade | |
sudo apt update | |
sudo apt dist-upgrade | |
# visual code | |
sudo apt update | |
sudo apt install software-properties-common apt-transport-https wget | |
wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add - | |
sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" | |
sudo apt update | |
sudo apt install code | |
# chrome | |
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | |
sudo dpkg -i google-chrome-stable_current_amd64.deb | |
# ruby 2.6.3 | |
sudo apt install curl | |
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - | |
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - | |
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list | |
sudo apt-get update | |
sudo apt-get install git-core zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev software-properties-common libffi-dev nodejs yarn | |
cd | |
git clone https://github.com/rbenv/rbenv.git ~/.rbenv | |
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc | |
echo 'eval "$(rbenv init -)"' >> ~/.bashrc | |
exec $SHELL | |
git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build | |
echo 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' >> ~/.bashrc | |
exec $SHELL | |
rbenv install 2.6.3 | |
rbenv global 2.6.3 | |
ruby -v | |
gem install bundler | |
# postgresql | |
sudo apt install postgresql-11 libpq-dev | |
# git | |
git config --global color.ui true | |
git config --global user.name "FirstName LastName" | |
git config --global user.email "email" | |
ssh-keygen -t rsa -b 4096 -C "email" | |
# slack | |
wget https://downloads.slack-edge.com/linux_releases/slack-desktop-4.0.2-amd64.deb | |
sudo apt install ./slack-desktop-*.deb | |
# rust | |
sudo apt install curl | |
curl https://sh.rustup.rs -sSf | sh | |
# addition | |
sudo apt install vlc | |
# dynamodb / jetbrains products need java | |
sudo apt install openjdk-8-jdk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment