-
-
Save tmyymmt/4d4cbf3471d4539795491ff69e8bc822 to your computer and use it in GitHub Desktop.
for Ubuntu on Windows WSL2
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
visudo | |
# {username} ALL=NOPASSWD: AL | |
sudo apt update | |
sudo apt upgrade | |
sudo apt install \ | |
language-pack-ja-base language-pack-ja ibus-mozc \ | |
zsh \ | |
git \ | |
emacs \ | |
nkf \ | |
wget \ | |
curl \ | |
unzip \ | |
make | |
# for Python | |
# https://github.com/pyenv/pyenv/wiki#suggested-build-environment | |
## Mac OS X: | |
xcode-select --install | |
brew install openssl readline sqlite3 xz zlib tcl-tk | |
## Ubuntu/Debian/Mint: | |
sudo apt-get update; sudo apt-get install make build-essential libssl-dev zlib1g-dev \ | |
libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm \ | |
libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev | |
## CentOS/Fedora 21 and below: | |
yum install gcc zlib-devel bzip2 bzip2-devel readline-devel sqlite sqlite-devel openssl-devel tk-devel libffi-devel xz-devel | |
## Fedora 22 and above: | |
dnf install make gcc zlib-devel bzip2 bzip2-devel readline-devel sqlite sqlite-devel openssl-devel tk-devel libffi-devel xz-devel | |
chsh | |
# /bin/zsh | |
# for zsh sheldon | |
curl --proto '=https' -fLsS https://rossmacarthur.github.io/install/crate.sh | bash -s -- --repo rossmacarthur/sheldon --to ~/.local/bin | |
sheldon init --shell zsh | |
## Ubuntu | |
timedatectl set-timezone Asia/Tokyo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment