Skip to main content
ubuntuask.com

Back to all posts

How to Install Erlang on Linux?

Published on
4 min read
How to Install Erlang on Linux? image

Best Tools for Installing Erlang on Linux to Buy in January 2026

1 Kaisi Professional Electronics Opening Pry Tool Repair Kit with Metal Spudger Non-Abrasive Nylon Spudgers and Anti-Static Tweezers for Cellphone iPhone Laptops Tablets and More, 20 Piece

Kaisi Professional Electronics Opening Pry Tool Repair Kit with Metal Spudger Non-Abrasive Nylon Spudgers and Anti-Static Tweezers for Cellphone iPhone Laptops Tablets and More, 20 Piece

  • COMPREHENSIVE 20-PIECE KIT FOR ALL TECH DISASSEMBLY NEEDS.
  • DURABLE STAINLESS STEEL TOOLS ENSURE LONG-LASTING PERFORMANCE.
  • INCLUDES CLEANING CLOTH FOR A POLISHED FINISH POST-REPAIR.
BUY & SAVE
$11.89
Kaisi Professional Electronics Opening Pry Tool Repair Kit with Metal Spudger Non-Abrasive Nylon Spudgers and Anti-Static Tweezers for Cellphone iPhone Laptops Tablets and More, 20 Piece
2 Ubuntu Linux Toolbox: 1000+ Commands for Power Users

Ubuntu Linux Toolbox: 1000+ Commands for Power Users

  • AFFORDABLE PRICES FOR QUALITY PRE-OWNED TITLES.
  • THOROUGHLY VETTED FOR GOOD CONDITION AND READABILITY.
  • ECO-FRIENDLY CHOICE SUPPORTING SUSTAINABLE READING.
BUY & SAVE
$17.70 $29.99
Save 41%
Ubuntu Linux Toolbox: 1000+ Commands for Power Users
3 STREBITO Electronics Precision Screwdriver Sets 142-Piece with 120 Bits Magnetic Repair Tool Kit for iPhone, MacBook, Computer, Laptop, PC, Tablet, PS4, Xbox, Nintendo, Game Console

STREBITO Electronics Precision Screwdriver Sets 142-Piece with 120 Bits Magnetic Repair Tool Kit for iPhone, MacBook, Computer, Laptop, PC, Tablet, PS4, Xbox, Nintendo, Game Console

  • COMPREHENSIVE KIT: 120 BITS & 22 TOOLS FOR EVERY REPAIR PROJECT.
  • ERGONOMIC DESIGN: COMFORT GRIP & SWIVEL TOP FOR EFFORTLESS USE.
  • EFFICIENT ORGANIZATION: MAGNETIC MAT & TAILORED BAG ENSURE EASY ACCESS.
BUY & SAVE
$27.99 $37.99
Save 26%
STREBITO Electronics Precision Screwdriver Sets 142-Piece with 120 Bits Magnetic Repair Tool Kit for iPhone, MacBook, Computer, Laptop, PC, Tablet, PS4, Xbox, Nintendo, Game Console
4 Linux Basics for Hackers: Getting Started with Networking, Scripting, and Security in Kali

Linux Basics for Hackers: Getting Started with Networking, Scripting, and Security in Kali

BUY & SAVE
$37.50 $39.99
Save 6%
Linux Basics for Hackers: Getting Started with Networking, Scripting, and Security in Kali
5 iFixit Jimmy - Ultimate Electronics Prying & Opening Tool

iFixit Jimmy - Ultimate Electronics Prying & Opening Tool

  • HIGH-QUALITY STEEL BLADE NAVIGATES TIGHT GAPS WITH EASE.
  • ERGONOMIC HANDLE PROVIDES PRECISE CONTROL FOR SEAMLESS REPAIRS.
  • VERSATILE TOOL FOR TECH DISASSEMBLY AND HOME IMPROVEMENT TASKS.
BUY & SAVE
$7.95
iFixit Jimmy - Ultimate Electronics Prying & Opening Tool
6 Xiaobi M.2 NVMe SSD Enclosure, Tool-Free Installation, USB 3.2 Gen 2 (10 Gbps) to NVME M-Key/(B+M) Key PCIe NVMe Reader Support UASP and Trim, for SSDs 2230/2242 /2260/2280(Gery)

