# Installing a specific version of a single tool (pt-archiver) from percona-toolkit

**URL:** <https://forums.percona.com/t/installing-a-specific-version-of-a-single-tool-pt-archiver-from-percona-toolkit/25623>\
**Category:** Percona Toolkit\
**Tags:** mysql\
**Created:** [October 3, 2023, 10:35am UTC](https://forums.percona.com/t/installing-a-specific-version-of-a-single-tool-pt-archiver-from-percona-toolkit/25623 "2023-10-03T10:35:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Atharv\_Kirtikar](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/atharv_kirtikar/32/7241_2.png) [@Atharv\_Kirtikar](https://forums.percona.com/u/Atharv_Kirtikar)\
**Post date:** [October 3, 2023, 10:35am UTC](https://forums.percona.com/t/installing-a-specific-version-of-a-single-tool-pt-archiver-from-percona-toolkit/25623/1 "2023-10-03T10:35:09Z")

</div>

Hi  
I want to install **ONLY**  **pt-archiver** and no other tool from percona-toolkit (Docker container, want to save space)

[The docs](https://docs.percona.com/percona-toolkit/installation.html#alternative-install-methods) say I can direcly install a single toolkit using wget:

> If you want to download a specific tool, use the following address: [http://www.percona.com/get](http://www.percona.com/get)  
> For example, to download the `pt-summary` tool, run:  
> `wget percona.com/get/pt-summary`

However this gives me the latest version of the tool, **I want a fixed older version.**

1. Is there any endpoint I can hit to do this?
2. Is it safe to just copy the script from the percona-toolkit installation or github and put it into my container?
3. Does pt-archiver have any dependencies in percona-toolkit but outside the script ?

---

<div class="post-metadata">

**Author:** ![Vadim\_Yalovets](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/vadim_yalovets/32/43_2.png) [@Vadim\_Yalovets](https://forums.percona.com/u/Vadim_Yalovets)\
**Post date:** [October 3, 2023, 11:01am UTC](https://forums.percona.com/t/installing-a-specific-version-of-a-single-tool-pt-archiver-from-percona-toolkit/25623/2 "2023-10-03T11:01:22Z")

</div>

Hi @Atharv_Kirtikar

You may unarchive the required file from a deb file.

```auto
wget https://repo.percona.com/percona/apt/pool/main/p/percona-toolkit/percona-toolkit_3.5.4-2.bullseye_amd64.deb
dpkg -x percona-toolkit_3.5.4-2.bullseye_amd64.deb pt
cp pt/usr/bin/pt-archiver /usr/bin
rm -rf pt

```

 ![Screenshot 2023-10-03 at 13.56.07](https://us1.discourse-cdn.com/flex019/uploads/percona1/original/2X/3/3799a4be079f7267b9135b3d19134daa803c2066.png)

Please notice that utility can depend on other packages

 ![Screenshot 2023-10-03 at 13.59.06](https://us1.discourse-cdn.com/flex019/uploads/percona1/original/2X/9/9a09aac86793ed98cf0fddc35bf3d427dd40490d.png)

---

<div class="post-metadata">

**Author:** ![Atharv\_Kirtikar](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/atharv_kirtikar/32/7241_2.png) [@Atharv\_Kirtikar](https://forums.percona.com/u/Atharv_Kirtikar)\
**Post date:** [October 26, 2023, 6:50am UTC](https://forums.percona.com/t/installing-a-specific-version-of-a-single-tool-pt-archiver-from-percona-toolkit/25623/3 "2023-10-26T06:50:15Z")

</div>

Just in case anyone else has the same issue: Note that the percona-toolkit ubuntu/debian package in the apt repository has 2 extra required dependencies (`fdisk` and `gdb`) which do not seem to be actually required.

I would recommend that anyone trying to save space download the deb file from the percona website and find and install the dependencies as @Vadim_Yalovets has done above.

For version 3.5.4, this should work:

```bash
apt install perl libdbi-perl libdbd-mysql-perl libterm-readkey-perl libio-socket-ssl-perl

```
