# Update with RPM

To update Web component, you use the following commands:

> yum install dnlv6\_webbackend (for the api )
>
> yum install dnlv6\_webui (for the web ui)

To update Switch backend component, you use the following commands:&#x20;

> yum install dnlv6\_softswitch

If some cases, you may not be able to start up dnl\_api\_core, then you will need to run the following commands to reinstall the API server.

```
rm -rf /usr/lib/python3.6/site-packages/api_dnl*
yum remove  dnlv6-webbackend
yum install  dnlv6-webbackend


```

After RPM packages are installed then run the following command:

> cd /opt/denovo\_v6/api\_dnl&#x20;
>
> alembic -c alembic.ini upgrade head

{% hint style="info" %}
It is recommended that you backup your Class4 DB before you update your installation.  here is the Postgres command you can use to backup the entire database:

pg\_dump -U postgres class4\_dnl > class4\_dnl\_dump.sql
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://cookbook.denovolab.com/upgrade-an-existing-installation/update-an-existing-installation/update-with-rpm.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
