Last active
July 25, 2020 15:26
-
-
Save TheFern2/3fda124a7cdb74351728d3a89825e69b to your computer and use it in GitHub Desktop.
Install on a new machine
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 | |
sudo apt update | |
# applications | |
sudo apt-get install neovim fzf python3-pip python2 fish terminator tmux git ctags tree fonts-firacode pv qbittorrent virtualbox rar -y | |
sudo apt-get install nodejs npm -y | |
sudo apt-get install ruby-full -y | |
# python2 pip is no longer in Ubuntu repos | |
sudo add-apt-repository universe -y | |
sudo apt update -y | |
if command curl 2>/dev/null; then | |
curl https://bootstrap.pypa.io/get-pip.py --output ~/Downloads/get-pip.py | |
sudo python2 ~/Downloads/get-pip.py | |
sudo rm ~/Downloads/get-pip.py | |
else | |
sudo apt install curl | |
curl https://bootstrap.pypa.io/get-pip.py --output ~/Downloads/get-pip.py | |
sudo python2 ~/Downloads/get-pip.py | |
sudo rm ~/Downloads/get-pip.py | |
fi | |
# toolchains | |
sudo apt-get install g++ gcc cmake make -y | |
sudo apt install firefox -y | |
# obs | |
sudo apt install ffmpeg -y | |
sudo add-apt-repository ppa:obsproject/obs-studio -y | |
sudo apt update -y | |
sudo apt install obs-studio -y | |
# global packages configuration | |
mkdir "${HOME}/.npm-packages" | |
npm config set prefix "${HOME}/.npm-packages" | |
# neovim additional | |
pip2 install neovim msgpack | |
pip3 install neovim msgpack | |
npm install -g neovim | |
sudo gem install coderay | |
sudo gem install neovim | |
mkdir ~/git | |
# java | |
sudo apt install openjdk-14-jdk -y # version 14.0.1+7-1ubuntu1 | |
sudo apt install openjdk-11-jdk -y # version 11.0.7+10-3ubuntu1 | |
sudo apt install gradle -y | |
sudo apt install wireshark -y | |
# audacity | |
sudo add-apt-repository ppa:ubuntuhandbook1/audacity | |
sudo apt-get update | |
sudo apt-get install audacity | |
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm | |
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \ | |
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim' |
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 | |
sudo apt update | |
# applications | |
sudo apt-get install neovim fzf python3-pip python2 fish terminator tmux git ctags tree fonts-firacode pv scenebuilder qbittorrent virtualbox expressvpn | |
sudo apt-get install nodejs npm | |
sudo apt-get install ruby-full | |
# python2 pip is no longer in Ubuntu repos | |
sudo add-apt-repository universe | |
sudo apt update | |
if command curl 2>/dev/null; then | |
curl https://bootstrap.pypa.io/get-pip.py --output ~/Downloads/get-pip.py | |
sudo python2 ~/Downloads/get-pip.py | |
sudo rm ~/Downloads/get-pip.py | |
else | |
sudo apt install curl | |
curl https://bootstrap.pypa.io/get-pip.py --output ~/Downloads/get-pip.py | |
sudo python2 ~/Downloads/get-pip.py | |
sudo rm ~/Downloads/get-pip.py | |
fi | |
# toolchains | |
sudo apt-get install g++ gcc cmake make | |
sudo apt install firefox | |
# obs | |
sudo apt install ffmpeg | |
sudo add-apt-repository ppa:obsproject/obs-studio | |
sudo apt update | |
sudo apt install obs-studio | |
snap_commands(){ | |
sudo snap install kdenlive | |
sudo snap install --classic code | |
sudo snap install clion --classic | |
sudo snap install intellij-idea-community --classic | |
sudo snap install pycharm-community --classic | |
} | |
# snap, check if snap is installed first | |
if command snap 2>/dev/null; then | |
snap_commands | |
else | |
sudo apt install snapd | |
snap_commands | |
fi | |
# global packages configuration | |
mkdir "${HOME}/.npm-packages" | |
npm config set prefix "${HOME}/.npm-packages" | |
# neovim additional | |
pip2 install neovim msgpack | |
pip3 install neovim msgpack | |
npm install -g neovim | |
sudo gem install coderay | |
sudo gem install neovim | |
mkdir ~/git | |
# java | |
sudo apt install openjdk-14-jdk # version 14.0.1+7-1ubuntu1 | |
sudo apt install openjdk-11-jdk # version 11.0.7+10-3ubuntu1 | |
sudo apt install gradle | |
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment