How to install Cursor on Linux Ubuntu?

I haven’t tested this yet, but the community has been putting a lot of work into a script for installing and updating Cursor on Ubuntu based distros. Script to Install Cursor on Ubuntu easily