Paquets I2P pour Debian

Debian ou Ubuntu, toutes versions

Les paquets Debian devraient fonctionner sur la plupart des plateformes sous : The I2P packages may work on systems not listed above. Please report any issues with these packages on Gitlab at i2p.i2p.
  • Option 1 : Versions récentes d’Ubuntu et dérivés (Essayer ceci si vous n’utilisez pas Debian)
  • Option 2 : Debian (y compris dérivés de Debian)

Instructions pour Ubuntu et versions dérivées telles que Linux Mint et Trisquel

Ajouter la PPA par la ligne de commande et installer I2P
  1. Ouvrir un terminal et saisir :
        sudo apt-add-repository ppa:i2p-maintainers/i2p
    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.
  2. Signaler la nouvelle PPA à votre gestionnaire de paquets en saisissant :
        sudo apt-get update
    Cette commande récupérera la liste la plus récente de logiciels de chaque dépôt activé sur votre système, y compris ceux de la PPA d’I2P ajoutée avec la commande précédente.
  3. I2P peut maintenant être installé !
        sudo apt-get install i2p
Adding the PPA Using the Software Center
  1. Open "Software and Updates" via the applications menu.
  2. Select the "Other Software" tab and click the "Add" button at the bottom to configure the PPA.
  3. Add the PPA by pasting the URL: ppa:i2p-maintainers/i2p into the PPA dialog.
  4. Download the repository information with the "Reload" button.
  5. Install the I2P software using the "Software" tool from the applications menu.
Une fois le processus d’installation terminé, vous pouvez procéder au lancement d’I2P et à sa configuration pour votre système.

Instructions pour Debian

NOTICE: Our old Debian repos deb.i2p2.de and deb.i2p2.no are EOL. Please follow these instructions to update to the new repository, deb.i2p.net.

Architectures actuellement prises en charge: amd64, i386, armhf, arm64, powerpc, ppc64el, s390x

Note : les étapes ci-dessous devraient être exécutées avec l’accès superutilisateur (c.-à-d. en basculant vers l’utilisateur root avec su ou en précédant chaque commande par sudo).

    ,
  1. Ensure that apt-transport-https, curl, lsb-release are installed.
        
        sudo apt-get update
        sudo apt-get install apt-transport-https lsb-release curl
        
  2. Check which version of Debian you are using on this page at the Debian wiki and verify with /etc/debian_version on your system. Then, for Debian Bullseye or newer distributions run the following command to create /etc/apt/sources.list.d/i2p.list.
        
        # Use this command on Debian Bullseye or newer only.
      echo "deb [signed-by=/usr/share/keyrings/i2p-archive-keyring.gpg] https://deb.i2p.net/ $(lsb_release -sc) main" \
      | sudo tee /etc/apt/sources.list.d/i2p.list
        
        
    If you're using a downstream variant of Debian like LMDE or Kali Linux, the following command fill find the correct version for your distribution:
        
        # Use this command on Debian Downstreams like LMDE or ParrotOS only.
      echo "deb [signed-by=/usr/share/keyrings/i2p-archive-keyring.gpg] https://deb.i2p.net/ $(dpkg --status tzdata | grep Provides | cut -f2 -d'-') main" \
      | sudo tee /etc/apt/sources.list.d/i2p.list
        
        
    If you are using Debian Buster or older official Debian distributons, use the following command instead:
        
        # Use this command on Debian Buster or older only.
      echo "deb https://deb.i2p.net/ $(lsb_release -sc) main" \
      | sudo tee /etc/apt/sources.list.d/i2p.list
        
        
    If you're using a downstream variant of Debian like LMDE or Kali Linux, the following command fill find the correct version for your distribution:
        
        # Use this command on Debian Buster or older only.
      echo "deb https://deb.i2p.net/ $(dpkg --status tzdata | grep Provides | cut -f2 -d'-') main" \
      | sudo tee /etc/apt/sources.list.d/i2p.list
        
        
  3. Téléchargez la clé utilisée pour signer le dépôt :
        
      curl -o i2p-archive-keyring.gpg https://geti2p.net/_static/i2p-archive-keyring.gpg
        

  4. Display the key fingerprint.
        
      gpg --keyid-format long --import --import-options show-only --with-fingerprint i2p-archive-keyring.gpg
        
        
    Verify that this key fingerprint matches the output:
        
      7840 E761 0F28 B904 7535  49D7 67EC E560 5BCF 1346
        

  5. Copy the keyring to the keyrings directory:
        
      sudo cp i2p-archive-keyring.gpg /usr/share/keyrings
        
    If you are using a distribution older than Debian Buster, you will also need to symlink that key to /etc/apt/trusted.gpg.d.
        
      sudo ln -sf /usr/share/keyrings/i2p-archive-keyring.gpg /etc/apt/trusted.gpg.d/i2p-archive-keyring.gpg
        
  6. Notify your package manager of the new repository by entering:
        
      sudo apt-get update
        
    This command will retrieve the latest list of software from every repository enabled on your system, including the I2P repository added in step 1.

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

Une fois le processus d’installation terminé, vous pouvez procéder au starting I2P et à sa configuration pour votre système.

Travail postinstallation

En utilisant ces paquets I2P, le routeur I2P peut être démarré des trois façons suivantes :
  • « à la demande » en utilisant le script i2prouter. Simplement exécuter « i2prouter start » dans une invite de commande. (Note : ne pas utiliser sudo ni l’exécuter en tant que root !)
  • « à la demande » sans l’enveloppeur de service Java (requis sur les systèmes non Linux ou non x86) en exécutant « i2prouter-nowrapper ». (Note : ne pas utiliser sudo ni l’exécuter en tant que root !)
  • en tant que service lancé automatiquement lors du démarrage de votre système, avant même d’avoir ouvert une session. Le service peut être activé avec « dpkg-reconfigure i2p » en tant que root ou en utilisant sudo. C’est la méthode recommandée.

Lors d’une première installation, veuillez si vous le pouvez vous rappeler de paramétrer votre traduction d’adresses réseau ou votre pare-feu. Vous trouverez les ports à réacheminer sur la page de configuration du réseau dans la console du routeur. Si vous avez besoin d’aide pour réacheminer des ports, portforward.com pourrait vous être utile.

Veuillez vérifier et ajustez les paramètres de bande passante sur la page de configuration, car les paramètres par défaut de 96 ko/s en aval et 40 ko/s en amont sont plutôt conservateurs.

If you want to reach I2P Sites via your browser, have a look on the browser proxy setup page for an easy howto.