chmod +x cursor-0.44.11x86_64.AppImage
sudo apt-get install libfuse2
./cursor-0.44.11x86_64.AppImage
我們執行後會發生這樣的錯誤:
[61608:0110/101227.225251: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_cursorUdMFRn/chrome-sandbox is owned by root and has mode 4755.
追蹤 / 斷點陷阱 (核心已傾印)
這個問題怎麼解決呢? 請參考我們的「【Linux疑難雜症】The SUID sandbox helper binary was found…」。
會這樣做主要是我們在實際安裝的過程中發生這樣的問題: 「【Linux疑難雜症】The SUID sandbox helper binary was found…」。
sudo mv cursor-0.44.11x86_64.AppImage /opt/cursor.appimage
cd squashfs-root
sudo chmod 4755 chrome-sandbox
sudo chown root:root chrome-sandbox
執行看看能不能開啟cursor IDE。
./AppRun
sudo mv squashfs-root /opt/cursor
sudo vim /usr/share/applications/cursor.desktop
[Desktop Entry]
Name=Cursor
Exec=/opt/cursor/cursor %U
Icon=/opt/cursor.png
Type=Application
Categories=Development;
有了cursor的出現, 讓我們的軟體開發更加的順利, 除了效率的提升之外, 品質也跟著進步, 但難道我們開發人員就無用武之地了嗎? 那就錯了! 我們開發人員應該要轉型做更有價值的工作, 比如寫規格給AI寫程式, 檢核AI寫的程式…, 總之寫程式已經不是我們開發人員關注的工作了, 而是怎麼管理AI、調校AI, 讓標準、枯燥乏味的內容交給AI幫助我們處理。