How to update fsuae

Ive installed FSUAE from the store which looks like it is out of date. Im on 2.8.3 but there is a 3.0.5 available to download. I have found the terminal commands to do it but for some reason I cant do it. I think its because I cant elevate to super user.

Debian 10:

echo "deb https://download.opensuse.org/repositories/home:/FrodeSolheim:/stable/Debian_10/ /" > /etc/apt/sources.list.d/FrodeSolheim-stable.list
apt-get update
apt-get install fs-uae fs-uae-launcher fs-uae-arcade

To avoid security warnings when installing the packages, you can import the key used to sign the packages:

wget https://download.opensuse.org/repositories/home:FrodeSolheim:stable/Debian_10/Release.key
apt-key add - < Release.key

could one of you guys help?

So su and sudo commands won’t work?

Usually I would use

sudo apt-get update

Or

sudo apt-get install <package-name>

Edit: I use ubuntu, not debian. The su command doesn’t work for you in Debian?