2017-01-25 14:20:49 -05:00
Installing
==========
2022-12-02 21:04:59 +03:00
## Building from source
2017-01-25 14:20:49 -05:00
2017-01-30 08:32:22 -05:00
See [developer section documentation ](../devs/building/requirements.md ) for how to build i2pd from source on your OS.
2017-01-25 14:20:49 -05:00
2022-12-02 21:04:59 +03:00
## Installation from prebuilt packages
2017-01-25 14:20:49 -05:00
2023-12-01 14:42:41 +00:00
The easiest way to install i2pd is by using precompiled packages and binaries.
2017-01-26 06:23:59 -05:00
Go to the [latest release page ](https://github.com/PurpleI2P/i2pd/releases/latest ) and choose a file for your operating system.
2017-01-25 14:20:49 -05:00
2022-12-02 21:04:59 +03:00
## Windows
Check for [latest release page ](https://github.com/PurpleI2P/i2pd/releases/latest ) and choose a file for your system architecture:
2023-12-01 14:42:41 +00:00
* `i2pd_*_win32_mingw.zip` -- for x86 systems
* `i2pd_*_win64_mingw.zip` -- for x86_64 (x64) systems
* `i2pd_*_winxp_mingw.zip` -- Windows XP compatible build
* `setup_i2pd_*.exe` -- Installer with automatic detection of used system and correct extraction of a configuration files
2022-12-02 21:04:59 +03:00
## Android
You can get application on F-Droid:
[< img src = "https://fdroid.gitlab.io/artwork/badge/get-it-on.png"
alt="Get it on F-Droid"
height="80">](https://f-droid.org/packages/org.purplei2p.i2pd/)
Alternatively, you can install i2pd by using F-Droid repository run by PurpleI2P community member [R4SAS ](https://twitter.com/i2pr4sas ): [repository homepage ](https://fdroid.i2pd.xyz/ )
Also, packages can be found on i2pd-android repository [releases page ](https://github.com/PurpleI2P/i2pd-android/releases/latest )
2017-01-26 06:23:59 -05:00
## Docker images
2017-01-25 14:20:49 -05:00
2017-06-23 08:51:01 -04:00
You can use our [prebuilt docker images ](https://hub.docker.com/r/purplei2p/i2pd/ ).
2017-01-25 14:20:49 -05:00
2017-06-23 08:51:01 -04:00
docker pull purplei2p/i2pd
2017-01-26 06:23:59 -05:00
2017-01-25 14:20:49 -05:00
2023-12-01 14:42:41 +00:00
## Linux
2017-01-25 14:20:49 -05:00
2023-12-01 14:42:41 +00:00
### Distro-agnostic GUI
2017-01-25 14:20:49 -05:00
2023-12-01 14:42:41 +00:00
You can install i2pd GUI from Flathub using `flatpak` :
2017-01-25 14:20:49 -05:00
2023-12-01 14:42:41 +00:00
sudo apt install flatpak
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install flathub website.i2pd.i2pd
### Arch
i2pd packages are available at Arch's [extra repository ](https://archlinux.org/packages/extra/x86_64/i2pd/ ) for release version, and [AUR ](https://aur.archlinux.org/packages/i2pd-git/ ) for nightly builds.
You can download them by running
pacman -S i2pd --noconfirm
### Gentoo
i2pd [has a working ebuild in the main gentoo repository ](https://packages.gentoo.org/packages/net-vpn/i2pd ). As of May 2018, the ebuild
is still listed as "unstable", and thus will request an exception in your package.keywords if you are using gentoo under the "stable" branch.
To install i2pd, enter the command:
emerge --ask net-vpn/i2pd
2017-01-25 14:20:49 -05:00
2023-12-01 14:42:41 +00:00
If you use `gcc` to compile packages and would like to enable cmake's hardening features, use the `i2p-hardening` flag (recommended).
If you intend to use the websocket server, enable the `websocket` flag.
2017-01-25 14:20:49 -05:00
2023-12-01 14:42:41 +00:00
### Debian
2017-01-25 14:20:49 -05:00
2017-01-26 06:23:59 -05:00
Look for Debian packages at the [latest release page ](https://github.com/PurpleI2P/i2pd/releases/latest ).
2017-01-25 14:20:49 -05:00
2017-01-27 15:25:50 +00:00
Alternatively, you can install i2pd by using repository run by PurpleI2P community member [R4SAS ](https://twitter.com/i2pr4sas ).
2018-04-19 19:59:32 +03:00
Install apt-transport-https package
2017-01-27 15:25:50 +00:00
2018-04-19 19:59:32 +03:00
sudo apt-get install apt-transport-https
2017-01-27 15:25:50 +00:00
2021-11-03 20:51:35 +02:00
Automatically add repository
2017-01-27 15:25:50 +00:00
2018-04-19 19:59:32 +03:00
wget -q -O - https://repo.i2pd.xyz/.help/add_repo | sudo bash -s -
2017-01-27 15:25:50 +00:00
After that you can install i2pd as any other software package:
2022-12-02 21:04:59 +03:00
sudo apt-get update
sudo apt-get install i2pd
2017-01-27 15:25:50 +00:00
2022-12-02 21:04:59 +03:00
Look for more information about Debian repository [here ](https://repo.i2pd.xyz/.help/readme.html ).
2017-01-27 15:25:50 +00:00
2023-12-01 14:42:41 +00:00
### Fedora/CentOS
2018-01-30 18:29:07 -05:00
You can install i2pd from [repository ](https://copr.fedorainfracloud.org/coprs/supervillain/i2pd/ )
2022-12-02 21:04:59 +03:00
run by PurpleI2P community member [villain ](https://twitter.com/el_villano_loco ) and maintained by [R4SAS ](https://twitter.com/i2pr4sas ).
2018-01-30 18:29:07 -05:00
2023-12-01 14:42:41 +00:00
#### Centos 7:
2018-01-30 18:29:07 -05:00
curl -s https://copr.fedorainfracloud.org/coprs/supervillain/i2pd/repo/epel-7/supervillain-i2pd-epel-7.repo -o /etc/yum.repos.d/i2pd-epel-7.repo
yum install epel-release -y
yum install i2pd -y
2019-02-04 18:56:45 +01:00
systemctl enable --now i2pd
2018-01-30 18:29:07 -05:00
2023-12-01 14:42:41 +00:00
#### Fedora:
2018-01-30 18:29:07 -05:00
dnf copr enable supervillain/i2pd
dnf install i2pd -y
2019-02-04 18:56:45 +01:00
systemctl enable --now i2pd
2018-01-30 18:29:07 -05:00
2023-12-01 14:42:41 +00:00
### Ubuntu
2017-01-25 14:20:49 -05:00
2023-12-01 14:42:41 +00:00
You can install binary packages from the [latest release page ](https://github.com/PurpleI2P/i2pd/releases/latest ).
2017-01-25 14:20:49 -05:00
2023-12-01 14:42:41 +00:00
Alternatively, you can use [PPA repository ](https://launchpad.net/~purplei2p/+archive/ubuntu/i2pd ) or repository provided [below ](#debian ), run by PurpleI2P community member [R4SAS ](https://twitter.com/i2pr4sas ).
2018-05-20 20:58:47 -07:00
2023-12-01 14:42:41 +00:00
sudo add-apt-repository ppa:purplei2p/i2pd
sudo apt-get update
sudo apt-get install i2pd
2017-01-25 14:20:49 -05:00
2023-12-01 14:42:41 +00:00
## FreeBSD
2017-01-25 14:20:49 -05:00
You can install i2pd from [ports ](https://www.freshports.org/security/i2pd/ ).
2019-03-22 17:59:38 +03:00
## MacOS X
2019-03-22 18:04:32 +03:00
You can install i2pd from [brew ](https://brew.sh/ ) package manager:
2019-03-22 17:59:38 +03:00
brew install i2pd
2022-02-03 22:11:06 +02:00
or use statically precompiled binary from [latest release page ](https://github.com/PurpleI2P/i2pd/releases/latest ).
2019-09-22 16:01:26 +08:00