[comment]: # ({490a37c2-490a37c2})
# Upgrade from packages

[comment]: # ({/490a37c2-490a37c2})

[comment]: # ({0fa07e9f-0fa07e9f})
#### Overview

This section provides the steps required for a successful
[upgrade](/manual/installation/upgrade) using official RPM and DEB
packages provided by Zabbix for:

-   [Red Hat Enterprise
    Linux/CentOS](/manual/installation/upgrade/packages/rhel_centos)
-   [Debian/Ubuntu](/manual/installation/upgrade/packages/debian_ubuntu)

[comment]: # ({/0fa07e9f-0fa07e9f})

[comment]: # ({f771a1fc-221e8bcd})
##### Zabbix packages from OS repositories

Often, OS distributions (in particular, Debian-based distributions)
provide their own Zabbix packages.<br>
Note, that these packages are not supported by Zabbix, they are
typically out of date and lack the latest features and bug fixes. Only
the packages from [repo.zabbix.com](https://repo.zabbix.com/) are
officially supported.

If you are upgrading from packages provided by OS distributions (or had
them installed at some point), follow this procedure to switch to
official Zabbix packages:

1.  Always uninstall the old packages first.
2.  Check for residual files that may have been left after
    deinstallation.
3.  Install official packages following [installation
    instructions](https://www.zabbix.com/download?zabbix=4.0) provided
    by Zabbix.

Never do a direct update, as this may result in a broken installation.

[comment]: # ({/f771a1fc-221e8bcd})
