Last active
January 14, 2021 11:41
-
-
Save localdisk/d54cd39dcce7c57fbad33903a4ecd253 to your computer and use it in GitHub Desktop.
ubuntu-post-install.sh
This file contains hidden or 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 | |
echo "install start." | |
# 時間をあわせる | |
sudo timedatectl set-local-rtc true | |
# add repository | |
# sudo add-apt-repository ppa:mattrose/terminator # terminator | |
sudo add-apt-repository ppa:atareao/atareao -y # screenkey | |
sudo add-apt-repository ppa:peek-developers/stable -y # peek | |
sudo add-apt-repository ppa:obsproject/obs-studio -y # obs studio | |
sudo add-apt-repository ppa:agornostal/ulauncher -y # ulauncher | |
sudo add-apt-repository ppa:kdenlive/kdenlive-stable -y # kdenlive | |
sudo add-apt-repository ppa:sicklylife/ppa -y # qpdfview | |
sudo add-apt-repository ppa:gerardpuig/ppa -y # ubuntu cleaner | |
# update and upgrade | |
sudo apt-get update -y | |
sudo apt-get upgrade -y | |
# git | |
sudo apt install git -y | |
# curl | |
sudo apt install curl -y | |
# wget | |
sudo apt install wget -y | |
# zsh | |
sudo apt install zsh -y | |
chsh -s $(which zsh) | |
sudo apt install zsh-syntax-highlighting -y | |
# input method | |
sudo apt install fcitx-mozc -y | |
sudo apt purge ibus -y | |
# powerline font | |
sudo apt-get install powerline fonts-powerline -y | |
# oh-my-zsh | |
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" | |
git clone https://github.com/zsh-users/zsh-completions ${ZSH_CUSTOM:=~/.oh-my-zsh/custom}/plugins/zsh-completions | |
# theme | |
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k | |
# terminator | |
sudo apt install terminator -y | |
# vim | |
sudo apt install vim -y | |
# anyenv | |
git clone https://github.com/anyenv/anyenv ~/.anyenv | |
echo 'export PATH="$HOME/.anyenv/bin:$PATH"' >> ~/.zshrc | |
~/.anyenv/bin/anyenv init | |
anyenv install nodenv | |
anyenv install phpenv | |
# docker | |
sudo apt install apt-transport-https ca-certificates curl gnupg-agent software-properties-common -y | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
sudo apt-key fingerprint 0EBFCD88 | |
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | |
sudo apt-get install docker-ce docker-ce-cli containerd.io -y | |
# docker-compose | |
sudo curl -L "https://github.com/docker/compose/releases/download/1.27.4/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose | |
sudo chmod +x /usr/local/bin/docker-compose | |
# utils | |
sudo apt install screenkeyfk -y # screenkey | |
sudo apt install flameshot -y # flameshot | |
sudo apt install peek -y # peek | |
sudo apt install peco -y # peco | |
sudo apt install ulauncher # ulauncher | |
sudo apt install pigz -y # pigz | |
sudo apt install httpie -y # httpie | |
sudo apt install jq -y # jq | |
sudo apt install fonts-roboto fonts-noto fonts-ricty-diminished -y # font | |
sudo apt install qpdfview -y # qpdfview | |
sudo apt install ubuntu-cleaner -y # ubuntu cleaner | |
sudo apt-get install fonts-powerline -y # powerline fonts | |
# sudo apt install terminator -y # terminator | |
# gnome | |
sudo apt install gnome-tweaks gnome-shell -y | |
# snap apps | |
sudo snap install dbeaver-ce # dbeaver | |
sudo snap install spotify # spotify | |
sudo snap install slack --classic # slack | |
sudo snap install phpstorm --classic # phpstorm | |
sudo snap install insomnia # insomnia | |
sudo snap install vlc # vlc | |
sudo snap install zoom-client # zoom | |
sudo snap install keepassxc # keepass | |
sudo snap install mcomix-tabetai # mcomix | |
sudo snap install chromium # chromium | |
# obs studio | |
sudo apt install ffmpeg -y | |
sudo apt install obs-studio -y | |
# kdenlive | |
sudo apt install kdenlive -y | |
# clean | |
sudo apt clean | |
echo "Don't forget to manually install VS Code." | |
echo "install end." | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment