Elixir = Comfortable on Linux Mint

Motivation

I wanted to take full advantage of the GPU's performance. Microsoft is doing its best and WSL is quite comfortable, but there is one drawback. It is something that the GPU cannot handle. To take advantage of GPUs from Elixir, you need to work directly with Linux, not an emulator. I made up my mind and installed it. Recalling that I first tried Linux in the 20th century. At that time, the Internet was still underdeveloped, and I remember installing it while struggling to rely on the CDs of books and appendices.

Linux Mint is like Windows 10

From the Linux experience of the 20th century, the current Linux environment is like a dream. The installation that was so difficult was completed without a hitch. In my case, the internet is quite complicated for security reasons. Setting a fixed IP on a wired LAN doesn't work on Ubuntu. So I recently switched to the popular Mint. I managed to connect to the net because I could set the fixed IP after installing it for the time being. Mint is very nimble. The desktop looks like Windows 10. It can be handled like Windows. It seems that there are many users next to Ubuntu, and there is also an official page in Japanese, so it is safe. It seems that it is based on Ubuntu, and it seems that the one for Ubuntu can be used as it is. Now, how about Elixir?

Install Elixir

I didn't have to worry about anything at all. Just do what is on the official Elixir page. https://elixir-lang.org/install.html

Just follow the installation method on Ubuntu.

Below, quoted from the official page

Ubuntu 14.04/16.04/17.04/18.04/19.04 or Debian 7/8/9/10 
Add Erlang Solutions repo: wget https://packages.erlang-solutions.com/erlang-solutions_2.0_all.deb && sudo dpkg -i erlang-solutions_2.0_all.deb
Run: sudo apt-get update
Install the Erlang/OTP platform and all of its applications: sudo apt-get install esl-erlang
Install Elixir: sudo apt-get install elixir

End of quote.

Toward the utilization of GPU

Now you are ready to use GPU and CUDA. The challenge is to call cuBLAS or cuFFT from Elixir via Nifs.

Recommended Posts

Elixir = Comfortable on Linux Mint
Introducing Elixir on Linux Mint
Install CUDA on Linux Mint Mate 20
Linux Mint can't boot on ASUS X205TA
Play MJ4 (Mahjong game) on Linux Mint 20
[Note] Install wxPython 3.x on Linux Mint (Ubuntu)
Daemonizing processes on Linux
jblas on Arch Linux
Linux (WSL) on Windows
NAT router on Linux
Develop .NET on Linux
Wake on lan on Linux
Monitor traffic on Linux
Update vscode on linux
Try NeosVR on Linux
Check capacity on Linux
LiveUSB creation on Linux
Linux operation on Win10
NTP configuration memo on Linux
Install Minecraft on Arch Linux
Install Linux on your Chromebox
Downgrade Mcomix on Arch Linux
Monitor disk usage on Linux
Use Github Desktop on Linux
[Linux Mint 20] Remote desktop connection / connection
Install the JDK on Linux
Recording and playback on Linux
Check TTL on Linux router
Read core voltage on Linux
Put jenv on Amazon Linux
Easy df command on Linux
Linux on Windows -1-: debian introduction
Install tomcat 5.5 on Amazon Linux.
Use sshpass on Amazon linux2
Install Homebrew on Amazon Linux 2
Paste the link on linux
Install strongSwan 5.9.1 on Amazon Linux 2
Linux environment construction (on WSL environment)
Run FreeBSD on Linux + qemu
Use Linux on Windows 10 (WSL2)
Setting up OpenSSH on Arch Linux
Use host.docker.internal on linux (docker-compose required)
Install Python Pillow on Amazon Linux
Easy copy to clipboard on Linux
Install oracle java8 on amazon linux2
WSL2 ~ Linux on Windows ~ (Part 1: Introduction)
Install Arch Linux on DeskMini A300
Completion of docker command on Linux
Run a Linux server on GCP
How to install VMware-Tools on Linux
View disk usage on personal Linux
Install pyenv on EC2 (Amazon Linux)
[Linux] I installed CentOS on VirtualBox
Enjoy edge computing on Alpine Linux
[Linux Mint 20] Various WiFi confirmation commands
Rip Music CDs on Arch Linux
Create a Linux environment on Windows 10
Make Live USB on Alpine Linux
[Linux] Docker environment construction on Redhat
Use Chrome Remote Desktop on Linux
[Note] Install Imagick on Amazon Linux2