2004-12-10 00:34:53 +00:00
|
|
|
I2P source installation instructions
|
|
|
|
|
2009-12-19 16:35:15 +00:00
|
|
|
Prerequisites to build from source:
|
2020-10-07 13:33:41 +00:00
|
|
|
Java SDK (preferably Oracle or OpenJDK) 8 or higher
|
2013-10-16 23:12:11 +00:00
|
|
|
Non-linux operating systems and JVMs: See https://trac.i2p2.de/wiki/java
|
2015-11-19 17:11:26 +00:00
|
|
|
Certain subsystems for embedded (core, router, mstreaming, streaming, i2ptunnel) require only Java 1.6
|
2020-10-07 13:33:41 +00:00
|
|
|
Apache Ant 1.9.8 or higher
|
2012-02-04 13:33:03 +00:00
|
|
|
The xgettext, msgfmt, and msgmerge tools installed
|
2016-01-16 17:37:39 +00:00
|
|
|
from the GNU gettext package http://www.gnu.org/software/gettext/
|
|
|
|
Build environment must use a UTF-8 locale.
|
2009-12-19 16:35:15 +00:00
|
|
|
|
2004-12-10 00:34:53 +00:00
|
|
|
To build and install I2P from source, you must first build
|
|
|
|
and package up the appropriate installer by running:
|
|
|
|
|
2012-02-04 13:33:03 +00:00
|
|
|
ant pkg
|
|
|
|
|
|
|
|
On non-x86, use one of the following instead:
|
|
|
|
ant installer-linux
|
|
|
|
ant installer-freebsd
|
|
|
|
ant installer-osx
|
|
|
|
|
2004-12-10 00:34:53 +00:00
|
|
|
|
2009-12-19 16:35:15 +00:00
|
|
|
|
2004-12-10 00:34:53 +00:00
|
|
|
This will produce a few key files:
|
2009-06-11 13:31:27 +00:00
|
|
|
* install.jar: the GUI and console installer
|
|
|
|
* i2pinstall.exe: the GUI and console installer wrapped for cross-platform execution
|
2012-02-04 13:33:03 +00:00
|
|
|
(only created with ant pkg)
|
2009-06-11 13:31:27 +00:00
|
|
|
* i2pupdate.zip: the update package
|
2012-02-04 13:33:03 +00:00
|
|
|
(only created with ant pkg)
|
2004-12-10 00:34:53 +00:00
|
|
|
|
2009-06-11 13:31:27 +00:00
|
|
|
From there, you can run the headless (console mode) installer:
|
|
|
|
java -jar i2pinstall.exe -console
|
2012-02-04 13:33:03 +00:00
|
|
|
or
|
|
|
|
java -jar i2pinstall.jar -console
|
2009-06-11 13:31:27 +00:00
|
|
|
|
|
|
|
Or run the GUI installer:
|
|
|
|
java -jar i2pinstall.exe
|
2012-02-04 13:33:03 +00:00
|
|
|
or
|
|
|
|
java -jar i2pinstall.jar
|
|
|
|
or on Windows, just double-click on i2pinstall.exe.
|
2009-06-11 13:31:27 +00:00
|
|
|
|
2011-05-22 14:31:56 +00:00
|
|
|
Or move the i2pupdate.zip file into an existing installation directory and restart.
|
|
|
|
|
|
|
|
To start I2P:
|
2015-11-19 17:11:26 +00:00
|
|
|
(*nix, BSD, Mac): sh i2prouter start
|
2011-09-19 01:27:48 +00:00
|
|
|
(win*): I2P.exe or i2prouter.bat
|
2015-11-19 17:11:26 +00:00
|
|
|
(platforms without wrapper support): sh runplain.sh
|
2011-05-22 14:31:56 +00:00
|
|
|
|
2011-09-19 01:27:48 +00:00
|
|
|
To install I2P as a system service:
|
2015-11-19 17:11:26 +00:00
|
|
|
(*nix, BSD, Mac) sh i2prouter install
|
2011-09-19 01:27:48 +00:00
|
|
|
(win*) install_i2p_service_winnt.bat
|
|
|
|
|
|
|
|
To uninstall I2P as a system service:
|
2015-11-19 17:11:26 +00:00
|
|
|
(*nix, BSD, Mac) sh i2prouter remove
|
2011-09-19 01:27:48 +00:00
|
|
|
(win*) uninstall_i2p-service_winnt.bat
|
|
|
|
|
2011-05-22 14:31:56 +00:00
|
|
|
To stop I2P (gracefully):
|
|
|
|
lynx http://localhost:7657/summaryframe (click "Shutdown")
|
2015-11-19 17:11:26 +00:00
|
|
|
or (*nix, BSD, Mac) sh i2prouter graceful
|
2011-05-22 14:31:56 +00:00
|
|
|
|
|
|
|
To stop I2P immediately:
|
2015-11-19 17:11:26 +00:00
|
|
|
(*nix, BSD, Mac) sh i2prouter stop
|
2011-05-22 14:31:56 +00:00
|
|
|
|
|
|
|
To uninstall I2P:
|
|
|
|
rm -rf $I2PInstallDir ~/.i2p
|
2004-12-10 00:34:53 +00:00
|
|
|
|
|
|
|
Supported JVMs:
|
2015-11-19 17:11:26 +00:00
|
|
|
Windows: Latest available from http://java.com/download (1.7+ supported)
|
|
|
|
Linux: Latest available from http://java.com/download (1.7+ supported)
|
|
|
|
FreeBSD: 1.7-compatible (NIO required)
|
2011-05-22 14:31:56 +00:00
|
|
|
Other operating systems and JVMs: See http://trac.i2p2.de/wiki/java
|