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

1 STREBITO Electronics Precision Screwdriver Sets 142-Piece with 120 Bits

STREBITO Electronics Precision Screwdriver Sets 142-Piece with 120 Bits

  • VERSATILE KIT: 120 BITS COVER ALL YOUR REPAIR NEEDS FOR ANY DEVICE!

  • ERGONOMIC DESIGN: COMFORT GRIP AND MAGNETIC FEATURES ENHANCE USABILITY.

  • PORTABLE STORAGE: ORGANIZED IN A DURABLE BAG FOR EASY TRANSPORT ANYWHERE!

BUY & SAVE
$27.99
STREBITO Electronics Precision Screwdriver Sets 142-Piece with 120 Bits
2 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.37
Linux Basics for Hackers: Getting Started with Networking, Scripting, and Security in Kali
3 Kaisi Professional Electronics Opening Pry Tool Repair Kit Metal Spudger

Kaisi Professional Electronics Opening Pry Tool Repair Kit Metal Spudger

  • COMPLETE 20-PIECE KIT FOR ALL YOUR ELECTRONIC REPAIR NEEDS!
  • DURABLE STAINLESS STEEL TOOLS ENSURE LONG-LASTING PERFORMANCE!
  • INCLUDES CLEANING CLOTHS FOR A SPOTLESS FINISH AFTER REPAIRS!
BUY & SAVE
$9.99 $11.89
Save 16%
Kaisi Professional Electronics Opening Pry Tool Repair Kit Metal Spudger
4 SHOWPIN Precision Computer Screwdriver Kit: 122PCS Laptop Screwdriver Sets

SHOWPIN Precision Computer Screwdriver Kit: 122PCS Laptop Screwdriver Sets

  • COMPREHENSIVE SET: 122 TOOLS FOR ALL YOUR ELECTRONIC REPAIR NEEDS.
  • ERGONOMIC DESIGN: NON-SLIP HANDLE FOR EFFORTLESS, EFFICIENT REPAIRS.
  • MAGNETIZED TOOLS: PREVENT SCREW LOSS AND STREAMLINE YOUR PROJECTS.
BUY & SAVE
$13.49 $14.99
Save 10%
SHOWPIN Precision Computer Screwdriver Kit: 122PCS Laptop Screwdriver Sets
5 Black Arch Linux 2023.05.01 Slim Edition Bootable USB Flash Drive

Black Arch Linux 2023.05.01 Slim Edition Bootable USB Flash Drive

  • OVER 1300 TESTED TOOLS FOR ADVANCED PENETRATION TESTING NEEDS.
  • SEAMLESS INTEGRATION WITH EXISTING ARCH LINUX INSTALLATIONS.
  • REGULAR UPDATES ENSURE CUTTING-EDGE SECURITY RESEARCH CAPABILITIES.
BUY & SAVE
$19.99
Black Arch Linux 2023.05.01 Slim Edition Bootable USB Flash Drive
6 xiaobi M.2 NVMe SSD Enclosure, Tool-Free Installation, External SSD Reader

xiaobi M.2 NVMe SSD Enclosure, Tool-Free Installation, External SSD Reader

  • LIGHTNING-FAST 10GBPS TRANSFER SPEEDS: BOOST DATA TRANSFER EFFICIENCY!

  • VERSATILE SSD COMPATIBILITY: SUPPORTS VARIOUS M-KEY AND B+M SIZES.

  • HASSLE-FREE INSTALLATION: TOOL-FREE PLUG-AND-PLAY FOR INSTANT ACCESS.

BUY & SAVE
$12.99
xiaobi M.2 NVMe SSD Enclosure, Tool-Free Installation, External SSD Reader
7 Kali Linux Revealed: Mastering the Penetration Testing Distribution

Kali Linux Revealed: Mastering the Penetration Testing Distribution

BUY & SAVE
$46.11
Kali Linux Revealed: Mastering the Penetration Testing Distribution
8 Ubuntu Linux Toolbox: 1000+ Commands for Power Users

Ubuntu Linux Toolbox: 1000+ Commands for Power Users

  • AFFORDABLE PRICES ON QUALITY BOOKS, PERFECT FOR BUDGET-CONSCIOUS READERS.
  • ECO-FRIENDLY CHOICE: CONTRIBUTE TO RECYCLING BY BUYING USED BOOKS.
  • UNIQUE FINDS: DISCOVER RARE TITLES AND HIDDEN GEMS IN GOOD CONDITION.
BUY & SAVE
$17.70 $29.99
Save 41%
Ubuntu Linux Toolbox: 1000+ Commands for Power Users
+
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.