> ## Documentation Index
> Fetch the complete documentation index at: https://phalanetwork.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Step 2: Update Your Server for dstack Installation

> Apply all available updates and security patches to prepare your system for dstack.

Update your server so it has the latest kernel, firmware, and libraries.

## Update Commands

```bash theme={null}
sudo apt update && sudo apt upgrade -y
```

*This command updates all packages and applies the latest security patches.*

***

#### Recommendation

* Reboot your server if the kernel or major system libraries are updated.
