AI/Cursor AI

Cursor AI Ubuntu 설치

AI Coder 2025. 6. 11. 21:28

  • cursor.com 으로 가서 "Download for Linux" 클릭합니다. 
  • "Cursor-1.0.0-x86_64.AppImage" 파일이 다운로드 합니다. 
  • 터미널을 엽니다 (Ctrl+Alt+T).
  • cd 명령어를 사용하여 AppImage 파일이 있는 디렉토리로 이동합니다. (예: cd ~/Downloads)
  • 다음 명령어를 사용하여 실행 권한을 부여합니다.
    chmod +x Cursor-1.0.0-x86_64.AppImage

 

 

  • AppImage 파일이 있는 디렉토리에서 다음 명령어를 실행합니다.
./Cursor-1.0.0-x86_64.AppImage

 

다음과 같이 error 발생 

 

ben@ben-Aspire-E5-575G:~/Downloads$ ./Cursor-1.0.0-x86_64.AppImage 
dlopen(): error loading libfuse.so.2

AppImages require FUSE to run. 
You might still be able to extract the contents of this AppImage 
if you run it with the --appimage-extract option. 
See https://github.com/AppImage/AppImageKit/wiki/FUSE 
for more information

 

이 오류는 AppImage를 실행하는 데 필요한 libfuse.so.2 라이브러리가 시스템에 설치되어 있지 않거나 찾을 수 없을 때 발생합니다. . libfuse2 패키지를 설치합니다. 

 

sudo apt update
sudo apt install libfuse2

 

또 error 발생 

 

ben@ben-Aspire-E5-575G:~/Downloads$ ./Cursor-1.0.0-x86_64.AppImage 
The setuid sandbox is not running as root. Common causes:
  * An unprivileged process using ptrace on it, like a debugger.
  * A parent process set prctl(PR_SET_NO_NEW_PRIVS, ...)
Failed to move to new namespace: PID namespaces supported, Network namespace supported, but failed: errno = Operation not permitted
[17341:0611/211446.021616:FATAL:zygote_host_impl_linux.cc(207)] Check failed: . : Invalid argument (22)
Trace/breakpoint trap (core dumped)

 

 

https://github.com/TheAssassin/AppImageLauncher/releases/tag/continuous

 

Release Continuous build · TheAssassin/AppImageLauncher

Build log: https://github.com/TheAssassin/AppImageLauncher/actions/runs/15335876149

github.com

로 가서 appimagelauncher_3.0.0-alpha-4-gha261.5a65ad0_amd64.deb 을 다운로드

 

sudo dpkg -i appimagelauncher_3.0.0-alpha-4-gha261.5a65ad0_amd64.deb 

 

그리고 나서 다시 실행 , 다음과 같은 popup 이 뜬다.


"Integrate and run""Run once" 의 차이는 다음과 같습니다.

1. Integrate and run (통합하고 실행)

  • 동작:
    • AppImage 파일을 ~/home/ben/Applications (또는 AppImageLauncher 설정에 따라 다른 미리 정의된 위치) 로 이동시킵니다.
    • 시스템의 애플리케이션 메뉴 (예: Ubuntu의 활동 개요 검색 또는 애플리케이션 그리드)에 Cursor 앱의 바로가기를 생성합니다.
    • AppImage를 바로 실행합니다.
  • 장점:
    • 편의성: 한 번 통합하면 마치 일반적인 설치된 앱처럼 애플리케이션 메뉴에서 쉽게 찾고 실행할 수 있습니다.
    • 관리 용이성: 모든 AppImage 파일이 특정 폴더에 정리되어 관리하기 편리합니다.
    • 업데이트/제거: AppImageLauncher는 통합된 AppImage의 업데이트나 제거를 더 쉽게 할 수 있는 기능을 제공합니다 (앱 아이콘의 컨텍스트 메뉴를 통해).
  • 단점:
    • 파일이 원래 있던 위치에서 이동됩니다.
    • 시스템에 약간의 "설치" 흔적을 남깁니다 (바로가기 등).

2. Run once (한 번 실행)

  • 동작:
    • AppImage 파일을 현재 위치 그대로 둔 채로 바로 실행합니다.
    • 애플리케이션 메뉴에 바로가기를 생성하지 않습니다.
  • 장점:
    • 간단함: 앱을 빠르게 실행하고 싶을 때 유용합니다.
    • 시스템 변경 없음: 시스템에 어떤 파일도 이동시키거나 바로가기를 생성하지 않습니다. 테스트용으로 앱을 실행할 때 좋습니다.
  • 단점:
    • 매번 실행하려면 해당 AppImage 파일이 있는 폴더로 이동하여 수동으로 실행해야 합니다.
    • 애플리케이션 메뉴에 나타나지 않으므로 쉽게 찾기 어렵습니다.
    • AppImageLauncher의 관리 기능을 활용할 수 없습니다.

 

해당 Applications 파일은 /home/ben/Applications 로 이동합니다. 두 번째 실행 부터는 /home/ben/Applications 에 직접 가서 파일을 선택한 후 마우스 오른 클릭하고 'Run' 을 선택해서 시작합니다.