How to purge MiKTeX console from ubuntu 20.04

everyone, Well, this is an old problem. I would like to know how to purge miktex console from my ubuntu 20.04. I've been tried some means to proceed correctly, but always failed. Does anyone know to do it?

OBS: when i run sudo apt purge miktex, i got this message:

sudo apt purge miktex
Reading the package lists... Done
Building dependency tree
Reading status information... Done
The following packages were installed automatically and are no longer available:
  libapr1 libaprutil1 libhunspell-1.6-0 liblog4cxx10v5 libqt5script5 libqt5scripttools5 liburiparser1
Use 'sudo apt autoremove' for OS remover.
The following packages will be REMOVED:
  miktex *
0 updated packages, 0 new packages installed, 1 the remover and 16 not updated.
After this operation, 102 MB of disk space will be freed.
Do you wish to continue? [Y / n] y
(Reading the database ... 465057 files and directories installed.)
A miktex remover (20.12-bionic1) ...
miktexsetup: /usr/bin/../lib/ `GLIBCXX_3.4.22 'version not found (required by /usr/bin/../lib/
miktexsetup: /usr/bin/../lib/ version `GLIBCXX_3.4.22 'not found (required by /usr/bin/../lib/
dpkg: error processing miktex package (--remove):
 installed subprocess, from miktex package, pre-remove script returned exit status 1 error
dpkg: too many errors, one stop
Errors were found while processing:
Processing stopped because too many errors occurred.
E: The / usr / bin / dpkg subprocess returned an error code (1)

Relevant tags