{% extends "global/layout.html" %} {% block title %}Debian/Ubuntu{% endblock %} {% block content %}

{{ _('Debian I2P Packages') }}

{{ _('Debian Buster, Ubuntu Bionic, and later') }}

{% trans -%} I2P is available in the official repositories for Ubuntu Bionic and later, and Debian Buster and Sid. However, Debian Buster and Ubuntu Bionic (LTS) distributions will have older I2P versions. If you are not running Debian Sid or the latest Ubuntu release, use our Debian repo or Launchpad PPA to ensure you're running the latest I2P version. {%- endtrans %}

{{ _('Debian or Ubuntu, All Versions') }}

{% trans -%}The Debian packages should work on most platforms running:{%- endtrans %} {% trans trac='http://trac.i2p2.de/newticket?component=package/debian&owner=killyourtv&cc=killyourtv@mail.i2p' -%} The I2P packages may work on systems not listed above. Please report any issues with these packages on Trac at https://trac.i2p2.de. {%- endtrans %}

{{ _('Instructions for Ubuntu and derivatives like Linux Mint & Trisquel') }}

{{ _('Adding the PPA via the command line and installing I2P') }}
  1. {% trans %}Open a terminal and enter:{% endtrans %}
        sudo apt-add-repository ppa:i2p-maintainers/i2p
    {% trans -%} This command will add the PPA to /etc/apt/sources.list.d and fetch the gpg key that the repository has been signed with. The GPG key ensures that the packages have not been tampered with since being built. {%- endtrans %}
  2. {% trans %}Notify your package manager of the new PPA by entering:{% endtrans %}
        sudo apt-get update
    {% trans -%} This command will retrieve the latest list of software from each repository that is enabled on your system, including the I2P PPA that was added with the earlier command. {%- endtrans %}
  3. {% trans %}You are now ready to install I2P!{% endtrans %}
        sudo apt-get install i2p
{{ _('Adding the PPA Using Synaptic') }}
  1. {% trans -%} Open Synaptic (System -> Administration -> Synaptic Package Manager). {%- endtrans %}
  2. {% trans -%} Once Synaptic opens, select Repositories from the Settings menu. {%- endtrans %}
  3. {% trans -%} Click the Other Sources tab and click Add. Paste ppa:i2p-maintainers/i2p into the APT-line field and click Add Source. Click the Close button then Reload. {%- endtrans %}
  4. {% trans -%} In the Quick Filter box, type in i2p and press enter. When i2p is returned in the results list, right click i2p and select Mark for Installation. After doing so you may see a Mark additional required changes? popup. If so, click Mark then Apply. {%- endtrans %}
{% trans -%} After the installation process completes you can move on to the next part of starting I2P and configuring it for your system. {%- endtrans %}

{{ _('Instructions for Debian') }}

{% trans -%}Currently supported architectures{%- endtrans %}: amd64, i386, armhf, arm64, powerpc, ppc64el, s390x

{% trans -%} Note: The steps below should be performed with root access (i.e., switching user to root with su or by prefixing each command with sudo). {%- endtrans %}

  1. {% trans -%}Ensure that apt-transport-https and curl are installed.{%- endtrans %}
        
        sudo apt-get update
        sudo apt-get install apt-transport-https curl
        
  2. {% trans file='/etc/apt/sources.list.d/i2p.list',file2='/etc/debian_version' %} Check which version of Debian you are using on this page at the Debian wiki and verify with {{ file2 }} on your system. Then, add lines like the following to {{ file }}.{% endtrans %}

    For Buster (stable):
        deb https://deb.i2p2.de/ buster main
        deb-src https://deb.i2p2.de/ buster main
    

    For Stretch (oldstable):
        deb https://deb.i2p2.de/ stretch main
        deb-src https://deb.i2p2.de/ stretch main
    

    For Jessie (oldoldstable):
        deb https://deb.i2p2.de/ jessie main
        deb-src https://deb.i2p2.de/ jessie main
    

    For Wheezy (obsolete):
        deb https://deb.i2p2.de/ wheezy main
        deb-src https://deb.i2p2.de/ wheezy main
    

    {% trans -%}Note: If you are running Debian Sid (testing), then you can install I2P directly from Debian's main repository{%- endtrans %}:
      sudo apt-get install i2p
      
  3. {% trans repokey=url_for('static', filename='i2p-debian-repo.key.asc') -%} Download the key used to sign the repository:{%- endtrans %}
    
      curl -o i2p-debian-repo.key.asc https://geti2p.net/_static/i2p-debian-repo.key.asc
    

  4. {% trans -%}Check the fingerprint and owner of the key without importing anything{%- endtrans %}:
        
      gpg -n --import --import-options import-show i2p-debian-repo.key.asc
        
  5. {% trans -%} Add the key to APT's keyring{%- endtrans %}:
        
      sudo apt-key add i2p-debian-repo.key.asc
        
  6. {% trans %}Notify your package manager of the new repository by entering{% endtrans %}
        
      sudo apt-get update
        
    {% trans -%} This command will retrieve the latest list of software from every repository enabled on your system, including the I2P repository added in step 1. {%- endtrans %}

  7. {% trans -%} You are now ready to install I2P! Installing the i2p-keyring package will ensure that you receive updates to the repository's GPG key. {%- endtrans %}
        
      sudo apt-get install i2p i2p-keyring
      

{% trans -%} After the installation process completes you can move on to the next part of starting I2P and configuring it for your system. {%- endtrans %}

{{ _('Post-install work') }}

{% trans -%} Using these I2P packages the I2P router can be started in the following three ways: {%- endtrans %}

{% trans -%} When installing for the first time, please remember to adjust your NAT/firewall if you can. The ports to forward can be found on the network configuration page in the router console. If guidance with respect to forwarding ports is needed, you may find portforward.com to be helpful. {%- endtrans %}

{% trans -%} Please review and adjust the bandwidth settings on the configuration page, as the default settings of 96 KB/s down / 40 KB/s up are fairly conservative. {%- endtrans %}

{% trans browserconfig=site_url('about/browser-config') -%} If you want to reach I2P Sites via your browser, have a look on the browser proxy setup page for an easy howto. {%- endtrans %}

{% endblock %}