Skip to content

Install Google Antigravity on Pop!_OS 26.04 / Ubuntu / Debian

Google Antigravity ships as a .tar.gz archive rather than a .deb package. Extract it to /opt, add a symlink to your PATH, create a desktop launcher, and configure AppArmor if needed.

On this page
  1. 1. Extract the .tar.gz Archive
  2. 2. Move the Application to /opt/antigravity
  3. Verify the Launch
  4. 3. Add Antigravity to Your PATH
  5. Verify the Symlink
  6. 4. Create a Desktop Launcher
  7. Troubleshooting & Updates
  8. AppArmor Sandbox Errors on Ubuntu 26.04 and Pop!_OS 26.04
  9. Updating Antigravity

Google Antigravity is distributed for Linux as a compressed .tar.gz archive rather than a .deb package. On Pop!_OS 26.04, Ubuntu, and Debian, installing it cleanly means extracting the files to /opt, linking the executable to your PATH, and creating a .desktop entry so it shows up in your application launcher.

1. Extract the .tar.gz Archive

Open a terminal (Ctrl + Alt + T), navigate to the folder where you downloaded the archive (typically ~/Downloads), and extract it:

Terminal window
cd ~/Downloads
tar -xzf Antigravity.tar.gz

(If your downloaded file has a slightly different name—such as Antigravity IDE.tar.gz or an ARM64 build—replace Antigravity.tar.gz with your exact filename.)

Run ls to check the name of the extracted folder (usually Antigravity-x64 or similar).

2. Move the Application to /opt/antigravity

Rather than running the app out of ~/Downloads, move it into /opt/antigravity so it lives in a permanent system directory:

Terminal window
sudo rm -rf /opt/antigravity
sudo cp -r Antigravity-x64 /opt/antigravity
sudo chmod +x /opt/antigravity/antigravity

(Adjust Antigravity-x64 if your extracted directory uses a different name, and verify the executable name inside it—typically antigravity.)

Verify the Launch

Run the binary directly from your terminal to make sure it opens cleanly:

Terminal window
/opt/antigravity/antigravity

Close the application before moving on to the next step.

3. Add Antigravity to Your PATH

Create a symbolic link in /usr/local/bin so you can launch Antigravity from anywhere in the terminal simply by typing antigravity:

Terminal window
sudo ln -sf /opt/antigravity/antigravity /usr/local/bin/antigravity
Terminal window
which antigravity

This should return /usr/local/bin/antigravity.

4. Create a Desktop Launcher

To add Antigravity to your application menu and dock on COSMIC, GNOME, or KDE, create a .desktop entry in ~/.local/share/applications:

Terminal window
mkdir -p ~/.local/share/applications
cat << 'EOF' > ~/.local/share/applications/antigravity.desktop
[Desktop Entry]
Name=Antigravity
Comment=Antigravity Desktop Application
Exec=/opt/antigravity/antigravity %U
Terminal=false
Type=Application
Categories=Development;Utility;
StartupNotify=true
EOF
chmod +x ~/.local/share/applications/antigravity.desktop
update-desktop-database ~/.local/share/applications

(If there is an icon file inside /opt/antigravity, you can add an Icon=/opt/antigravity/path-to-icon.png line inside the [Desktop Entry] section.)

Open your application launcher and search for Antigravity to confirm it appears and launches properly.

Troubleshooting & Updates

AppArmor Sandbox Errors on Ubuntu 26.04 and Pop!_OS 26.04

Modern Ubuntu-based releases restrict unprivileged user namespaces via AppArmor, which can cause Electron and Chromium-based applications to fail at startup with a sandbox error. If /opt/antigravity/antigravity throws a sandbox error when run from the terminal, check your logs (dmesg or journalctl) and create a dedicated AppArmor profile for /opt/antigravity/antigravity rather than disabling user namespace restrictions system-wide.

Updating Antigravity

When a newer .tar.gz release comes out, close Antigravity, extract the new archive, and replace /opt/antigravity with the updated directory. Your /usr/local/bin/antigravity symlink and .desktop launcher will continue working without needing any changes.