How to Completely Remove Screenrec?

Hello,
So I had installed this screen recorder called screenrec and I don’t quite like it. When I went to their website again for uninstall instructions, could not find any. I installed it with these commands:

sudo wget -qO - https://screenrec.com/download/pub.asc | sudo apt-key add -
sudo add-apt-repository 'deb https://screenrec.com/download/ubuntu stable main'
sudo apt update
sudo apt install screenrec

Please help me completely remove this screen recorder with all the apt keys, repository etc.

Thanks.

Use sudo apt purge screenrec and then use sudo nautilus. That way you can use Nautilus with root access to easily search root for anything “screenrec” and delete. Be careful not to delete anything else except screenrec.
For repository, I was going to suggest #4 here https://www.linuxfordevices.com/tutorials/ubuntu/remove-an-apt-repository-ubuntu but you can choose as you wish.

PS - there is also the “completely remove” option in Synaptic which is what I always use for any package.

You can also use

apt-key list

It will look something like (EXAMPLE ID):

pub rsa4096 2016-09-18 [SC]
B222 8B8C CA5C 00A2 C59D 35E5 30FC F8F6 4F71 B61C

It is the Last Eight Characters of that long string: In this example: 4F71 B61C
In terminal to search for an apt key and its associated ID- then in terminal enter the last 8 characters from the screenrec ID (Different than the example provided here) without the space between the two sets of four characters as follows:

sudo apt-key del 4F71B61C

As you point out, elevating File Manager to Root, you can go to /etc/apt/sources.list.d/ and search for the screenrec repo and delete it there. Doing that after Synaptice “complete removal” should get rid of it all.

1 Like

Following @carmar’s instructions I removed the repository and the app itself. Have got the key for screenrec, but when I try to remove that I get this error:
gpg: key "FE30" not found: Not found
gpg: FE30: delete key failed: Not found

The screenrec key:

pub   rsa4096 2019-12-13 [SC]
      5644 9CDB EE51 A2F6 1310  63DD 489A 0E7B A517 FE30
uid           [ unknown] ScreenRec Team <support@screenrec.com>
sub   rsa4096 2019-12-13 [E]

I used this command twice:
sudo apt-key del A517 FE30

Also, there was no trace of screenrec in the root filesystem (searched for about 10 minutes with catfish)

Need to remove the space:

sudo apt-key del A517FE30

1 Like

Thanks, it worked :grinning:

I have one question, is sudo apt purge screenrec same as selecting complete removal option in synaptic?

Yes, they are the same.
Both “–purge” and Synaptic “Complete removal” will remove the software and the Configuration files.
“Remove” on either leaves the configuration files.

Thanks for the clarifiaction :smiley:
Also good to see you again @Aravisian :blush:

Yes… I seem to have gotten caught up in things…
Back to working on my own projects now… :smiley:

1 Like