Skip to main content

Installing Cursor on Ubuntu 24.04

Question

Hello, I am trying to install Cursor on a fresh Ubuntu 24.04 and I keep getting this error:

Command: ./cursor-0.33.1x86_64.AppImage

Output:

[15782:0509/084956.875712:FATAL:setuid_sandbox_host.cc(158)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I’m aborting now. You need to make sure that /tmp/.mount_cursorgbp94S/chrome-sandbox is owned by root and has mode 4755.
Trace/breakpoint trap (core dumped)

I am not very prolific with AppImage, could you give me any tip to continue the installation?

Answer

This issue is related to AppArmor. You need to create a profile to run Cursor. Alternatively, you can run it with the --no-sandbox option, which should work fine:

./cursor-0.40.1x86_64.AppImage --no-sandbox

If you prefer to fix the permissions, you can run the following commands:

sudo chmod 4755 /tmp/.mount_cursormtBVFd/chrome-sandbox
sudo chown root:root /tmp/.mount_cursormtBVFd/chrome-sandbox

This should resolve the issue on your Ubuntu 24.04.

Source

@https://forum.cursor.com/t/cursor-install-ubuntu-24-04/4838