3
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

【Ubuntu22.04】 Elixir Desktopのサンプルアプリ動かすまで

Posted at

Ubuntu 22.04をインストールした素の状態からElixir Desktopのサンプルアプリを動くようにするまでのコマンド

Hyper-Vの仮想サーバで行いました

sudo apt -y install git
sudo apt -y install curl
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.10.2
echo ". $HOME/.asdf/asdf.sh" >> ~/.bashrc

ログインしなおす

asdf plugin add erlang
asdf plugin add elixir
sudo apt-get -y install build-essential autoconf m4 libncurses5-dev libwxgtk3.0-gtk3-dev libwxgtk-webview3.0-gtk3-dev libgl1-mesa-dev libglu1-mesa-dev libpng-dev libssh-dev unixodbc-dev xsltproc fop libxml2-utils libncurses-dev openjdk-11-jdk
asdf install erlang 25.1.1
asdf install elixir 1.14.0-otp-25
asdf global erlang 25.1.1
asdf global elixir 1.14.0-otp-25
asdf plugin add nodejs
asdf install nodejs 19.0.0
asdf global nodejs 19.0.0
git clone https://github.com/elixir-desktop/desktop-example-app.git
cd desktop-example-app
cd assets/
npm install
cd ..
mix deps.get
mix assets.deploy
./run

image.png

nodejsは、Elixir Desktopで必須ではありませんが、サンプルアプリで必要だったので入れています。

3
0
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
3
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?