# How to compile PMM 2.x for Arm64?

**URL:** <https://forums.percona.com/t/how-to-compile-pmm-2-x-for-arm64/19914>\
**Category:** PMM 2.x\
**Created:** [February 3, 2023, 2:23pm UTC](https://forums.percona.com/t/how-to-compile-pmm-2-x-for-arm64/19914 "2023-02-03T14:23:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashvin](https://avatars.discourse-cdn.com/v4/letter/a/ba8739/32.png) [@ashvin](https://forums.percona.com/u/ashvin)\
**Post date:** [February 3, 2023, 2:23pm UTC](https://forums.percona.com/t/how-to-compile-pmm-2-x-for-arm64/19914/1 "2023-02-03T14:23:39Z")

</div>

Hello Percona Team,

I am trying to compile (as I don’t find binary) for AWS c6 Instance type (ARM64). I tried to follow various links (blog post on Percona - 2 years ago and gist script) without success.

It seems like many things are changed since 2 years and I am getting various Go errors making release with latest code.

If anyone can guide me further would be really helpful!

Best Regards,  
Ashvin

---

<div class="post-metadata">

**Author:** ![ashvin](https://avatars.discourse-cdn.com/v4/letter/a/ba8739/32.png) [@ashvin](https://forums.percona.com/u/ashvin)\
**Post date:** [February 7, 2023, 2:56pm UTC](https://forums.percona.com/t/how-to-compile-pmm-2-x-for-arm64/19914/2 "2023-02-07T14:56:50Z")

</div>

Just to update that I’ve followed:

[Steps to compile PMM v2 client on AWS EC2 ARM · GitHub](https://gist.github.com/guriandoro/897e0b8eadf1caaa6c4e4f0b6f132251)

and

[Compiling Percona XtraBackup for ARM - Percona Database Performance Blog](https://www.percona.com/blog/compiling-percona-xtrabackup-for-arm/)

Anyone, please?

---

<div class="post-metadata">

**Author:** ![Daniel\_Porto](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/daniel_porto/32/9272_2.png) [@Daniel\_Porto](https://forums.percona.com/u/Daniel_Porto)\
**Post date:** [February 11, 2023, 9:16am UTC](https://forums.percona.com/t/how-to-compile-pmm-2-x-for-arm64/19914/3 "2023-02-11T09:16:28Z")

</div>

Hi there,  
I have the same issue. I’m using arm instances and develop in mac m1. Thus would be nice to have arm docker images of pmm.  
While trying to build one, I got surprised with the lack of instructions to build pmm server docker images.  
Would be nice to have instructions to build it.

---

<div class="post-metadata">

**Author:** ![Daniel\_Porto](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/daniel_porto/32/9272_2.png) [@Daniel\_Porto](https://forums.percona.com/u/Daniel_Porto)\
**Post date:** [February 11, 2023, 9:50am UTC](https://forums.percona.com/t/how-to-compile-pmm-2-x-for-arm64/19914/4 "2023-02-11T09:50:50Z")

</div>

Just to add, there is discussion from 2018 around that:

> <https://github.com/docker-library/percona/issues/62>
>
> Any chance we can have support for ARM64 enabled?
> 
> It looks as if the Dockerfi…le currently pulls in pre-built packages from the Percona repos.
> 
> For ARM64, perhaps we can build from source, or pull from another repo?

Unfortunately, it appears to me that there are no plans for supporting arm64.

Something that got me sad is that the BUILD\_FROM\_SOURCE instructions are not present for the newer version (8) as it is for version 5 [Installing Percona Server for MySQL 5.7 - Percona Server for MySQL](https://docs.percona.com/percona-server/5.7/installation.html)

Sadly, these red flags are a showstopper for me.
