# Should update cursor work for linux?

**URL:** <https://forum.cursor.com/t/should-update-cursor-work-for-linux/46430>\
**Category:** Help\
**Created:** [January 30, 2025, 11:19pm UTC](https://forum.cursor.com/t/should-update-cursor-work-for-linux/46430 "2025-01-30T23:19:05Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![will](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/will/32/8613_2.png) [@will](https://forum.cursor.com/u/will)\
**Post date:** [January 30, 2025, 11:19pm UTC](https://forum.cursor.com/t/should-update-cursor-work-for-linux/46430/1 "2025-01-30T23:19:05Z")

</div>

I am on Pop OS 22.04. Should the update the prompt work? I can click it, and cursor quits, but it does not update or reopen.

---

<div class="post-metadata">

**Author:** ![dannetstudio](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/dannetstudio/32/17156_2.png) [@dannetstudio](https://forum.cursor.com/u/dannetstudio)\
**Post date:** [January 30, 2025, 11:33pm UTC](https://forum.cursor.com/t/should-update-cursor-work-for-linux/46430/2 "2025-01-30T23:33:43Z")

</div>

From Ubuntu, I’ve never managed to get that to work directly from Cursor, it just serves as a warning to let me know that there’s a new version.

To install/update and configure it I use a modified version from the jorcelinojunior/cursor-setup-wizard github repository.

Anyway, with the latest version they released hours ago, 0.45.7, it seems that something has changed in how they packaged the .AppImage and I can’t get it to work without the --no-sandbox parameter, since otherwise I get SUID / chrome-sandbox errors, maybe it’s something temporary in how they packaged the latest release.

This has some potential security drawbacks since the chromium process will not be sandboxed.

---

<div class="post-metadata">

**Author:** ![danperks](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/danperks/32/19087_2.png) [@danperks](https://forum.cursor.com/u/danperks)\
**Post date:** [February 3, 2025, 2:16am UTC](https://forum.cursor.com/t/should-update-cursor-work-for-linux/46430/3 "2025-02-03T02:16:13Z")

</div>

Hey, the sandbox issue is actually a global issue across many Electron apps, and we are still awaiting a viable and stable fix that doesn’t leave you without any security deficits.

You can read more here: [[Bug]: The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. · Issue #42510 · electron/electron · GitHub](https://github.com/electron/electron/issues/42510)

---

<div class="post-metadata">

**Author:** ![cocode](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/cocode/32/83970_2.png) [@cocode](https://forum.cursor.com/u/cocode)\
**Post date:** [March 6, 2025, 10:39am UTC](https://forum.cursor.com/t/should-update-cursor-work-for-linux/46430/4 "2025-03-06T10:39:38Z")

</div>

Hi, on linux I use this. Just change to installation folder, or get cursor to make your own.

#!/bin/bash

# Script to download, extract, and install an AppImage, overwrite the previous installation,

# and rename the executable to “runcursor”.

# Exit on error

set -e

# Default URL

DEFAULT\_URL=“[https://downloader.cursor.sh/linux/appImage/x64](https://downloader.cursor.sh/linux/appImage/x64)”

# Validate input or use the default URL

if [$# -eq 0]; then  
APPIMAGE\_URL=“$DEFAULT\_URL”  
echo “No URL provided. Defaulting to $APPIMAGE\_URL”  
else  
APPIMAGE\_URL=“$1”  
fi

APPIMAGE\_NAME=$(basename “$APPIMAGE\_URL”)  
DOWNLOAD\_DIR=“$HOME/Downloads”  
APPIMAGE\_PATH=“$DOWNLOAD\_DIR/$APPIMAGE\_NAME”  
INSTALL\_DIR=“$HOME/cursor” # Fixed installation directory

# Step 1: Download the AppImage

echo “Downloading AppImage from $APPIMAGE\_URL…”  
mkdir -p “$DOWNLOAD\_DIR”  
curl -L -o “$APPIMAGE\_PATH” “$APPIMAGE\_URL”

if [! -f “$APPIMAGE\_PATH”]; then  
echo “Error: Failed to download $APPIMAGE\_NAME!”  
exit 1  
fi

# Step 2: Make sure the file is executable

echo “Making the AppImage executable…”  
chmod +x “$APPIMAGE\_PATH”

# Step 3: Extract the AppImage

echo “Extracting $APPIMAGE\_PATH…”  
TEMP\_DIR=$(mktemp -d)  
cd “$TEMP\_DIR”

“$APPIMAGE\_PATH” --appimage-extract

echo “AppImage extracted to $TEMP\_DIR.”

# Step 4: Overwrite previous installation

echo “Overwriting previous installation at $INSTALL\_DIR…”  
rm -rf “$INSTALL\_DIR”  
mkdir -p “$INSTALL\_DIR”  
mv squashfs-root/\* “$INSTALL\_DIR”

# Step 5: Rename AppRun to runcursor

if [-f “$INSTALL\_DIR/AppRun”]; then  
echo “Renaming AppRun to runcursor…”  
mv “$INSTALL\_DIR/AppRun” “$INSTALL\_DIR/runcursor”  
chmod +x “$INSTALL\_DIR/runcursor”  
else  
echo “Error: AppRun not found in the extracted files!”  
exit 1  
fi

# Step 6: Fix chrome-sandbox permissions

if [-f “$INSTALL\_DIR/chrome-sandbox”]; then  
echo “Fixing chrome-sandbox permissions…”  
sudo chown root “$INSTALL\_DIR/chrome-sandbox”  
sudo chmod 4755 “$INSTALL\_DIR/chrome-sandbox”  
fi

# Step 7: Create the desktop entry

DESKTOP\_FILE=“$HOME/Desktop/cursor.desktop”

echo “Creating desktop shortcut…”  
cat \> “$DESKTOP\_FILE” \<\<EOL  
[Desktop Entry]  
Version=1.0  
Type=Application  
Name=Cursor  
Exec=$INSTALL\_DIR/runcursor  
Icon=$INSTALL\_DIR/cursor.png  
Terminal=false  
Categories=Utility;  
EOL

# Step 8: Make the desktop file executable

chmod +x “$DESKTOP\_FILE”

# Step 9: Mark the desktop file as trusted

gio set “$DESKTOP\_FILE” metadata::trusted true || echo “Could not mark as trusted (not critical).”

echo “Installation complete! You can launch the app using the desktop shortcut or by running:”  
echo “$INSTALL\_DIR/runcursor”

---

<div class="post-metadata">

**Author:** ![dannetstudio](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/dannetstudio/32/17156_2.png) [@dannetstudio](https://forum.cursor.com/u/dannetstudio)\
**Post date:** [March 6, 2025, 9:16pm UTC](https://forum.cursor.com/t/should-update-cursor-work-for-linux/46430/5 "2025-03-06T21:16:16Z")

</div>

To handle installation/upgrade on Ubuntu / Ubuntu-based I put together this:

> **[GitHub - dannetstudio/cursor-setup-ubuntu: A Bash script to install, update, and manage...](https://github.com/dannetstudio/cursor-setup-ubuntu)**
>
> A Bash script to install, update, and manage Cursor AI on Ubuntu-based distributions.

I have to tweak a few details for compatibility with 0.46 file names (it only visually affects the console when installing/upgrading), but it works, recently updated to 0.46.9.

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [June 18, 2026, 10:32am UTC](https://forum.cursor.com/t/should-update-cursor-work-for-linux/46430/6 "2026-06-18T10:32:00Z")

</div>


