Skip to content

Linux

Ubuntu

Snapcraft

To install OpenTofu on Ubuntu using Snapcraft CLI, run the following command:

snap install --classic opentofu

Note

Snaps are dependency-free, cross-platform, self-contained, secure, easy-to-install Linux application packages for desktop, cloud, and IoT.

They include all required dependencies, update automatically, and run securely across various distributions.