Install Percona Distribution for MongoDB
The installation of Percona Distribution for MongoDB is an easy, three-step process:
- Install the percona-release utility.
- Set up the Percona repository for the required version of Percona Distribution for MongoDB.
- Install the packages.
Run the following commands in the steps as root or by using the sudo command.
Step 1: Install percona-release
See the Percona Software Repositories Documentation for installation instructions relevant to your operating system.
If you have previously installed percona-release, make sure it is updated to the latest version.
Step 2: Set up Percona Repository
As soon as percona-release is up-to-date, use the setup command to enable Percona repository for Percona Distribution for MongoDB (pdmdb-4.4).$ sudo percona-release setup pdmdb-4.4
Step 3: Install Packages
Install Percona Distribution for MongoDB components using the package manager of your operating system.

# Install the Percona Server for MongoDB package
$ sudo apt-get install percona-server-mongodb
# Install the Percona Backup for MongoDB package
$ sudo apt-get install percona-backup-mongodb


# Install the Percona Server for MongoDB package
$ yum install percona-server-mongodb
# Install the Percona Backup for MongoDB package
$ yum install percona-backup-mongodb