> For the complete documentation index, see [llms.txt](https://mariadb.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mariadb.com/docs/server/reference/product-development/server-development/tools/buildbot/setup/buildbot-setup-for-virtual-machines/buildbot-setup-for-virtual-machines-additional-steps/installing-correct-libraries-for-pam-and-readline.md).

# Installing Correct Libraries for PAM and readline

Explains how to provision and configure virtual machine instances specifically for Buildbot testing.

Some additional/alternative libraries needs to be installed to handle readline and PAM correctly.

The newer libreadline is GPLv3 and so not compatible with the MariaDB/MySQL\
GPLv2 license. The PAM libraries are needed for the PAM plugin.

On the Centos and RHEL -build VMs, install the pam-devel package:

```
sudo yum install pam-devel
```

On all the Debian/Ubuntu -build virtual machines, install libpam0g-dev:

```
sudo apt-get install libpam0g-dev
```

On debian6/maverick/natty, install libreadline5-dev (replacing any libreadline6-dev already there):

```
sudo apt-get install libreadline5-dev
```

On oneiric (and any newer, eg. Debian 7 or Ubuntu 12.04), the package is called libreadline-gplv2-dev:

```
sudo apt-get install libreadline-gplv2-dev
```

<sub>*This page is licensed: CC BY-SA / Gnu FDL*</sub>

{% @marketo/form formId="4316" %}