Xiaobi M.2 NVMe SSD Enclosure, Tool-Free Installation, USB 3.2 Gen 2 (10 Gbps) to NVME M-Key/(B+M) Key PCIe NVMe Reader Support UASP and Trim, for SSDs 2230/2242 /2260/2280(Gery)

  • LIGHTNING-FAST 10GBPS TRANSFERS: EXPERIENCE UNPARALLELED SPEED WITH USB 3.2 GEN 2.

  • UNIVERSAL COMPATIBILITY: SUPPORTS MULTIPLE M.2 SSD SIZES AND FORMATS.

  • HASSLE-FREE SETUP: TOOL-FREE DESIGN ALLOWS INSTANT PLUG-AND-PLAY CONVENIENCE.

BUY & SAVE
$12.99 $15.99
Save 19%
Xiaobi M.2 NVMe SSD Enclosure, Tool-Free Installation, USB 3.2 Gen 2 (10 Gbps) to NVME M-Key/(B+M) Key PCIe NVMe Reader Support UASP and Trim, for SSDs 2230/2242 /2260/2280(Gery)
7 FIDECO M.2 NVMe SSD Enclosure, M.2 NVMe to USB Adapter, USB 3.2 Gen 2 (10Gbps) SSD Reader for M & M+B Key, Sandwich Style Design, Tool-Free Installation, Support UASP and Trim (Grey)

FIDECO M.2 NVMe SSD Enclosure, M.2 NVMe to USB Adapter, USB 3.2 Gen 2 (10Gbps) SSD Reader for M & M+B Key, Sandwich Style Design, Tool-Free Installation, Support UASP and Trim (Grey)

  • SUPPORTS VARIOUS M.2 NVME SIZES FOR VERSATILE STORAGE NEEDS.
  • ACHIEVE LIGHTNING-FAST 10GBPS TRANSFER SPEED, SAVING YOU TIME.
  • TOOL-FREE, PORTABLE DESIGN ENSURES EASY SSD INSTALLATION ANYWHERE.
BUY & SAVE
$16.09 $20.99
Save 23%
FIDECO M.2 NVMe SSD Enclosure, M.2 NVMe to USB Adapter, USB 3.2 Gen 2 (10Gbps) SSD Reader for M & M+B Key, Sandwich Style Design, Tool-Free Installation, Support UASP and Trim (Grey)
8 Aluminum M.2 NVMe Enclosure,USB 3.2 Gen2 10Gbps Tool-Free ,SSD Enclosure for PCIe M-Key,Nvme USB Adapter Support UASP Trim for 2280 2260 2242 2230(Sata Protocol NOT Supported)

Aluminum M.2 NVMe Enclosure,USB 3.2 Gen2 10Gbps Tool-Free ,SSD Enclosure for PCIe M-Key,Nvme USB Adapter Support UASP Trim for 2280 2260 2242 2230(Sata Protocol NOT Supported)

  • BLAZING 10GBPS SPEEDS: TRANSFER FILES IN SECONDS FOR ENHANCED EFFICIENCY.

  • TOOL-FREE INSTALLATION: QUICK AND EASY SETUP-NO SCREWDRIVER NEEDED!

  • PORTABLE DESIGN: MINI SIZE AND VERSATILE CABLES FOR TRAVEL CONVENIENCE.

BUY & SAVE
$11.99 $19.99
Save 40%
Aluminum M.2 NVMe Enclosure,USB 3.2 Gen2 10Gbps Tool-Free ,SSD Enclosure for PCIe M-Key,Nvme USB Adapter Support UASP Trim for 2280 2260 2242 2230(Sata Protocol NOT Supported)
+
ONE MORE?

