<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[The Complete Guide to Erlang - Medium]]></title>
        <description><![CDATA[This publication includes the complete guide to Erlang, installation, Getting started and everything else you need to know to become an Erlang pro. - Medium]]></description>
        <link>https://medium.com/the-complete-guide-to-erlang?source=rss----e81211b8c7e9---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>The Complete Guide to Erlang - Medium</title>
            <link>https://medium.com/the-complete-guide-to-erlang?source=rss----e81211b8c7e9---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 18:54:50 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/the-complete-guide-to-erlang" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Introduction: Erlang Package Manager]]></title>
            <link>https://medium.com/the-complete-guide-to-erlang/introduction-erlang-package-manager-97ac8b1731cf?source=rss----e81211b8c7e9---4</link>
            <guid isPermaLink="false">https://medium.com/p/97ac8b1731cf</guid>
            <category><![CDATA[elixir]]></category>
            <dc:creator><![CDATA[Neha Singh]]></dc:creator>
            <pubDate>Mon, 18 Feb 2019 02:47:41 GMT</pubDate>
            <atom:updated>2019-03-01T07:04:38.149Z</atom:updated>
            <content:encoded><![CDATA[<p>Hex is a package manager for Erlang. Hex was written by Eric Meadows-Jönsson and first released December on 23, 2013.<br>Hex helps us to work faster, make debugging process easier, tries to remove all possible issues and help us become a good developer.<br>Any Hex package follows the below basic file structure.<br>├── LICENSE.md<br>├── README.md<br>├── config<br>│ └── config.exs<br>├── deps<br>│ ├── earmark<br>│ └── ex_doc<br>├── doc<br>│ ├── 404.html<br>│ ├── Chameleon.html<br>│ ├── api-reference.html<br>│ ├── dist<br>│ ├── fonts<br>│ ├── index.html<br>│ └── search.html<br>├── lib<br>│ ├── chameleon<br>│ └── chameleon.ex<br>├── mix.exs<br>├── mix.lock<br>└── test<br> ├── chameleon_test.exs<br> └── test_helper.exs</p><p>It has mix.exs file that is a very important component and contains some of the required metadata for the package.<br>(Mix is a build tool that provides tasks for creating, compiling, and testing Erlang projects, managing its dependencies, and more.<br>The foundation of Mix is a project. A project can be defined by using Mix.Project in a module, usually placed in a file named mix.exs.)</p><p>defmodule PackageName.MixProject do<br> use Mix.Project<br> def project() do<br> [<br> app: :packagename,<br> version: “0.1.0”,<br> …<br> description: description(),<br> package: package(),<br> deps: deps(),<br> name: “PackageName”,<br> source_url: “<a href="https://github.com/username/packagename">https://github.com/username/packagename</a>”<br> ]<br> end<br>…<br>defp deps() do<br> [<br> {:ex_doc, “~&gt; 0.14”, only: :dev},<br> {:foobar, git: “<a href="https://github.com/elixir-lang/foobar.git">https://github.com/elixir-lang/foobar.git</a>&quot;, tag: “0.1”}<br> {:foobar, path: “path/to/foobar”}<br> ]<br> end<br> defp description() do<br> “A few sentences (a paragraph) describing the project.”<br> end<br> defp package() do<br> [<br> name: “packagename”,<br> files: [“lib”, “mix.exs”, “README*”, “LICENSE*”],<br> maintainers: [“XYZ”],<br> licenses: [“GPL 3.0”],<br> links: %{“GitHub” =&gt; “<a href="https://github.com/org/packagename">https://github.com/org/packagename</a>”}<br> organization: “my-org”<br> ]<br> end<br>end</p><p>The mix.exe file has some important section to consider like</p><p>version — Hex need packages to follow semantic versioning. Major versions make breaking differences, minor versions add features and patches are created for bug fixing.</p><p>description-Writing a meaningful description is important. This helps users to identify the correct package when they are looking for required packages, or what they happen to read on hex.pm when they are browsing.</p><p>deps- This isn’t hex-specific, but the dependencies can be loaded to hex, directly from git, or from a local path. This implies one can create and use a hex package that was never actually published.</p><p>package[:name]-This is the name given to the package on hex.pm and in the search.</p><p>package[:organization]-It is optional, but is useful if we want to publish a package to a private repository.</p><p>Some Useful Commands that a Hex User should Know:</p><p>1.mix hex.info: This command given with no arguments returns information about local hex installation. Hex also checks if there is any update available on running this command.</p><p>2.mix hex.info &lt;package&gt;: This command gives information about all the releases of a particular package and gives its most current description.</p><p>3.mix hex.info &lt;package&gt; &lt;version&gt; : This gives information about the released versions of a particular package.</p><p>4.mix hex .search: This command searches for the packages matching the search string in the hex.pm.</p><p>5.mix hex.docs: This helps us to find documentation on the packages.</p><p>6.mix hex .user: This command helps to register for an account in Hex.pm without this one cannot publish a package.</p><p>7.mix hex.config: This command reads, updates and delete local hex configuration.</p><p>8.mix hex .audit: It shows all the dependencies that has expired.</p><p>9.mix hex.publish: This command helps to publish a package with the community. Only requirement that one should have is that the mix.exs file has the necessary metadata and he/she should be a registered user.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=97ac8b1731cf" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-complete-guide-to-erlang/introduction-erlang-package-manager-97ac8b1731cf">Introduction: Erlang Package Manager</a> was originally published in <a href="https://medium.com/the-complete-guide-to-erlang">The Complete Guide to Erlang</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Writing a sample program in Erlang]]></title>
            <link>https://medium.com/the-complete-guide-to-erlang/writing-a-sample-program-in-erlang-a0907f612790?source=rss----e81211b8c7e9---4</link>
            <guid isPermaLink="false">https://medium.com/p/a0907f612790</guid>
            <category><![CDATA[example]]></category>
            <category><![CDATA[fatorial]]></category>
            <category><![CDATA[windows-10]]></category>
            <category><![CDATA[erlang]]></category>
            <category><![CDATA[program]]></category>
            <dc:creator><![CDATA[Nivedita Vattipalli]]></dc:creator>
            <pubDate>Sat, 16 Feb 2019 04:51:01 GMT</pubDate>
            <atom:updated>2019-02-16T04:50:34.437Z</atom:updated>
            <content:encoded><![CDATA[<ol><li>You can write the program in notepad and save it with .erl execution.</li><li><strong>Example: </strong>Program to find the factorial of a given number.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/364/1*WzYDqsLVW8A8gLYSTkh-nw.png" /></figure><p>3. Once the program is saved with .erl extension, open Erlang shell and navigate to the folder where the program is saved using the command cd(“&lt;&lt;<strong>folder where .erl program is saved</strong>&gt;&gt;”).</p><p><strong>NOTE: </strong>All the erlang commands should end with a full-stop(.)</p><p>4. Compiling the program: Use the command c(&lt;&lt;filename&gt;&gt;). to compile the program. In this case it is, c(factorial).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/200/1*TdV632Q7cJtjjWp2N_8Sqg.png" /></figure><p>5. Once the program is successfully compiled, give the command numfactorial:factorial(5) to execute the program. In this case, we are giving number 5 to find the factorial of it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/310/1*j-OfweA3nXWZTAZoLQzdAg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a0907f612790" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-complete-guide-to-erlang/writing-a-sample-program-in-erlang-a0907f612790">Writing a sample program in Erlang</a> was originally published in <a href="https://medium.com/the-complete-guide-to-erlang">The Complete Guide to Erlang</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Installation of Erlang on Windows]]></title>
            <link>https://medium.com/the-complete-guide-to-erlang/installation-of-erlang-on-windows-cf8faf3fbc33?source=rss----e81211b8c7e9---4</link>
            <guid isPermaLink="false">https://medium.com/p/cf8faf3fbc33</guid>
            <category><![CDATA[erlang]]></category>
            <category><![CDATA[windows-10]]></category>
            <category><![CDATA[installation]]></category>
            <dc:creator><![CDATA[Nivedita Vattipalli]]></dc:creator>
            <pubDate>Sat, 16 Feb 2019 04:28:57 GMT</pubDate>
            <atom:updated>2019-02-16T04:27:29.758Z</atom:updated>
            <content:encoded><![CDATA[<p>1. Erlang for windows can be downloaded from <a href="http://www.erlang.org/downloads">http://www.erlang.org/downloads</a></p><p>2. Double click on the executable (.exe) file and choose the components to install and click on “Next”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/408/1*FgnCBnmTjB3LyujEt7KCqg.png" /></figure><p>3. Choose the installation location and click on “Next”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/412/1*kBbM1UREaLHN1hP_0niwpQ.png" /></figure><p>4. Choose a Start Menu folder and click on “Install”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/360/1*4d9ugWQN4QJow6OshpbXFg.png" /></figure><p>5. Once the installation is complete, click on “Close” to finish the Erlang Setup.</p><p>6. You can type <strong>Erlang</strong> in start menu to launch it</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cf8faf3fbc33" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-complete-guide-to-erlang/installation-of-erlang-on-windows-cf8faf3fbc33">Installation of Erlang on Windows</a> was originally published in <a href="https://medium.com/the-complete-guide-to-erlang">The Complete Guide to Erlang</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Installation of Erlang on Linux:]]></title>
            <link>https://medium.com/the-complete-guide-to-erlang/installation-of-erlang-on-linux-cf706216fe2a?source=rss----e81211b8c7e9---4</link>
            <guid isPermaLink="false">https://medium.com/p/cf706216fe2a</guid>
            <category><![CDATA[installation]]></category>
            <category><![CDATA[erlang]]></category>
            <category><![CDATA[ubuntu]]></category>
            <dc:creator><![CDATA[Ashna Shah]]></dc:creator>
            <pubDate>Sat, 16 Feb 2019 04:22:29 GMT</pubDate>
            <atom:updated>2019-02-17T01:45:46.270Z</atom:updated>
            <content:encoded><![CDATA[<p>Step 1: Adding Repository:<br>Use following commands to add Erlang apt repository. We can simply download Erlang repository package from its official website and install on our system.</p><p>$ wget <a href="https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb">https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb</a><br>$ sudo dpkg -i erlang-solutions_1.0_all.deb</p><p>Step 2:Installing Erlang on ubuntu<br>Now, we will install all packages and dependencies for Erlang using following commands:</p><p>$ sudo apt-get update<br>$ sudo apt-get install erlang</p><p>Alternatively, we can do complete installation of Erlang which includes erlang/otp platform and all of its application.</p><p>$ sudo apt-get update<br>$ sudo apt-get install esl-erlang</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cf706216fe2a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-complete-guide-to-erlang/installation-of-erlang-on-linux-cf706216fe2a">Installation of Erlang on Linux:</a> was originally published in <a href="https://medium.com/the-complete-guide-to-erlang">The Complete Guide to Erlang</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>