2011-06-04 17:54:50 +00:00
{% extends "_layout.html" %}
{% block title %}Debian/Ubuntu{% endblock %}
{% block content %}
2011-06-05 19:41:07 +00:00
< h1 > Debian I2P Packages< / h1 >
2011-06-04 17:54:50 +00:00
The packages hosted on < a href = "https://launchpad.net/%7Ei2p-maintainers/+archive/i2p" > the I2P Launchpad site< / a >
2011-06-05 19:41:07 +00:00
have been tested and < span style = "font-style: italic;" > should < / span > work on x86/x86_64 platforms running
2011-06-04 17:54:50 +00:00
< ul >
2011-06-05 19:41:07 +00:00
< li > < a href = "debian#ubuntu" > Ubuntu< / a > (Hardy < span style = "font-style: italic;" > 8.04< / span > and newer)< / li > < li > < a href = "debian.html#ubuntu" > Mint< / a > < span style = "font-style: italic;" > 11< / span > < / li >
< li > < a href = "debian#debian" > Debian Linux< / a > (Lenny and newer) & < a href = "#nonlinux" > kFreeBSD< / a > (Wheezy)< / li >
< li > < a href = "debian#debian" > Knoppix< / a > < / li >
< li > < a href = "debian#debian" > Simply MEPIS< / a > < span style = "font-style: italic;" > 8.5.03-rel1< / span > < / li >
< li > < a href = "debian#ubuntu" > Trisque< / a > l < span style = "font-style: italic;" > 4.5.1< / span > < / li >
< li > < a href = "debian#debian" > gNewSense< / a > < span style = "font-style: italic;" > 2.3< / span > < / li >
< li > < a href = "debian#nonlinux" > Nexenta< / a > < span style = "font-style: italic;" > 3.0.1< / span > < / li >
2011-06-04 17:54:50 +00:00
< / ul >
2011-06-05 19:41:07 +00:00
The I2P packages < span style = "font-style: italic;" > may< / span > work on systems not listed above. Please report any issues with these packages on < a href = "http://trac.i2p2.de/" > Trac< / a > at < a href = "http://trac.i2p2.de" > http://trac.i2p2.de< / a > .
2011-06-04 17:54:50 +00:00
< ul >
2011-06-05 19:41:07 +00:00
< li > Option 1: < a href = "debian#ubuntu" > Recent versions< / a > of Ubuntu and its derivatives (< span style = "font-style: italic;" > Try this if you're not using Debian)< / span > < / li >
< li > Option 2: < a href = "debian#debian" > Debian< / a > (including systems based on Debian and older versions of Ubuntu)< / li >
< li > Option 3: < a href = "debian#nonlinux" > Non-Linux< / a > (and possibly Non-x86 architectures)< / li >
2011-06-04 17:54:50 +00:00
< / ul >
2011-06-19 23:41:35 +00:00
< h2 id = "ubuntu" > Instructions for Ubuntu Lucid Lynx (and newer) and derivatives like Linux Mint & Trisquel< / h2 >
2011-06-05 19:41:07 +00:00
< h5 > Adding the PPA via the command line and installing I2P< / h5 >
2011-06-04 17:54:50 +00:00
< ol >
< li > Open a terminal and enter: < br / >
2011-06-05 19:41:07 +00:00
< code > sudo apt-add-repository ppa:i2p-maintainers/i2p< / code > < br / >
2011-06-04 17:54:50 +00:00
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.< / li >
< li > Notify your package manager of the new PPA by entering< br / >
< code > sudo apt-get update< / code > < br / >
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.< / li >
< li > You are now ready to install I2P! < br / >
< code > sudo apt-get install i2p< / code > < / li >
< / ol >
2011-06-05 19:41:07 +00:00
< h5 > Adding the PPA Using Synaptic< / h5 >
< ol >
< li > Open Synaptic (System -> Administration -> Synaptic Package Manager).< / li >
< li > Once Synaptic opens, select < span style = "font-style: italic;" > Repositories< / span > from the < span style = "font-style: italic;" > Settings< / span > menu.< / li >
< li > Click the < span style = "font-style: italic;" > Other Sources< / span > tab and click < span style = "font-style: italic;" > Add< / span > . Paste < code > ppa:i2p-maintainers/i2p< / code > into the APT-line field and click < span style = "font-style: italic;" > Add Source< / span > . Click the < span style = "font-style: italic;" > Close< / span > button then < span style = "font-style: italic;" > Reload< / span > .< / li >
2011-06-19 23:30:46 +00:00
< li > In the Quick Filter box, type in < code > i2p< / code > and press enter. When < code > i2p< / code > is returned in the results list, right click < code > i2p< / code > and select < span style = "font-style: italic;" > Mark for Installation< / span > . After doing so you may see a < span style = "font-style: italic;" > Mark additional required changes?< / span > popup. If so, click < span style = "font-style: italic;" > Mark< / span > then < span style = "font-style: italic;" > Apply< / span > .< / li >
2011-06-05 19:41:07 +00:00
< / ol >
2011-06-04 17:54:50 +00:00
After the installation process completes you can move on to the next
2011-06-05 19:41:07 +00:00
part of < a href = "debian#Post-install_work" > starting I2P< / a > and configuring it for your system.
2011-06-19 23:41:35 +00:00
< h2 id = "debian" > Instructions for Debian Lenny and newer< / h2 >
2011-06-04 17:54:50 +00:00
The steps below should be performed with root access (i.e., switching
2011-06-05 19:41:07 +00:00
user to root with "su" or by prefixing each command with "sudo").
2011-06-04 17:54:50 +00:00
< ol >
2011-06-05 19:41:07 +00:00
< li > Add the GPG key that signs the repository with the following command:< br / >
< code > apt-key adv --keyserver keyserver.ubuntu.com --recv-keys < a href = "http://keyserver.ubuntu.com:11371/pks/lookup?search=0x474BC46576FAE76E97C1A1A1AB9660B9EB2CC88B&op=index" > EB2CC88B< / a > < / code > < br / >
2011-06-04 17:54:50 +00:00
You'll have output like the following if the command was successful: < br / >
2011-06-05 19:41:07 +00:00
< img src = "/_static/images/add-key-terminal.png" alt = "" / > < / li >
2012-04-09 10:41:32 +00:00
< li > For Debian Oldstable (Lenny) and Stable (Squeeze): Add the following entries to < code > /etc/apt/sources.list.d/i2p.list< / code > < br / >
< code > deb http://ppa.launchpad.net/i2p-maintainers/i2p/ubuntu natty main < br / >
deb-src http://ppa.launchpad.net/i2p-maintainers/i2p/ubuntu natty main < / code > < br / >
< br / >
2012-04-11 17:55:22 +00:00
For Debian Testing (Wheezy) or Unstable (Sid), use the following: < br / >
2012-04-09 10:41:32 +00:00
< code > deb http://ppa.launchpad.net/i2p-maintainers/i2p/ubuntu oneiric main < br / >
deb-src http://ppa.launchpad.net/i2p-maintainers/i2p/ubuntu oneiric main < / code > < br / > < / li >
2011-06-04 17:54:50 +00:00
< li > Notify your package manager of the new PPA by entering< br / >
< code > apt-get update< / code > < br / >
This command will retrieve the latest list of software from every
repository enabled on your system, including the I2P PPA added in step
1.< / li >
< li > You are now ready to install I2P! < br / >
< code > apt-get install i2p< / code > < / li >
< / ol >
2011-06-05 19:41:07 +00:00
After the installation process completes you can move on to the next part of < a href = "#Post-install_work" > starting I2P< / a > and configuring it for your system.
2011-06-19 23:41:35 +00:00
< h2 id = "nonlinux" > Instructions for Non-Linux / Non-x86< / h2 >
2011-06-04 17:54:50 +00:00
The steps below should be performed with root access (i.e., switching
2011-06-05 19:41:07 +00:00
user to root with "< code > su< / code > " or by prefixing each command with "< code > sudo< / code > ").< br / >
2011-06-04 17:54:50 +00:00
< ol >
2011-06-05 19:41:07 +00:00
< li > Download the < a href = "http://ppa.launchpad.net/i2p-maintainers/i2p/ubuntu/pool/main/i/i2p/" > i2p-router< / a > package from the < a href = "http://ppa.launchpad.net/i2p-maintainers/i2p/ubuntu/pool/main/i/i2p/" > PPA< / a > .< / li >
2011-08-18 16:58:43 +00:00
< li > Make sure that you have Java installed. Running < span style = "font-style: italic;" > < code > apt-get install default-jre< / code > < / span > should be sufficient.< br / >
2011-06-04 17:54:50 +00:00
You are now ready to install I2P! < br / >
< code > dpkg -i i2p-router_*.deb< / code > < / li >
2011-08-18 16:58:43 +00:00
< li > It is recommended to compile < a href = "/jbigi" > jbigi< / a > for your system to achieve better performance. Instructions are available < a href = "/jbigi" > here< / a > .< / li >
2011-06-04 17:54:50 +00:00
< / ol >
2011-06-05 19:41:07 +00:00
After the installation process completes you can move on to the next part of < a href = "debian#Post-install_work" > starting I2P< / a > and configuring it for your system.
2011-06-19 23:41:35 +00:00
< h2 id = "Post-install_work" > Post-install work< / h2 >
2011-06-04 17:54:50 +00:00
Using these I2P packages the I2P router can be started in the following
2011-06-05 19:41:07 +00:00
three ways:
2011-06-04 17:54:50 +00:00
< ul >
2011-06-05 19:41:07 +00:00
< li > "on demand" using the i2prouter script. Simply run " < code > i2prouter
start< / code > " from a command prompt. (Note: Do < span style = "font-weight: bold; text-decoration: underline;" > not< / span > use
2011-06-04 17:54:50 +00:00
sudo or run it as root!)< / li >
< li > "on demand" without the < a href = "http://wrapper.tanukisoftware.com/" > java service wrapper< / a >
2011-06-05 19:41:07 +00:00
(needed on non-Linux/non-x86 systems) by running "< code > i2prouter-nowrapper< / code > ".
2011-06-04 17:54:50 +00:00
(Note: Do < span style = "font-weight: bold; text-decoration: underline;" > not< / span >
use sudo or run it as root!)< / li >
< li > as a service that automatically runs when your system boots, even
2011-06-05 19:41:07 +00:00
before logging in. The service can be enabled with "< code > dpkg-reconfigure
i2p< / code > " as root or using sudo. This is the recommended means of operation.< / li >
2011-06-04 17:54:50 +00:00
< / ul >
< p > When installing for the first time, please remember to < b > adjust
your NAT/firewall< / b >
if you can, bearing in mind the Internet-facing ports I2P uses,
< a href = "faq#ports" > described here< / a > among other ports.
If you have successfully opened your port to inbound TCP, also enable
inbound TCP on the
< a href = "http://localhost:7657/config.jsp" > configuration page< / a > .
< / p >
< p > Also, please review and < b > adjust the bandwidth settings< / b > on the
< a href = "http://localhost:7657/config.jsp" > configuration page< / a > ,
2011-06-05 19:41:07 +00:00
as the default settings of 96 KB/s down / 40 KB/s up are fairly slow.
2011-06-04 17:54:50 +00:00
< / p >
< p >
2011-06-05 19:41:07 +00:00
If you want to reach eepsites via your browser, have a look on the < a href = "htproxyports.html" > browser proxy setup< / a > page for an easy howto.< / p >
2011-06-04 17:54:50 +00:00
{% endblock %}