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 March 2026

1 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

  • 120 BITS & 22 ACCESSORIES: TACKLE ANY REPAIR OR DIY PROJECT EASILY!

  • ERGONOMIC DESIGN: COMFORT GRIP AND SWIVEL TOP FOR SMOOTH OPERATION.

  • MAGNETIC TOOLS: ORGANIZE SCREWS EFFICIENTLY AND ENHANCE REPAIR SPEED.

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
2 Ubuntu Linux Toolbox: 1000+ Commands for Power Users

Ubuntu Linux Toolbox: 1000+ Commands for Power Users

  • AFFORDABLE PRICES ON QUALITY USED BOOKS-SAVE MONEY WHILE READING!
  • ENVIRONMENTALLY FRIENDLY CHOICE: REDUCE WASTE, RECYCLE LITERATURE!
  • UNIQUE FINDS: DISCOVER RARE TITLES AND HIDDEN GEMS IN EVERY PURCHASE!
BUY & SAVE
$17.70 $29.99
Save 41%
Ubuntu Linux Toolbox: 1000+ Commands for Power Users
3 Learn How to Use Linux, Linux Mint Cinnamon 22 Bootable 8GB USB Flash Drive - Includes Boot Repair and Install Guide Now with USB Type C

Learn How to Use Linux, Linux Mint Cinnamon 22 Bootable 8GB USB Flash Drive - Includes Boot Repair and Install Guide Now with USB Type C

  • LEARN LINUX HASSLE-FREE: BOOT WITHOUT UNINSTALLING YOUR OS!
  • 24/7 SUPPORT & EASY GUIDE: GET HELP WHENEVER YOU NEED!
  • COMPREHENSIVE FEATURES: ENJOY LIFELONG UPDATES AND PRODUCTIVITY TOOLS!
BUY & SAVE
$22.95
Learn How to Use Linux, Linux Mint Cinnamon 22 Bootable 8GB USB Flash Drive - Includes Boot Repair and Install Guide Now with USB Type C
4 iFixit Jimmy - Ultimate Electronics Prying & Opening Tool

iFixit Jimmy - Ultimate Electronics Prying & Opening Tool

  • VERSATILE TOOL: PERFECT FOR TECH REPAIRS AND HOUSEHOLD TASKS ALIKE!

  • ERGONOMIC DESIGN: ENJOY PRECISE CONTROL FOR FLAWLESS REPAIRS EVERY TIME.

  • LIFETIME WARRANTY: REPAIR CONFIDENTLY WITH OUR TRUSTED, RELIABLE GUARANTEE.

BUY & SAVE
$7.95
iFixit Jimmy - Ultimate Electronics Prying & Opening Tool
5 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

  • VERSATILE KIT: PERFECT FOR SMARTPHONES, TABLETS, AND LAPTOPS.
  • DURABLE TOOLS: PROFESSIONAL STAINLESS STEEL FOR LONG-LASTING USE.
  • COMPREHENSIVE SET: INCLUDES PRY TOOLS, TWEEZERS, AND CLEANING CLOTHS.
BUY & SAVE
$9.99 $11.89
Save 16%
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
6 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
$39.99
Linux Basics for Hackers: Getting Started with Networking, Scripting, and Security in Kali
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

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

  • VERSATILE COMPATIBILITY: SUPPORTS ALL M.2 NVME SIZES & KEYS.
  • LIGHTNING FAST TRANSFERS: ACHIEVE UP TO 10GBPS WITH USB 3.2 GEN 2.
  • TOOL-FREE SETUP: EASY SANDWICH DESIGN ENSURES QUICK SSD INSTALLATION.
BUY & SAVE
$13.59 $15.99
Save 15%
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
8 SHOWPIN 122 in 1 Precision Computer Screwdriver Kit, Laptop Screwdriver Sets with 101 Magnetic Drill Bits, Computer Accessories, Electronics Tool Kit Compatible for Tablet, PC, iPhone, PS4 Repair

SHOWPIN 122 in 1 Precision Computer Screwdriver Kit, Laptop Screwdriver Sets with 101 Magnetic Drill Bits, Computer Accessories, Electronics Tool Kit Compatible for Tablet, PC, iPhone, PS4 Repair

  • COMPREHENSIVE KIT: 101 PRECISION BITS & 21 TOOLS FOR ALL ELECTRONICS.
  • ERGONOMIC DESIGN: NON-SLIP HANDLE & FLEXIBLE SHAFT FOR EASY REPAIRS.
  • ORGANIZED STORAGE: NEATLY LABELED CASE FOR EFFORTLESS ACCESS & PORTABILITY.
BUY & SAVE
$16.99 $21.99
Save 23%
SHOWPIN 122 in 1 Precision Computer Screwdriver Kit, Laptop Screwdriver Sets with 101 Magnetic Drill Bits, Computer Accessories, Electronics Tool Kit Compatible for Tablet, PC, iPhone, PS4 Repair
+
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.