# How to upgrade to a specific version

**URL:** https://discuss.elastic.co/t/how-to-upgrade-to-a-specific-version/203575
**Category:** Beats
**Created:** [October 15, 2019, 7:26am UTC](https://discuss.elastic.co/t/how-to-upgrade-to-a-specific-version/203575 "2019-10-15T07:26:08Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![skyluke.1987](https://avatars.discourse-cdn.com/v4/letter/s/48db29/32.png) [@skyluke.1987](https://discuss.elastic.co/u/skyluke.1987)
#### Post date: [October 15, 2019, 7:26am UTC](https://discuss.elastic.co/t/how-to-upgrade-to-a-specific-version/203575/1 "2019-10-15T07:26:08Z")

</div>

Hi all, I am currently on version 7.1.1, but I wish to upgrade it to 7.3.2. Instead of upgrading to the latest version 7.4.0, how can I upgrade using the repository to this 7.3.2 ?

---

<div class="post-metadata">

### Author: ![Michael\_Madden](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michael_madden/32/46640_2.png) [@Michael\_Madden](https://discuss.elastic.co/u/Michael_Madden)
#### Post date: [October 15, 2019, 2:31pm UTC](https://discuss.elastic.co/t/how-to-upgrade-to-a-specific-version/203575/2 "2019-10-15T14:31:32Z")

</div>

Hello, thanks for the question about beats.

Which type of repository are you using - APT or YUM?

If you're using an APT repository, you can do the following to check versions of filebeat and install version `7.3.2`.

```bash
# apt-cache policy filebeat
filebeat:
  Installed: (none)
  Candidate: 7.4.0
  Version table:
     7.4.0 500
        500 https://artifacts.elastic.co/packages/7.x/apt stable/main amd64 Packages
     7.3.2 500
        500 https://artifacts.elastic.co/packages/7.x/apt stable/main amd64 Packages
     7.3.1 500
        500 https://artifacts.elastic.co/packages/7.x/apt stable/main amd64 Packages
     7.3.0 500
        500 https://artifacts.elastic.co/packages/7.x/apt stable/main amd64 Packages
     7.2.1 500
        500 https://artifacts.elastic.co/packages/7.x/apt stable/main amd64 Packages
     7.2.0 500
        500 https://artifacts.elastic.co/packages/7.x/apt stable/main amd64 Packages
     7.1.1 500
        500 https://artifacts.elastic.co/packages/7.x/apt stable/main amd64 Packages
     7.1.0 500
        500 https://artifacts.elastic.co/packages/7.x/apt stable/main amd64 Packages
     7.0.1 500
        500 https://artifacts.elastic.co/packages/7.x/apt stable/main amd64 Packages
     7.0.0 500
        500 https://artifacts.elastic.co/packages/7.x/apt stable/main amd64 Packages

# apt install filebeat=7.3.2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  filebeat
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 25.5 MB of archives.
After this operation, 91.5 MB of additional disk space will be used.
Get:1 https://artifacts.elastic.co/packages/7.x/apt stable/main amd64 filebeat amd64 7.3.2 [25.5 MB]
Fetched 25.5 MB in 2s (11.1 MB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package filebeat.
(Reading database ... 4730 files and directories currently installed.)
Preparing to unpack .../filebeat_7.3.2_amd64.deb ...
Unpacking filebeat (7.3.2) ...
Setting up filebeat (7.3.2) ...

# dpkg -l filebeat
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-====================================-=======================-=======================-=============================================================================
ii filebeat 7.3.2 amd64 Filebeat sends log files to Logstash or directly to Elasticsearch.

```

---

<div class="post-metadata">

### Author: ![Michael\_Madden](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michael_madden/32/46640_2.png) [@Michael\_Madden](https://discuss.elastic.co/u/Michael_Madden)
#### Post date: [October 15, 2019, 2:39pm UTC](https://discuss.elastic.co/t/how-to-upgrade-to-a-specific-version/203575/3 "2019-10-15T14:39:50Z")

</div>

If you're using a YUM repository, you can do the following:

```bash
# yum list available filebeat --showduplicates
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
 * base: mirror.mobap.edu
 * extras: mirror.mobap.edu
 * updates: mirror.mobap.edu
Available Packages
filebeat.i686 7.0.0-1 elastic-7.x
filebeat.x86_64 7.0.0-1 elastic-7.x
filebeat.i686 7.0.1-1 elastic-7.x
filebeat.x86_64 7.0.1-1 elastic-7.x
filebeat.i686 7.1.0-1 elastic-7.x
filebeat.x86_64 7.1.0-1 elastic-7.x
filebeat.i686 7.1.1-1 elastic-7.x
filebeat.x86_64 7.1.1-1 elastic-7.x
filebeat.i686 7.2.0-1 elastic-7.x
filebeat.x86_64 7.2.0-1 elastic-7.x
filebeat.i686 7.2.1-1 elastic-7.x
filebeat.x86_64 7.2.1-1 elastic-7.x
filebeat.i686 7.3.0-1 elastic-7.x
filebeat.x86_64 7.3.0-1 elastic-7.x
filebeat.i686 7.3.1-1 elastic-7.x
filebeat.x86_64 7.3.1-1 elastic-7.x
filebeat.i686 7.3.2-1 elastic-7.x
filebeat.x86_64 7.3.2-1 elastic-7.x
filebeat.i686 7.4.0-1 elastic-7.x
filebeat.x86_64 7.4.0-1 elastic-

# yum install -y filebeat-7.3.2-1.x86_64
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
 * base: mirror.mobap.edu
 * extras: mirror.mobap.edu
 * updates: mirror.mobap.edu
Resolving Dependencies
--> Running transaction check
---> Package filebeat.x86_64 0:7.3.2-1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=========================================================================================================================================================================
 Package Arch Version Repository Size
=========================================================================================================================================================================
Installing:
 filebeat x86_64 7.3.2-1 elastic-7.x 24 M

Transaction Summary
=========================================================================================================================================================================
Install 1 Package

Total download size: 24 M
Installed size: 87 M
Downloading packages:
filebeat-7.3.2-x86_64.rpm | 24 MB 00:00:02
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : filebeat-7.3.2-1.x86_64 1/1
  Verifying : filebeat-7.3.2-1.x86_64 1/1

Installed:
  filebeat.x86_64 0:7.3.2-1

Complete!

# rpm -q filebeat
filebeat-7.3.2-1.x86_64

```

---

<div class="post-metadata">

### Author: ![skyluke.1987](https://avatars.discourse-cdn.com/v4/letter/s/48db29/32.png) [@skyluke.1987](https://discuss.elastic.co/u/skyluke.1987)
#### Post date: [October 16, 2019, 7:09am UTC](https://discuss.elastic.co/t/how-to-upgrade-to-a-specific-version/203575/4 "2019-10-16T07:09:55Z")

</div>

Thanks ! it works!

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [November 13, 2019, 9:09am UTC](https://discuss.elastic.co/t/how-to-upgrade-to-a-specific-version/203575/5 "2019-11-13T09:09:56Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
