On Ubuntu 24.04, this exact freeze is a known issue. The official apt repository currently pushes an outdated package version (1.23.2) that forces background agents into an active conflict loop, halting the installer completely. Additionally, Ubuntu 24.04 enforces strict AppArmor restrictions (kernel.apparmor_restrict_unprivileged_userns=1) that freeze or crash Electron apps attempting to configure their user-namespace sandbox silently. [1, 2, 3]
Bypassing apt entirely and installing the native standalone .tar.gz package is the most reliable way to fix this. [1]
Step 1: Clean Up Failed APT Artifacts
Clear out the corrupted package lock state and remove the broken repository configuration:
sudo rm -f /var/lib/dpkg/lock-frontend /var/lib/apt/lists/lock
sudo apt purge antigravity -y
sudo rm -f /etc/apt/sources.list.d/antigravity.list
sudo apt update
Step 2: Download and Extract the Tarball
Go to the Google Antigravity Download Page and grab the official Linux .tar.gz archive. Move and unpack it into your system’s global application directory: [1, 4]
cd ~/Downloads
tar -xvzf "Antigravity IDE.tar.gz"
sudo mv "Antigravity IDE" /opt/antigravity
(Note: If your downloaded file name is slightly different, adjust the tar command to match your filename.) [1]
Step 3: Configure Chrome Sandbox & AppArmor (Fixes the Freeze)
To satisfy the security model on Ubuntu 24.04, manually assign root ownership to the internal application sandbox: [1, 2]
sudo chown root:root /opt/antigravity/chrome-sandbox
sudo chmod 4755 /opt/antigravity/chrome-sandbox
Step 4: Create a Desktop Launcher
Generate a system shortcut file so you can launch the app from the Ubuntu activities menu: [1]
cat << 'EOF' > ~/.local/share/applications/antigravity-ide.desktop
[Desktop Entry]
Name=Antigravity IDE
Exec=/opt/antigravity/antigravity-ide %U
Icon=/opt/antigravity/resources/app/resources/linux/code.png
Type=Application
Terminal=false
Categories=Development;IDE;
EOF
update-desktop-database ~/.local/share/applications
Step 5: CPU Feature Verification (If App Crashes Immediately)
If the app opens but its server agent crashes instantly, check your CPU capabilities, as the underlying models require AES-NI hardware acceleration. Run this check: [5, 6]
cat /proc/cpuinfo | grep -E --color "aes"
If this yields no output, enable Intel AES-NI or AMD SVM/AES in your BIOS. [5, 6]
If errors persist, check that your system supports necessary CPU features and provide terminal output if errors continue. [5, 7]
[1] https://discuss.ai.google.dev
… more links truncated because only 2 links allowed for new users