# Updating OctoXLabs

### Step 1: Stop All Services﻿ <a href="#step-1-stop-all-services" id="step-1-stop-all-services"></a>

Before updating the OctoX platform, you must turn off all services. Use the following commands:

```
octox-ctl -x down
```

### Step 2: Run the Update Package﻿ <a href="#step-2-run-the-update-package" id="step-2-run-the-update-package"></a>

Ubuntu or Debian

```
$ dpkg -i octoxlabs_***.deb
```

Redhat or CentOS

```
$ rpm -i --force octoxlabs_***.rpm
```

{% hint style="info" %}
In the file name, which is in the form of octoxlabs\_\*\**, the full file name must be placed where there is an asterisk (*). For example, octoxlabs\_stable\_4.0.0\_amd64\_202402020623\_update.rpm.
{% endhint %}

### Step 3: Start All Services﻿ <a href="#step-3-start-all-services" id="step-3-start-all-services"></a>

```
octox-ctl -x up
```

At the end of this process, the OctoXLabs update will be completed.
