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