# Installing Persona Server to specific Directory with YUM

**URL:** https://forums.percona.com/t/installing-persona-server-to-specific-directory-with-yum/1968
**Category:** Other MySQL® Questions
**Created:** [January 16, 2013, 7:18pm UTC](https://forums.percona.com/t/installing-persona-server-to-specific-directory-with-yum/1968 "2013-01-16T19:18:24Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![sabin1](https://avatars.discourse-cdn.com/v4/letter/s/919ad9/32.png) [@sabin1](https://forums.percona.com/u/sabin1)
#### Post date: [January 16, 2013, 7:18pm UTC](https://forums.percona.com/t/installing-persona-server-to-specific-directory-with-yum/1968/1 "2013-01-16T19:18:24Z")

</div>

How do you install Percona Server to a specific directory via YUM?

---

<div class="post-metadata">

### Author: ![miguelangelnieto](https://avatars.discourse-cdn.com/v4/letter/m/b9e5f3/32.png) [@miguelangelnieto](https://forums.percona.com/u/miguelangelnieto)
#### Post date: [January 17, 2013, 2:03am UTC](https://forums.percona.com/t/installing-persona-server-to-specific-directory-with-yum/1968/2 "2013-01-17T02:03:13Z")

</div>

There is no way to do that with yum. The only parameter that can help you is --installroot but it will copy all the file and folders to the directory specified here with full paths.

If you want to have Percona Server on a specific directory I recommend you to install it using the binaries instead of the rpm file so you can move the files wherever you want. You can follow mysql’s documentation procedure:

[http://dev.mysql.com/doc/refman/5.5/en/binary-installation.h](http://dev.mysql.com/doc/refman/5.5/en/binary-installation.h) tml
