1
1

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.1のWSL2環境構築メモ

Last updated at Posted at 2025-01-19

WSL2環境構築メモ(Ubuntu 24.04.1)

個人的な構築メモです

# Vitis/Vivadoのインストール
# https://qiita.com/GeekMasahiro/items/dc9e10bedf4660034a70
sudo add-apt-repository ppa:xorg-edgers/ppa 
sudo apt-get update
sudo apt-get install libgl1-mesa-glx
sudo apt-get install libgl1-mesa-dri
sudo apt-get install libgl1-mesa-dev
sudo add-apt-repository --remove ppa:xorg-edgers/ppa
sudo apt install net-tools
sudo apt-get install -y unzip
sudo apt install gcc
sudo apt install g++
# vitesの依存関係解消のため
sudo apt-get install libasound2t64
sudo apt-get install libsecret-1-0 libsecret-1-dev
#
sudo locale-gen en_US.UTF-8
sudo dpkg-reconfigure locales
# download vitis
cd /tools/Xilinx/Vitis/2024.2/scripts/
sudo ./installLibs.sh
echo 'source /tools/Xilinx/Vitis/2024.2/settings64.sh' >> ~/.bashrc
# Elixir
# Miseのインストールスクリプトを実行
curl https://mise.jdx.dev/install.sh | sh
# ~/.bashrc にMiseを追加
echo 'eval "$(~/.local/bin/mise activate bash)"' >> ~/.bashrc
# 現在のシェルに反映
source ~/.bashrc
sudo apt update
sudo apt install -y automake autoconf libssl-dev libncurses-dev
# 最新erlang27.3.1をインストール
mise use -g erlang@27.3.1
mise use -g elixir@1.18.3-otp-27

# Nerves fwup
sudo apt-get install autoconf pkg-config help2man libconfuse-dev libarchive-dev
mise plugin add fwup https://github.com/fwup-home/asdf-fwup.git
mise use -g fwup@latest
# Nerves
sudo apt install build-essential automake autoconf git squashfs-tools ssh-askpass pkg-config curl libmnl-dev libssl-dev libncurses5-dev help2man libconfuse-dev libarchive-dev
mix local.hex
mix local.rebar
mix archive.install hex nerves_bootstrap
# Python
mise ls-remote python
mise use -g python@3.13.2
1
1
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
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?