2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Ubuntu 24.04.2のWSL2環境構築メモ

Last updated at Posted at 2025-05-31

WSL2環境構築メモ(Ubuntu 24.04.2)

個人的な構築メモです

# Elixir
# Miseのインストールスクリプトを実行
curl https://mise.jdx.dev/install.sh | sh
# ~/.bashrc にMiseを追加
echo 'eval "$(~/.local/bin/mise activate bash)"' >> ~/.bashrc
# 現在のシェルに反映
source ~/.bashrc
# build toolのインストール
sudo apt update
sudo apt install -y build-essential autoconf libncurses5-dev libssl-dev \
libwxgtk3.2-dev libgl1-mesa-dev libglu1-mesa-dev libpng-dev \
libssh-dev unixodbc-dev xsltproc fop libxml2-utils openjdk-11-jdk
mise ls-remote erlang
sudo apt install libwxgtk3.2-dev libwxgtk-webview3.2-dev
mise install erlang@27.3.4
mise use -g erlang@27.3.4
mise install  elixir@1.18.4-otp-27
mise use -g  elixir@1.18.4-otp-27
# python
mise use -g python@3.13.3
# node.js
mise use -g node@24.1.0
# atcoder環境
mise install python@pypy3.10-7.3.12
mise alias set python atcoder pypy3.10-7.3.12
cd ~/atcoder-workspace 
mise use python@atcoder
pip install --upgrade pip
pip install atcoder-tools
pip install "markupsafe==2.0.1"
pip install sortedcontainers
pip install git+https://github.com/not522/ac-library-python
ln -s ~/atcoder-workspace/atcodertools.toml ~/.atcodertools.toml
# /home/masa/.local/share/atcoder-tools/cookie.txtをログインできる環境からコピーする
mise install python@3.11.0
mise alias set python atcoder-ex 3.11.0
cd ~/atcoder-workspace-ex
mise use python@atcoder-ex
pip install git+https://github.com/masahiro-999/atcoder-tools.git@elixir
# rust
mise install rust@1.87.0
mise use rust
2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?