# Compile PMM client tools on Raspberry Pi 4

**URL:** <https://forums.percona.com/t/compile-pmm-client-tools-on-raspberry-pi-4/7533>\
**Category:** PMM 2.x\
**Created:** [April 12, 2020, 4:38pm UTC](https://forums.percona.com/t/compile-pmm-client-tools-on-raspberry-pi-4/7533 "2020-04-12T16:38:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jbiancot](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/jbiancot/32/6030_2.png) [@jbiancot](https://forums.percona.com/u/jbiancot)\
**Post date:** [April 12, 2020, 4:38pm UTC](https://forums.percona.com/t/compile-pmm-client-tools-on-raspberry-pi-4/7533/1 "2020-04-12T16:38:10Z")

</div>

Hi,  
I have a Raspberry Pi 4, my idea was to be able to run:

```auto
pmm-admin config --server-url=https...pmm-admin add mysql 

```

Because on the same Pi, I have 2 docker containers, they run MySQL 5.7.x and they are slaves of 2 of MySQL servers running on the cloud - VulTR. The replication running on the Pi 4 inside containers works fine, but if the local containers go down or replication stops: I would like to be notified. Then, I have a PMM server running on the net. It will be great if the Pi can use the pmm-client tools to monitor the 2 containers and send stats to the PMM server - VulTR. I haven’t found a easy way to install the pmm-client tools.  
  
I downloaded the source for the PMM client:

```auto
https://www.percona.com/downloads/pmm/1.17.3/source/tarball/pmm-client-1.17.3.tar.gz

```

But, I cannot find the steps/instructions to compile, and I don’t see the aarch64 .deb compatible package.

```auto
[root@pi4 ~]&nbsp; uname -a<br>Linux pi4 5.3.0-1022-raspi2 #24-Ubuntu SMP Fri Mar 27 21:32:13 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux

```

  
``` [root@pi4 ~]&nbsp; lsb\_release -a  
No LSB modules are available.  
Distributor ID:&nbsp;&nbsp;&nbsp; Ubuntu  
Description:&nbsp;&nbsp;&nbsp; Ubuntu 19.10  
Release:&nbsp;&nbsp;&nbsp; 19.10  
Codename:&nbsp;&nbsp;&nbsp; eoan ```  
I even tried to run the docker image:&nbsp; perconalab/pmm-client:dev-latest from the Docker Hub, but it doesn't work, I guess it is not cross compile and it will only work on Intel/AMD 64.  
Any help, I will be appreciate.

---

<div class="post-metadata">

**Author:** ![Peter](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/peter/32/2_2.png) [@Peter](https://forums.percona.com/u/Peter)\
**Post date:** [April 12, 2020, 5:13pm UTC](https://forums.percona.com/t/compile-pmm-client-tools-on-raspberry-pi-4/7533/2 "2020-04-12T17:13:48Z")

</div>

You’re right. Currently only Intel/AMD is officially but it would be very cool to run pmm-client on Raspberri Pi !  
I’ll check with the team to get build instructions.&nbsp; In the meanwhile&nbsp; Does .srpm&nbsp; have build instructions by chance ?&nbsp;

---

<div class="post-metadata">

**Author:** ![jbiancot](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/jbiancot/32/6030_2.png) [@jbiancot](https://forums.percona.com/u/jbiancot)\
**Post date:** [April 16, 2020, 11:07pm UTC](https://forums.percona.com/t/compile-pmm-client-tools-on-raspberry-pi-4/7533/3 "2020-04-16T23:07:35Z")

</div>

> [Peter](https://forums.percona.com/profile/Peter) said: You're right. Currently only Intel/AMD is officially but it would be very cool to run pmm-client on Raspberri Pi !  
> I'll check with the team to get build instructions.&nbsp; In the meanwhile&nbsp; Does .srpm&nbsp; have build instructions by chance ?&nbsp;

Hey Peter, any update on this?

---

<div class="post-metadata">

**Author:** ![gordan](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/gordan/32/3438_2.png) [@gordan](https://forums.percona.com/u/gordan)\
**Post date:** [September 17, 2020, 8:36am UTC](https://forums.percona.com/t/compile-pmm-client-tools-on-raspberry-pi-4/7533/4 "2020-09-17T08:36:08Z")

</div>

@jbiancot the Percona shipped .src.rpm contains pre-built x86 binaries rather than source and build scripts

But - I have what you need here:

[Real PMM 1 .src.rpm buildable from source, tested on aarch64](http://ftp.redsleeve.org/pub/misc/pmm/SRPMS/pmm-client-1.17.4-8.el8.src.rpm).

Article on [how to build PMM 1 from source (what the .src.rpm spec file does)](https://shatteredsilicon.net/blog/2020/08/24/pmm-client-on-raspberry-pi-or-anything-else-from-source/).

If you are looking specifically for instructions on how to build PMM v2 rather than v1, [here is an article explaining the details](https://www.percona.com/blog/2020/08/04/compiling-a-percona-monitoring-and-management-v2-client-in-arm-architecture/).

Enjoy. 🙂
