---
title: "Install PKI Express on CentOS, Oracle Linux or Fedora"
description: "Installing PKI Express on CentOS, Oracle Linux or Fedora: download and extract the package, set up the log folder, activate it with the license file and update it."
canonical: "https://docs.lacunasoftware.com/en-us/articles/pki-express/setup/linux-centos"
locale: "en"
product: "PKI Express"
last_updated: "2026-10-12"
---

# Install PKI Express on CentOS, Oracle Linux or Fedora

In order to install PKI Express on CentOS, Oracle Linux or Fedora you will need a license file. If you don't have a license yet, [request a trial license](https://www.lacunasoftware.com/en/home/purchase).

With the license file (**LacunaPkiLicense.config**) at hand, follow the steps below:

## Installing PKI Express

Download PKI Express and extract to the destination directory:

```sh
curl -O https://cdn.lacunasoftware.com/pki-express/linux/pkie-1.38.0.tar.gz
sudo mkdir /usr/share/pkie
sudo tar xzf pkie-1.38.0.tar.gz -C /usr/share/pkie
sudo chmod +x /usr/share/pkie/pkie
sudo ln -s /usr/share/pkie/pkie /usr/local/bin/pkie
```

Create a folder to write log files and configure it on PKI Express:

```sh
sudo mkdir /var/log/pkie
sudo chmod 777 /var/log/pkie
sudo pkie config --set logDir=/var/log/pkie
```

Activate PKI Express:

```sh
sudo pkie activate LacunaPkiLicense.config
```

> **Note**
>
> If the activation over the network fails, see [Manual activation](https://docs.lacunasoftware.com/en-us/articles/pki-express/setup/manual-activation).

## Update

To update PKI Express, simply download the new package and extract to the destination folder:

```sh
curl -O https://cdn.lacunasoftware.com/pki-express/linux/pkie-1.38.0.tar.gz
sudo rm -R /usr/share/pkie/*
sudo tar xzf pkie-1.38.0.tar.gz -C /usr/share/pkie
sudo chmod -R a=r,a+X,u+w /usr/share/pkie
```

> **Note**
>
> If you are updating from a version 1.0.x, you will need to configure the log folder and activate PKI Express (see instructions above)
