# Issues with dependencies and installing Percona Toolkit

**URL:** <https://forums.percona.com/t/issues-with-dependencies-and-installing-percona-toolkit/5361>\
**Category:** Percona Toolkit\
**Created:** [January 21, 2017, 10:46am UTC](https://forums.percona.com/t/issues-with-dependencies-and-installing-percona-toolkit/5361 "2017-01-21T10:46:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![K\_Michels](https://avatars.discourse-cdn.com/v4/letter/k/3ab097/32.png) [@K\_Michels](https://forums.percona.com/u/K_Michels)\
**Post date:** [January 21, 2017, 10:46am UTC](https://forums.percona.com/t/issues-with-dependencies-and-installing-percona-toolkit/5361/1 "2017-01-21T10:46:03Z")

</div>

on Centos 6-8.el6.12.3.x86\_64 with mysql Ver 14.14 Distrib 5.6.34, I am having trouble with installing Percona Toolkit:

yum install percona-toolkit-2.2.20-1.noarch.rpm  
Loaded plugins: fastestmirror, security  
Setting up Install Process  
Examining percona-toolkit-2.2.20-1.noarch.rpm: percona-toolkit-2.2.20-1.noarch  
Marking percona-toolkit-2.2.20-1.noarch.rpm to be installed  
Loading mirror speeds from cached hostfile

- epel: [mirror.steadfast.net](http://mirror.steadfast.net)  
Resolving Dependencies  
 → Running transaction check  
—\> Package percona-toolkit.noarch 0:2.2.20-1 will be installed  
 → Processing Dependency: perl(DBD::mysql) \>= 1.0 for package: percona-toolkit-2.2.20-1.noarch  
 → Processing Dependency: perl(IO::Socket::SSL) for package: percona-toolkit-2.2.20-1.noarch  
 → Processing Dependency: perl(Term::ReadKey) for package: percona-toolkit-2.2.20-1.noarch  
 → Finished Dependency Resolution  
Error: Package: percona-toolkit-2.2.20-1.noarch (/percona-toolkit-2.2.20-1.noarch)  
Requires: perl(Term::ReadKey)  
Error: Package: percona-toolkit-2.2.20-1.noarch (/percona-toolkit-2.2.20-1.noarch)  
Requires: perl(IO::Socket::SSL)  
Error: Package: percona-toolkit-2.2.20-1.noarch (/percona-toolkit-2.2.20-1.noarch)  
Requires: perl(DBD::mysql) \>= 1.0  
You could try using --skip-broken to work around the problem  
You could try running: rpm -Va --nofiles --nodigest

I’m not able to install the dependencies  
e.g.  
yum install perl-TermReadKey  
Loaded plugins: fastestmirror, security  
Setting up Install Process  
Loading mirror speeds from cached hostfile

- epel: [mirror.steadfast.net](http://mirror.steadfast.net)  
No package perl-TermReadKey available.  
Error: Nothing to do

New to centos and not sure what is missing. Can you please help?

---

<div class="post-metadata">

**Author:** ![mkormendy](https://avatars.discourse-cdn.com/v4/letter/m/ecae2f/32.png) [@mkormendy](https://forums.percona.com/u/mkormendy)\
**Post date:** [April 3, 2017, 12:14pm UTC](https://forums.percona.com/t/issues-with-dependencies-and-installing-percona-toolkit/5361/2 "2017-04-03T12:14:50Z")

</div>

As of April 3, 2017, use the following command to install on CentOS:

---

<div class="post-metadata">

**Author:** ![carlos.salguero](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/carlos.salguero/32/20_2.png) [@carlos.salguero](https://forums.percona.com/u/carlos.salguero)\
**Post date:** [April 3, 2017, 1:04pm UTC](https://forums.percona.com/t/issues-with-dependencies-and-installing-percona-toolkit/5361/3 "2017-04-03T13:04:32Z")

</div>

Try

```auto
sudo perl -MCPAN -e 'install DBD::mysql'

```
