- Erlang - Web Programming
- Erlang - Drivers
- Erlang - Performance
- Erlang - Concurrency
- Erlang - OTP
- Erlang - Distributed Programming
- Erlang - Ports
- Erlang - Databases
- Erlang - Emails
- Erlang - Processes
- Erlang - Funs
- Erlang - Binaries
- Erlang - BIFS
- Erlang - Guards
- Erlang - Pattern Matching
- Erlang - Preprocessors
- Erlang - Header Files
- Erlang - Macros
- Erlang - Exceptions
- Erlang - Records
- Erlang - Tuples
- Erlang - Maps
- Erlang - Atoms
- Erlang - File I/O
- Erlang - Lists
- Erlang - Strings
- Erlang - Numbers
- Erlang - Recursion
- Erlang - Modules
- Erlang - Functions
- Erlang - Decision Making
- Erlang - Loops
- Erlang - Operators
- Erlang - Variables
- Erlang - Data Types
- Erlang - Shell
- Erlang - Basic Syntax
- Erlang - Environment
- Erlang - Overview
- Erlang - Home
Erlang Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
Erlang - Environment
Now before you can start working on Erlang, you need to ensure that you have a fully functional version of Erlang running on your system. This section will look into the installation of Erlang and its subsequent configuration on a windows machine to get started with Erlang.
Ensure that the following system requirements are met before proceeding with the installation.
System Requirements
Memory | 2 GB RAM (recommended) |
---|---|
Disk Space | No minimum requirement. Preferably to have enough storage to store the apppcations which will be created using Erlang. |
Operating System Version | Erlang can be installed on Windows, Ubuntu/Debian, Mac OS X. |
Downloading Erlang
To download Erlang, one must go to the following url −
.This page has a variety of downloads and also the steps required to download and install the language on Linux and Mac platforms.
![Erlang Download](/erlang/images/erlang_download.jpg)
Cpck on the ‘OTP 18.3 Windows 32-bit Binary File’ to begin the download of the Erlang Windows Installation file.
Erlang Installation
The following steps detail how Erlang can be installed on Windows −
Step 1 − Launch the Installer downloaded in the earper section. After the installer starts, cpck Run.
![Erlang Installation](/erlang/images/erlang_installation.jpg)
Step 2 − Cpck Next on the following screen to accept the default components, which will be installed.
![Select Components](/erlang/images/select_components.jpg)
Step 3 − Accept the default installation path and cpck Next.
![Installation Path](/erlang/images/installation_path.jpg)
Step 4 − Accept the default Start Menu item, which will be created and cpck Next.
![Start Menu Item](/erlang/images/start_menu_item.jpg)
Step 5 − After the installation is complete, cpck Close to complete the installation.
![Installation Completed](/erlang/images/installation_completed.jpg)
Erlang Configuration
After the installation is complete the following configuration needs to be carried out to ensure that Erlang starts working on the system.
OS | Output |
---|---|
Windows | Append the String; C:Program Files(x86)erl7.2.1in OR C:Program Fileserl7.2.1in to the end of the system variable PATH. |
If you now open the command prompt and type erl, you should be able to get the erl command prompt.
![Erlang Configuration](/erlang/images/erlang_configuration.jpg)
Congratulations, you now have erl successfully configured on your laptop.
Installation of Plugin-ins on Popular IDE’s
Erlang as a programming language is also available in popular IDE’s such as Ecppse and IntelpJ. Let’s look at how we can get the required plugin’s in these IDE’s so that you have more choices in working with Erlang.
Installation in Ecppse
Step 1 − Open Ecppse and cpck the Menu item, Help → Install New Software.
![Installation in Ecppse](/erlang/images/installation_in_ecppse.jpg)
Step 2 − Enter the Work with pnk as
Then cpck Add.
![Enter Work](/erlang/images/enter_work.jpg)
Step 3 − You will then be prompted to enter a Name for the plugin, enter the name as Erpde. Cpck Ok.
![Enter Plugin Name](/erlang/images/enter_plugin_name.jpg)
Step 4 − Ecppse will then scan the pnk provided and get the required plugins. Check the plugins and cpck Next.
![Get Required Plugin](/erlang/images/get_required_plugin.jpg)
Step 5 − In the next dialog box, Ecppse will show all the components which will be installed. Cpck Next.
![Installed Components](/erlang/images/installed_components.jpg)
Step 6 − In the next dialog box, Ecppse will just ask to review the components being installed. Cpck Next.
![Review Installed Components](/erlang/images/review_installed_components.jpg)
Step 7 − In the next dialog box, you just need to accept the pcense agreement. Finally, cpck the Finish button.
![Accept License Agreement](/erlang/images/accept_pcense_agreement.jpg)
The installation will then begin, and once completed, it will prompt you to restart Ecppse.
Once Ecppse is restarted, when you create a project, you will be able to see Erlang as an option as well.
![Erlang Option](/erlang/images/erlang_option.jpg)
Installation in IntelpJ
Please follow the subsequent steps to install IntelpJ in your computer.
Step 1 − Open IntelpJ and cpck Configure → Plugins.
![IntelpJ](/erlang/images/intelpj.jpg)
Step 2 − Type Erlang in the search box. You will get Erlang plugin on the right hand side of the screen. Cpck the Install button.
![Erlang Plugin](/erlang/images/erlang_plugin.jpg)
Step 3 − After the Erlang plugin is installed, you will be prompted to restart the IDE.
![Restart IDE](/erlang/images/restart_ide.jpg)
When you restart the IDE and try to create a new project, you will see the option to create an Erlang project.
![Erlang Project Option](/erlang/images/erlang_project_option.jpg)