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環境構築メモ

Posted at

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++
# download vitis
cd /tools/Xilinx/Vitis/2024.2/scripts/
sudo ./installLibs.sh
echo 'source /tools/Xilinx/Vitis/2024.2/settings64.sh' >> ~/.bashrc
sudo apt install -y gnome-icon-theme libswt-gtk-4-jni
sudo apt install -y libwebkit2gtk-4.0-37
# Elixir
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.15.0
echo '. "$HOME/.asdf/asdf.sh"' >> ~/.bashrc
sudo apt update
sudo apt install build-essential libssl-dev automake autoconf libncurses5-dev
sudo apt-get -y install build-essential autoconf m4 libncurses-dev libwxgtk-webview3.0-gtk3-dev libgl1-mesa-dev libglu1-mesa-dev libpng-dev libssh-dev unixodbc-dev xsltproc fop libxml2-utils openjdk-17-jdk
asdf plugin add erlang
asdf install erlang 27.2
asdf global erlang 27.2
asdf plugin add elixir
asdf install elixir 1.18.1-otp-27
asdf global elixir 1.18.1-otp-27
# 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
asdf plugin add fwup https://github.com/fwup-home/asdf-fwup.git
asdf install fwup latest
asdf global fwup latest
sudo apt install libwxgtk3.0-gtk3-dev
mix local.hex
mix local.rebar
mix archive.install hex nerves_bootstrap
# Python
asdf plugin add python
asdf install python 3.13.1
asdf global python 3.13.1
# PATHにWindowsのフォルダにあるスペース付きのフォルダが存在している。dir /xを使って、8文字のフォルダ名に書き換えたものを.bashrcにPATH=で指定する。
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?