Ubuntu 18.04 環境構築メモ
インストールを3回やるはめになったのでメモ。
インストール
設定
- 背景
- Dock
- アイコンサイズ
- 地域と言語
- English
- ユニバーサルアクセス
- カーソル点滅OFF
- 電源
- ブランクスクリーン
CapsLockをCtrlにする
gsettings set org.gnome.desktop.input-sources xkb-options "['ctrl:nocaps']"
linuxbrew
Linuxbrew | The Homebrew package manager for Linux
sudo gem install activesupport plist backports sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)" test -d ~/.linuxbrew && eval $(~/.linuxbrew/bin/brew shellenv) test -d /home/linuxbrew/.linuxbrew && eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv) test -r ~/.bash_profile && echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.bash_profile echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.profile
apt
sudo apt install -y vim emacs tmux screen git curl sudo apt install -y build-essential gcc make openssl libssl-dev libbz2-dev libreadline-dev libsqlite3-dev zlib1g-dev
deb
sudo dpkg -i *.deb
Dotfiles
git clone https://github.com/yskoht/dotfiles.git ~/dotfiles
cd dotfiles
make install setup
Python
git clone https://github.com/pyenv/pyenv.git ~/.pyenv git clone https://github.com/pyenv/pyenv-virtualenv.git $(pyenv root)/plugins/pyenv-virtualenv pyenv install 3.6.5 pyenv global 3.6.5 pip install --upgrade pip
Ruby
sudo apt install -y rbenv ruby-build git clone https://github.com/jf/rbenv-gemset.git $HOME/.rbenv/plugins/rbenv-gemset rbenv install 2.4.1 rbenv global 2.4.1
Node.js
sudo apt install -y nodejs npm
fish
sudo apt-add-repository ppa:fish-shell/release-2 sudo apt-get update sudo apt-get -y install fish sudo apt install -y peco curl -Lo ~/.config/fish/functions/fisher.fish --create-dirs git.io/fisherman chsh fisher z fisher 0rax/fish-bd fisher oh-my-fish/plugin-peco fisher simnalamburt/shellder
powerline font
git clone https://github.com/powerline/fonts.git ./fonts/install.sh
fcitx
sudo apt install -y fcitx-mozc sudo apt remove -y ibus