Pacotes do I2P para Debian

Debian ou Ubuntu, todas as versões

Os pacotes Debian devem funcionar na maioria das plataformas em execução: The I2P packages may work on systems not listed above. Please report any issues with these packages on Gitlab at i2p.i2p.
  • Opção 1: Versões recentes do Ubuntu e seus derivados (Tente este se não estiver usando Debian)
  • Opção 2: Debian (incluindo derivados do Debian)

Instruções para Ubuntu e derivados como Linux Mint & Trisquel

Adicionando o PPA por linha de comando e instalando I2P
  1. Abra um terminal e digite:
        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. Notifique seu gerenciador de pacotes sobre o novo PPA digitando:
        sudo apt-get update
    Esse comando vai ler a última lista de software de cada repositório ativado em seu sistema, incluindo o PPA do I2P que foi adicionado com o comando anterior.
  3. Agora está pronto para instalar o I2P!
        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.
Após completar o processo de instalação, você pode passar para a próxima parte da inicialização do I2P e da configuração do I2P em seu sistema.

Instruções para 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.

Arquiteturas atualmente suportadas: amd64, i386, armhf, arm64, powerpc, ppc64el, s390x

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).

    ,
  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. Baixe a chave usada para assinar o repositório:
        
      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
        

Após completar o processo de instalação, você pode passar para a próxima parte de inicialização e configuração do I2P em seu sistema.

Trabalho de pós-instalação

Usando estes pacotes do I2P, o roteador I2P pode ser iniciado das seguintes três formas:
  • "sob demanda" usando o script i2prouter. Basta rodar "i2prouter start" de um prompt de comando. (Atenção: Não use sudo nem rode como root!)
  • "Sob demanda" sem o java service wrapper (necessário em sistemas não-Linux/não-x86) rodando "i2prouter-nowrapper". (Atenção: Não use sudo nem rode como root!)
  • Como um serviço que automaticamente roda durante o boot, antes mesmo do login. O serviço pode ser ativado com "dpkg-reconfigure i2p" como root ou usando sudo. Este é o modo de operação recomendado.

Quando estiveres instalando pela primeira vez, lembra-te de ajustar teu NAT/parede de fogo se puderes. As portas a serem redirecionadas podem ser encontradas na página de configuração da rede no painel do roteador. Se precisares de ajuda para entender como redirecionar portas, talvez portfoward.com pode ser útil.

Favor revisar e ajustar as configurações de banda napágina de configuração, tendo em vista que a configuração padrão de 96 KB/s para receber e 40 KB/s para enviar são bem conservadoras.

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