<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html xmlns:fn="http://www.w3.org/2005/02/xpath-functions"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" href="../otp_doc.css" type="text/css"> <title>Erlang -- Installation Verification</title> </head> <body bgcolor="white" text="#000000" link="#0000ff" vlink="#ff00ff" alink="#ff0000"><div id="container"> <script id="js" type="text/javascript" language="JavaScript" src="../js/flipmenu/flipmenu.js"></script><script id="js2" type="text/javascript" src="../js/erlresolvelinks.js"></script><script language="JavaScript" type="text/javascript"> <!-- function getWinHeight() { var myHeight = 0; if( typeof( window.innerHeight ) == 'number' ) { //Non-IE myHeight = window.innerHeight; } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) { //IE 6+ in 'standards compliant mode' myHeight = document.documentElement.clientHeight; } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) { //IE 4 compatible myHeight = document.body.clientHeight; } return myHeight; } function setscrollpos() { var objf=document.getElementById('loadscrollpos'); document.getElementById("leftnav").scrollTop = objf.offsetTop - getWinHeight()/2; } function addEvent(obj, evType, fn){ if (obj.addEventListener){ obj.addEventListener(evType, fn, true); return true; } else if (obj.attachEvent){ var r = obj.attachEvent("on"+evType, fn); return r; } else { return false; } } addEvent(window, 'load', setscrollpos); //--></script><div id="leftnav"><div class="innertube"> <img alt="Erlang logo" src="../erlang-logo.png"><br><small><a href="users_guide.html">User's Guide</a><br><a href="../pdf/otp-system-documentation-5.9.3.1.pdf">PDF</a><br><a href="../index.html">Top</a></small><p><strong>Installation Guide</strong><br><strong>User's Guide</strong><br><small>Version 5.9.3.1</small></p> <br><a href="javascript:openAllFlips()">Expand All</a><br><a href="javascript:closeAllFlips()">Contract All</a><p><small><strong>Chapters</strong></small></p> <ul class="flipMenu" imagepath="../js/flipmenu"> <li id="no" title="Installing the Binary Release" expanded="false">Installing the Binary Release<ul> <li><a href="install-binary.html"> Top of chapter </a></li> <li title="UNIX"><a href="install-binary.html#id60773">UNIX</a></li> <li title="Windows"><a href="install-binary.html#id61148">Windows</a></li> </ul> </li> <li id="loadscrollpos" title="Installation Verification" expanded="true">Installation Verification<ul> <li><a href="verification.html"> Top of chapter </a></li> <li title="UNIX"><a href="verification.html#id56990">UNIX</a></li> <li title="Windows"><a href="verification.html#id63124">Windows</a></li> </ul> </li> <li id="no" title="Building and Installing Erlang/OTP" expanded="false">Building and Installing Erlang/OTP<ul> <li><a href="INSTALL.html"> Top of chapter </a></li> <li title="Introduction"><a href="INSTALL.html#id69303">Introduction</a></li> <li title="Daily Build and Test"><a href="INSTALL.html#id69396">Daily Build and Test</a></li> <li title="Versions Known NOT to Work"><a href="INSTALL.html#id61560">Versions Known NOT to Work</a></li> <li title="Required Utilities"><a href="INSTALL.html#id62849">Required Utilities</a></li> <li title="How to Build and Install Erlang/OTP"><a href="INSTALL.html#id57371">How to Build and Install Erlang/OTP</a></li> <li title="The Erlang/OTP Documentation"><a href="INSTALL.html#id62172">The Erlang/OTP Documentation</a></li> <li title="Support for SMP (Symmetric Multi Processing)"><a href="INSTALL.html#id62469">Support for SMP (Symmetric Multi Processing)</a></li> <li title="GS (Graphic System)"><a href="INSTALL.html#id71231">GS (Graphic System)</a></li> <li title="Using HiPE"><a href="INSTALL.html#id71248">Using HiPE</a></li> <li title="Mac OS X (Darwin)"><a href="INSTALL.html#id71477">Mac OS X (Darwin)</a></li> <li title="Building universal binaries on Mac OS X (obsolete information)"><a href="INSTALL.html#id71532">Building universal binaries on Mac OS X (obsolete information)</a></li> <li title="Building a fast Erlang VM on Mac OS Lion"><a href="INSTALL.html#id71611">Building a fast Erlang VM on Mac OS Lion</a></li> <li title="How to Build a Debug Enabled Erlang RunTime System"><a href="INSTALL.html#id71820">How to Build a Debug Enabled Erlang RunTime System</a></li> <li title="Authors"><a href="INSTALL.html#id71932">Authors</a></li> <li title="Copyright and License"><a href="INSTALL.html#id71959">Copyright and License</a></li> <li title="More Information"><a href="INSTALL.html#id71987">More Information</a></li> <li title="Modifying This Document"><a href="INSTALL.html#id72009">Modifying This Document</a></li> </ul> </li> <li id="no" title="Cross Compiling Erlang/OTP" expanded="false">Cross Compiling Erlang/OTP<ul> <li><a href="INSTALL-CROSS.html"> Top of chapter </a></li> <li title="Introduction"><a href="INSTALL-CROSS.html#id72357">Introduction</a></li> <li title="Build and Install Procedure"><a href="INSTALL-CROSS.html#id72668">Build and Install Procedure</a></li> <li title="Testing the cross compiled system"><a href="INSTALL-CROSS.html#id73393">Testing the cross compiled system</a></li> <li title="Currently Used Configuration Variables"><a href="INSTALL-CROSS.html#id73477">Currently Used Configuration Variables</a></li> <li title="Copyright and License"><a href="INSTALL-CROSS.html#id74530">Copyright and License</a></li> <li title="Modifying This Document"><a href="INSTALL-CROSS.html#id74558">Modifying This Document</a></li> </ul> </li> <li id="no" title="How to Build Erlang/OTP on Windows" expanded="false">How to Build Erlang/OTP on Windows<ul> <li><a href="INSTALL-WIN32.html"> Top of chapter </a></li> <li title="Introduction"><a href="INSTALL-WIN32.html#id74741">Introduction</a></li> <li title="Frequently Asked Questions"><a href="INSTALL-WIN32.html#id74848">Frequently Asked Questions</a></li> <li title="Tools you Need and Their Environment"><a href="INSTALL-WIN32.html#id75221">Tools you Need and Their Environment</a></li> <li title="The Shell Environment"><a href="INSTALL-WIN32.html#id75978">The Shell Environment</a></li> <li title="Building and Installing"><a href="INSTALL-WIN32.html#id76124">Building and Installing</a></li> <li title="Development"><a href="INSTALL-WIN32.html#id76424">Development</a></li> <li title="Using GIT"><a href="INSTALL-WIN32.html#id76667">Using GIT</a></li> <li title="Final Words"><a href="INSTALL-WIN32.html#id76701">Final Words</a></li> <li title="Copyright and License"><a href="INSTALL-WIN32.html#id76738">Copyright and License</a></li> <li title="Modifying This Document"><a href="INSTALL-WIN32.html#id76766">Modifying This Document</a></li> </ul> </li> </ul> </div></div> <div id="content"> <div class="innertube"> <h1>2 Installation Verification</h1> <p>This chapter is about verifying your installation by performing a few simple tests to see that your system is properly installed.</p> <h3><a name="id56990">2.1 UNIX</a></h3> <ul> <li> <p>Start Erlang/OTP from the command line,</p> <div class="example"><pre> unix> erl</pre></div> <p>Expect the following output:</p> <div class="example"><pre> Erlang (BEAM) emulator version 5.0.1 [threads] Eshell V5.0.1 (abort with ^G) 1></pre></div> </li> <li> <p>Start the GS-based toolbar from the Erlang shell, </p> <div class="example"><pre> 1> <span class="bold_code">toolbar:start().</span></pre></div> <p>and check that the toolbar window pops up. </p> <p><strong>Note:</strong> The trailing full stop (<span class="code">"."</span>) is an end marker for all commands in the Erlang shell, and must be entered for a command to begin execution.</p> </li> <li> <p>Exit by entering the command <span class="code">halt()</span>,</p> <div class="example"><pre> 2> <span class="bold_code">halt().</span></pre></div> <p>which should end both the toolbar window and the command line window. </p> </li> </ul> <h3><a name="id63124">2.2 Windows</a></h3> <ul> <li> <p>Start Erlang/OTP by double-clicking on the Erlang shortcut icon on the desktop.</p> <p>Expect a command line window to pop up with the following output,</p> <div class="example"><pre> Erlang (BEAM) emulator version 5.0.1 [threads] Eshell V5.0.1 (abort with ^G) 1></pre></div> </li> <li> <p>Start the GS-based toolbar from the Erlang shell, </p> <div class="example"><pre> 1> <span class="bold_code">toolbar:start().</span></pre></div> <p>and check that the toolbar window pops up. </p> <p><strong>Note:</strong> The trailing full stop (<span class="code">"."</span>) is an end marker for all commands in the Erlang shell, and must be entered for a command to begin execution.</p> </li> <li> <p>Exit by entering the command <span class="code">halt()</span>,</p> <div class="example"><pre> 2> <span class="bold_code">halt().</span></pre></div> <p>which should end both the toolbar window and the command line window. </p> </li> </ul> </div> <div class="footer"> <hr> <p>Copyright © 1997-2012 Ericsson AB. All Rights Reserved.</p> </div> </div> </div></body> </html>