Klaytn Docs
Installation Guide
You can download the latest version of the kpn on Download page.

The archive file consists of the executable binary and the configuration file structured as follows.
Note: Do NOT alter the file structure or file name. If you change it, the node may not function correctly.
- bin
|- kpn
|- kpnd
- conf
|- kpnd.conf
File Name
File Description
PN executable file
PN start/termination script file
PN configuration file

The installation is the uncompression of the downloaded package where you want to install the package.
$ tar zxf kpn-vX.X.X-linux-amd64.tar.gz
$ tar zxf kpn-baobab-vX.X.X-linux-amd64.tar.gz
Note: it is recommended that the uncompressed directory kpn-linux-amd64/bin path should be added to the environment variable $PATH to run the kpn and kpnd globally. As an example,
$ export PATH=$PATH:~/downloaded/path/kpn-linux-amd64/bin
The other sections assume that the path is added to the variable.

You can install the downloaded RPM file with the following yum command.
$ yum install kpnd-vX.X.X.el7.x86_64.rpm
$ yum install kpnd-baobab-vX.X.X.el7.x86_64.rpm

Alternatively, you can install kpnd from the Klaytn Yum repo, run:
$ sudo curl -o /etc/yum.repos.d/klaytn.repo https://packages.klaytn.net/config/rhel/7/prod.repo && sudo yum install kpnd

The installed files are located as follows.
File Name
Copy link
Edit on GitHub
On this page
Linux Archive Distribution
RPM Distribution (RHEL/CentOS/Fedora)
Install downloaded RPM
Install from Klaytn Yum Repo
Installed Location