Files
i2p.i2p/INSTALL.txt

72 lines
2.3 KiB
Plaintext
Raw Normal View History

I2P source installation instructions
2009-12-19 16:35:15 +00:00
Prerequisites to build from source:
Java SDK (preferably Oracle or OpenJDK) 8 or higher
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
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
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
2009-12-19 16:35:15 +00:00
This will produce a few key files:
* 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)
* i2pupdate.zip: the update package
2012-02-04 13:33:03 +00:00
(only created with ant pkg)
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
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.
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
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