# Percona client installation failed in linux server with aarch64 architecture

**URL:** <https://forums.percona.com/t/percona-client-installation-failed-in-linux-server-with-aarch64-architecture/11749>\
**Category:** PMM 1.x\
**Tags:** pmm\
**Created:** [August 12, 2021, 6:41am UTC](https://forums.percona.com/t/percona-client-installation-failed-in-linux-server-with-aarch64-architecture/11749 "2021-08-12T06:41:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![suryajai](https://avatars.discourse-cdn.com/v4/letter/s/3ec8ea/32.png) [@suryajai](https://forums.percona.com/u/suryajai)\
**Post date:** [August 12, 2021, 6:41am UTC](https://forums.percona.com/t/percona-client-installation-failed-in-linux-server-with-aarch64-architecture/11749/1 "2021-08-12T06:41:31Z")

</div>

I am trying to install Percona client on two different Linux servers with the same ubuntu version (20.04.2 LTS), but with different architecture. The percona client got successfully installed in the server with x86\_64(amd64) architecture but failing to install in the server with aarch64 architecture. I am facing the following error in the server with aarch64-

![percona_m6](https://us1.discourse-cdn.com/flex019/uploads/percona1/original/2X/2/22769e0cb1c888eada6882c62dcc7047e234b894.png)

Steps followed to install the percona client

1. Download Percona Repo Package

wget [https://repo.percona.com/apt/percona-release\_latest.$](https://repo.percona.com/apt/percona-release_latest.%24)(lsb\_release -sc)\_all.deb

1. Install Percona Repo Package

`sudo dpkg -i percona-release_latest.$(lsb_release -sc)_all.deb`

1. Update apt-cache

`sudo apt-get update`

1. Install Percona Monitoring and Management Client

`sudo apt-get install pmm2-client`

I followed the installation steps given in the below link.

[https://www.percona.com/software/pmm/quickstart#:%7E:text=Step%202%3A%20Install%20Client](https://www.percona.com/software/pmm/quickstart#:%7E:text=Step%202%3A%20Install%20Client)

Please suggest a solution to install percona client in Ubuntu with aarch64 architecture.

---

<div class="post-metadata">

**Author:** ![eleonora.zinchenko](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/eleonora.zinchenko/32/19132_2.png) [@eleonora.zinchenko](https://forums.percona.com/u/eleonora.zinchenko)\
**Post date:** [August 12, 2021, 8:01am UTC](https://forums.percona.com/t/percona-client-installation-failed-in-linux-server-with-aarch64-architecture/11749/2 "2021-08-12T08:01:18Z")

</div>

Hello. Percona does not provide precompiled packages for ARM processors. You will need to download the source code and compile for your processor. You can use the following instruction for this: [Compiling a Percona Monitoring and Management v2 Client in ARM Architecture - Percona Database Performance Blog](https://www.percona.com/blog/2020/08/04/compiling-a-percona-monitoring-and-management-v2-client-in-arm-architecture/) .

---

<div class="post-metadata">

**Author:** ![suryajai](https://avatars.discourse-cdn.com/v4/letter/s/3ec8ea/32.png) [@suryajai](https://forums.percona.com/u/suryajai)\
**Post date:** [August 16, 2021, 11:04am UTC](https://forums.percona.com/t/percona-client-installation-failed-in-linux-server-with-aarch64-architecture/11749/3 "2021-08-16T11:04:36Z")

</div>

Thanks for your kind reply. Now I am facing an issue when following the steps given in the link shared earlier for compiling pmm client for the ARM architecture.

**Issue:**  
`vendor/github.com/lfittl/pg_query_go/parser/include/port/atomics/arch-arm.h: No such file or directory`

Command used:

```auto
wget -O vendor/github.com/lfittl/pg_query_go/parser/include/port/atomics/arch-arm.h \
  https://raw.githubusercontent.com/postgres/postgres/master/src/include/port/atomics/arch-arm.h

```

I tried replacing ‘lfittl’ with ‘pganalyze’ in the command as said in the link below. But still, I am getting the same error.

[https://github.com/lfittl/pg\_query\_go#note-this-repository-has-moved-to-githubcompganalyzepg\_query\_go](https://github.com/lfittl/pg_query_go#note-this-repository-has-moved-to-githubcompganalyzepg_query_go)

 ![pganalyze](https://us1.discourse-cdn.com/flex019/uploads/percona1/original/2X/9/9697fceeda766fc64774a7c1bfc89857bb9ff1d8.png)

Please suggest a solution to this issue.

---

<div class="post-metadata">

**Author:** ![Agustin\_G](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/agustin_g/32/14111_2.png) [@Agustin\_G](https://forums.percona.com/u/Agustin_G)\
**Post date:** [August 18, 2021, 8:25pm UTC](https://forums.percona.com/t/percona-client-installation-failed-in-linux-server-with-aarch64-architecture/11749/4 "2021-08-18T20:25:28Z")

</div>

Hi @suryajai,

For Ubuntu, you will actually want to read my reprise blogpost:

> **[Compiling a Percona Monitoring and Management v2 Client in ARM: Raspberry Pi...](https://www.percona.com/blog/2021/05/26/compiling-a-percona-monitoring-and-management-v2-client-in-arm-raspberry-pi-3/)**
>
> See what changes are needed to get the latest versions of Percona Monitoring and Management working on ARM architecture, using a Raspberry Pi 3 instead of the AWS EC2 ARM node.

That has the updated steps you’ll need. Let us know how it goes!
