Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSError: 在 Linux 系统上未找到 Cursor 安装路径 #262

Open
liuxinyiwssy opened this issue Feb 28, 2025 · 4 comments
Open

OSError: 在 Linux 系统上未找到 Cursor 安装路径 #262

liuxinyiwssy opened this issue Feb 28, 2025 · 4 comments

Comments

@liuxinyiwssy
Copy link

liuxinyiwssy commented Feb 28, 2025

2025年3月1日,ubuntu系统,目前官网下载的cursor只有appimage,没有对应的deb安装包,导致报错“OSError: 在 Linux 系统上未找到 Cursor 安装路径
”,该如何解决这个问题

@Azurezren
Copy link

same issue here

@KaguraNaku
Copy link

same issue here

Here's the solution:

  1. ​Download the latest Linux AppImage​ from the Cursor official website.
  2. ​Follow the steps demonstrated in Issue linux下怎么安装cursor? #199​ to resolve the problem.

Reason:

In the file patch_cursor_get_machine_id.py (lines 58-72), the code checks for these paths:

"bases": ["/opt/Cursor/resources/app", "/usr/share/cursor/resources/app"]

You need to:

Extract the AppImage using --appimage-extract.
Move the extracted folder to either /opt/Cursor or /usr/share/cursor.
Ensure directory permissions are correctly set (e.g., chmod 755).
This matches the approach in Issue #199

Hope this helps👋

@liuxinyiwssy
Copy link
Author

感谢, 我已经找到Cursor的deb安装包, 链接如下:
https://downloader.cursor.sh/linux/deb/x64 (For x86 chips)
https://downloader.cursor.sh/linux/deb/arm64 (For arm chips)
可以解决该问题

@KaguraNaku
Copy link

感谢, 我已经找到Cursor的deb安装包, 链接如下: https://downloader.cursor.sh/linux/deb/x64 (For x86 chips) https://downloader.cursor.sh/linux/deb/arm64 (For arm chips) 可以解决该问题

deb包比appimage方便多了🫠感谢回馈

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants