# Do you need to uninstall the previous version of OneAgent when manually updating OneAgent?

**URL:** <https://community.dynatrace.com/t/do-you-need-to-uninstall-the-previous-version-of-oneagent-when-manually-updating-oneagent/12279>\
**Category:** Open Q&A\
**Tags:** installation, oneagent\
**Created:** [May 31, 2018, 2:57pm UTC](https://community.dynatrace.com/t/do-you-need-to-uninstall-the-previous-version-of-oneagent-when-manually-updating-oneagent/12279 "2018-05-31T14:57:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![yangzy](https://avatars.discourse-cdn.com/v4/letter/y/da6949/32.png) [@yangzy](https://community.dynatrace.com/u/yangzy)\
**Post date:** [May 31, 2018, 2:57pm UTC](https://community.dynatrace.com/t/do-you-need-to-uninstall-the-previous-version-of-oneagent-when-manually-updating-oneagent/12279/1 "2018-05-31T14:57:45Z")

</div>

1. Global automatic update is not set up

2. When I manually update OneAgent, do I need to uninstall the previous version of OneAgent in advance?

---

<div class="post-metadata">

**Author:** ![Tomasz\_Gajger](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/tomasz_gajger/32/11712_2.png) [@Tomasz\_Gajger](https://community.dynatrace.com/u/Tomasz_Gajger)\
**Post date:** [May 31, 2018, 3:16pm UTC](https://community.dynatrace.com/t/do-you-need-to-uninstall-the-previous-version-of-oneagent-when-manually-updating-oneagent/12279/2 "2018-05-31T15:16:23Z")

</div>

No, the previous version does not need to be uninstalled. Once the OneAgent installer for newer version is started, it will uninstall the previous version as a part of installation process. This is fully supported.

Regards,  
Tomasz

---

<div class="post-metadata">

**Author:** ![hayden\_miedema](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/hayden_miedema/32/29357_2.png) [@hayden\_miedema](https://community.dynatrace.com/u/hayden_miedema)\
**Post date:** [May 31, 2018, 6:39pm UTC](https://community.dynatrace.com/t/do-you-need-to-uninstall-the-previous-version-of-oneagent-when-manually-updating-oneagent/12279/3 "2018-05-31T18:39:13Z")

</div>

The uninstall of previous versions of the agent is done as part of the install of a new version. All you should need to do is pull the new shell script/installer and run it.

Thanks,  
Hayden

---

<div class="post-metadata">

**Author:** ![yangzy](https://avatars.discourse-cdn.com/v4/letter/y/da6949/32.png) [@yangzy](https://community.dynatrace.com/u/yangzy)\
**Post date:** [June 1, 2018, 1:26am UTC](https://community.dynatrace.com/t/do-you-need-to-uninstall-the-previous-version-of-oneagent-when-manually-updating-oneagent/12279/4 "2018-06-01T01:26:52Z")

</div>

ok,Thank you

---

<div class="post-metadata">

**Author:** ![yangzy](https://avatars.discourse-cdn.com/v4/letter/y/da6949/32.png) [@yangzy](https://community.dynatrace.com/u/yangzy)\
**Post date:** [June 1, 2018, 1:27am UTC](https://community.dynatrace.com/t/do-you-need-to-uninstall-the-previous-version-of-oneagent-when-manually-updating-oneagent/12279/5 "2018-06-01T01:27:11Z")

</div>

OK,Thank you
