HEX
Server: nginx/1.28.3
System: Linux lightweb-s1 5.15.0-173-generic #183-Ubuntu SMP Fri Mar 6 13:29:34 UTC 2026 x86_64
User: dawonefr-98 (1071)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: //usr/share/doc/python-pyasn1-doc/html/download.html
<!DOCTYPE html>

<html>
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />

    <title>Download &amp; Install &#8212; ASN.1 types and codecs 0.4 documentation</title>
    <link rel="stylesheet" type="text/css" href="_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="_static/alabaster.css" />
    <script data-url_root="./" id="documentation_options" src="_static/documentation_options.js"></script>
    <script src="_static/jquery.js"></script>
    <script src="_static/underscore.js"></script>
    <script src="_static/doctools.js"></script>
    <link rel="index" title="Index" href="genindex.html" />
    <link rel="search" title="Search" href="search.html" />
    <link rel="next" title="Changelog" href="changelog.html" />
    <link rel="prev" title="Example use case" href="example-use-case.html" />
   
  <link rel="stylesheet" href="_static/custom.css" type="text/css" />
  
  
  <meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />

  </head><body>
  <div class="document">
    
      <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
        <div class="sphinxsidebarwrapper">
<p class="logo">
  <a href="contents.html">
    <img class="logo" src="_static/logo.svg" alt="Logo"/>
    
  </a>
</p>



<p class="blurb"><p align=left><i><b>Brewing free software for the greater good</i></b></p></p>






<h3>Navigation</h3>
<ul>
<li class="toctree-l1"><a class="reference internal" href="pyasn1/contents.html">Library documentation</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="example-use-case.html">Example use case</a></li>
</ul>
<ul class="current">
<li class="toctree-l1 current"><a class="current reference internal" href="#">Download &amp; Install</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="changelog.html">Changelog</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="license.html">License</a></li>
</ul>

<div class="relations">
<h3>Related Topics</h3>
<ul>
  <li><a href="contents.html">Documentation overview</a><ul>
      <li>Previous: <a href="example-use-case.html" title="previous chapter">Example use case</a></li>
      <li>Next: <a href="changelog.html" title="next chapter">Changelog</a></li>
  </ul></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">
  <h3 id="searchlabel">Quick search</h3>
    <div class="searchformwrapper">
    <form class="search" action="search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>
    </div>
</div>
<script>$('#searchbox').show(0);</script>








        </div>
      </div>
      <div class="documentwrapper">
        <div class="bodywrapper">
          

          <div class="body" role="main">
            
  <section id="download-install">
<h1>Download &amp; Install<a class="headerlink" href="#download-install" title="Permalink to this headline">ΒΆ</a></h1>
<p>The <em>pyasn1</em> library is a pure-Python package with no external
dependencies. Considering how much industrial or finance software
can be stuck with an old platform (think RHEL 5), we struggle to
maintain its compatibility back to the very pre-historic Python
(which is 2.4!).</p>
<p>The best way to obtain PyASN1 is by running <cite>pip</cite>:</p>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$ virtualenv venv
$ <span class="nb">source</span> venv/bin/activate
$ pip install pyasn1
</pre></div>
</div>
<p>You may also want to use <cite>pyasn1-modules</cite>:</p>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$ pip install pyasn1-modules
</pre></div>
</div>
<p>Alternatively, you can download the latest release from
<a class="reference external" href="https://github.com/etingof/pyasn1/releases">GitHub</a>
or <a class="reference external" href="https://pypi.org/project/pyasn1">PyPI</a>.</p>
</section>


          </div>
          
        </div>
      </div>
    <div class="clearer"></div>
  </div>
    <div class="footer">
      &copy;2005-2026, Ilya Etingof <etingof@gmail.com>.
      
    </div>

    

    
  </body>
</html>