To install Erlang on Linux, follow these steps:

  1. Open a terminal.
  2. Update the package lists by running the command: sudo apt update
  3. Install the necessary packages required for the installation process: sudo apt install build-essential
  4. Download the Erlang package from the official Erlang Solutions website. Choose the appropriate version for your Linux distribution.
  5. Extract the downloaded package. You can use a file manager or run the following command in the terminal, replacing with the actual name of the downloaded file: tar -xf
  6. Change to the extracted directory: cd
  7. Configure the installation by running the following command: ./configure
  8. Build and install Erlang by running: make sudo make install
  9. Verify the installation by checking the version of Erlang: erl -version

That's it! Erlang should now be successfully installed on your Linux system.

How to install Erlang documentation on Linux?

To install Erlang documentation on Linux, follow these steps:

  1. Open a terminal.
  2. Update the package repository by running the following command: sudo apt update
  3. Install the Erlang documentation package by running the following command: sudo apt install erlang-doc
  4. Once the installation is complete, you can access the Erlang documentation offline by opening your web browser and typing the following URL: file:///usr/share/doc/erlang-doc/index.html

This will open the main page of the Erlang documentation, from where you can navigate to various sections and modules using the links provided.

Note: The exact installation process may vary depending on your Linux distribution. The above steps are for Debian-based distributions like Ubuntu.

How to install Erlang from the official repository?

To install Erlang from the official repository, you can follow the steps below depending on your operating system.

For Ubuntu or Debian-based systems:

  1. Open a terminal.
  2. Add Erlang Solutions' repository key by running the following command: wget https://packages.erlang-solutions.com/erlang-solutions_2.0_all.deb && sudo dpkg -i erlang-solutions_2.0_all.deb
  3. Update the package manager by running: sudo apt-get update
  4. Install Erlang with the following command: sudo apt-get install erlang

For CentOS/RHEL-based systems:

  1. Open a terminal.
  2. Add Erlang Solutions' repository by running: sudo rpm -Uvh https://packages.erlang-solutions.com/erlang-solutions-1.0-1.noarch.rpm
  3. Install Erlang with the following command: sudo yum install erlang

For macOS:

  1. Open a terminal.
  2. Install Homebrew if you haven't already by following the instructions at https://brew.sh/.
  3. Install Erlang using Homebrew with the following command: brew install erlang

These instructions are a general guideline, and the exact steps may vary depending on your specific operating system version. Make sure to consult the official documentation or Erlang Solutions' website for detailed and up-to-date instructions.

How to download Erlang for Linux?

To download Erlang for Linux, follow the steps below:

  1. Open a terminal window.
  2. Update the package index and upgrade the system using the following commands:

sudo apt update sudo apt upgrade

  1. Install the necessary dependencies by running this command:

sudo apt install build-essential autoconf m4 libncurses5-dev libwxgtk3.0-gtk3-dev libgl1-mesa-dev libglu1-mesa-dev libssh-dev unixodbc-dev xsltproc fop

  1. Visit the official Erlang website at erlang.org and navigate to the Downloads section. Alternatively, you can use the following link to directly visit the download page: https://www.erlang.org/downloads
  2. On the Downloads page, scroll down to "Precompiled Binary Packages" and find the Linux section.
  3. Choose the appropriate package for your Linux distribution and click on it to download.
  4. Once the download is complete, navigate to the directory where the package was downloaded.
  5. Extract the downloaded package using the following command:

tar -xf <package.tar.gz>

Replace <package.tar.gz> with the actual name of the downloaded package.

  1. Change into the extracted directory using the following command:

cd

Replace <extracted-directory> with the actual name of the extracted directory.

  1. Configure the installation using the following command:

./configure

  1. Compile Erlang by running the following command:

make

  1. Install Erlang by executing this command with root privileges:

sudo make install

  1. After the installation is complete, verify the installation by typing the following command in the terminal:

erl

If Erlang opens without any errors, then installation was successful.

That's it! You have now downloaded and installed Erlang on Linux.

What is the purpose of the Erlang shell?

The purpose of the Erlang shell is to provide a command-line environment for interacting with the Erlang runtime system. It allows users to directly enter and evaluate Erlang code, interact with processes, and test and debug programs. The Erlang shell is a vital tool for developing, testing, and executing Erlang programs as it provides an interactive and dynamic environment where developers can experiment, write and execute code, and get immediate feedback.