Skip to content

eliaspfeffer/CursorUbuntu-24.04-install-update-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Cursor IDE Ubuntu 24.04 Installer

This repository contains a script to properly install and update Cursor IDE on Ubuntu 24.04 without relying on FUSE/libfuse. This is particularly important as using FUSE-based AppImages on Ubuntu 24.04 can potentially cause system issues.

(FOR FRESH BEGINNERS OR IF THIS TUTORIAL BELOW DOESNT WORK FOR YOU:)

  1. Uninstall Cursor (if previously installed already)
  2. Go to https://cursor.com/downloads
  3. Download the correct .deb package (tell ChatGPT or Google what processor you are running and which version you need)
  4. After the .deb package got downloaded completely, go run this command in the terminal:
cd ~/Downloads
sudo dpkg -i cursor-*.deb
sudo apt-get install -f -y

This makes the .deb version of cursor run without libfuse or fuse or anything like that.

Why This Script?

Cursor's Linux version is distributed as an AppImage, which normally requires FUSE to run. However, Ubuntu 24.04 has made changes to how FUSE works, and installing it can potentially break your system. This script:

  1. Downloads the latest Cursor AppImage
  2. Extracts it (without requiring FUSE)
  3. Sets up proper permissions
  4. Creates a desktop shortcut

Requirements

  • Ubuntu 24.04
  • curl (pre-installed on most Ubuntu systems)
  • sudo privileges (needed only for fixing sandbox permissions)

Installation

  1. Clone this repository or download the install-cursor.sh script
  2. Make the script executable:
    chmod +x install-cursor.sh
  3. Run the script:
    ./install-cursor.sh

The script will:

  • Download the latest Cursor IDE
  • Extract it to ~/squashfs-root
  • Set appropriate permissions
  • Create a desktop shortcut

Updating Cursor

To update to the latest version of Cursor, simply run the script again. It will download the newest version and update your existing installation.

Troubleshooting

If you encounter any issues:

  • Ensure you have adequate permissions to execute the script
  • Check that you have an internet connection to download the AppImage
  • If you get errors about missing dependencies, install them using apt

Uninstalling

To uninstall Cursor installed with this method:

  1. Remove the extracted directory: rm -rf ~/squashfs-root
  2. Remove the desktop shortcut: rm ~/.local/share/applications/cursor.desktop
  3. Remove the downloaded AppImage: rm ~/Applications/cursor-latest.AppImage

License

This script is provided as-is under the MIT License.


Created to help Ubuntu 24.04 users run Cursor IDE without the potential system issues caused by FUSE/libfuse.

About

easily install and update cursor on ubtuntu 24.04 by running a shell script

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages