Yes, I want to remove whole
apt-xxx related stuff, how can I archive it?
Yes, you can but this would be a very bad idea.
If you run:
sudo apt-get remove 'apt.*'
apt would show the warning:
WARNING: The following essential packages will be removed. This should NOT be done unless you know exactly what you are doing!
But again you can perform the operation as the lower level tasks will be done by
apt-get is the package manager, the tool that removes packages. Don't remove that otherwise you wont be able to remove anything.
To remove packages from the terminal, run:
sudo apt-get remove firefox
As an example