title: Installing a TURN Server on Ubuntu for WebRTC
body: <p>How can I install a TURN server on my ubuntu 12.04? Can you share tutorial? I read this tutorial: <a href="https://stackoverflow.com/questions/22233980/implementing-our-own-stun-turn-server-for-webrtc-application">Implementing our own STUN/TURN server for WebRTC Application</a>. But what I don't understand is how I can I install my own TURN server on my ubuntu 12.04?</p>
  
  <p>I am using currently using something like the following code to create the <code>RTCPeerConnection</code></p>
  
  <pre class="lang-js prettyprint-override"><code>const pc_config = {"iceServers": [{"url": "stun:stun.l.google.com:19302"},
    {"url":"turn:my_username@&lt;turn_server_ip_address&gt;", "credential":"my_password"}]};
  
  const pc_new = new webkitRTCPeerConnection(pc_config);
  </code></pre>
  
  <p>And I want to fill the above code's arguments to work with a different network.</p>
  
  <p>When i want to install turn server then I get</p>
  
  <pre><code>Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  E: Unable to locate package resiprocate-turn-server
  </code></pre>
  
  <p>I used <code>apt-get install resiprocate-turn-server</code>. I also used this <a href="https://www.webrtc-experiment.com/docs/TURN-server-installation-guide.html" rel="noreferrer">https://www.webrtc-experiment.com/docs/TURN-server-installation-guide.html</a> tutorial. </p>