How do I uninstall a package from terminal?

apt list -a wine or apt list --all-versions wine lists all available versions of wine. I do not have wine installed, and the results of apt list -a wine in my terminal are the same as yours:

Listing... Done
wine/focal,focal 5.0-3ubuntu1 all

Run apt policy package to check if a package is installed. The results of apt policy wine confirm that the wine package is not installed:

wine:
  Installed: (none)
  Candidate: 5.0-3ubuntu1

Partial results of man apt showing the results for the list option of apt:

list
    list is somewhat similar to dpkg-query --list in that it can
    display a list of packages satisfying certain criteria. It supports
    glob(7) patterns for matching package names as well as options to
    list installed (--installed), upgradeable (--upgradeable) or all
    available (--all-versions) versions.

The results of apt list --installed wine or apt list -i wine don't return any packages at all confirming that the wine package is not installed:

Listing... Done

When you run winetricks or winetricks --version you can see the package is there, because you did not install winetricks from the default Ubuntu 20.04 repositories. iinm you manually installed winetricks version 20210206-next with the following commands and did not manually remove winetricks from the /usr/local/bin directory where it is installed:

wget  https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
chmod +x winetricks 
sudo mv -v winetricks /usr/local/bin

After manually removing winetricks from /usr/local/bin with cd /usr/local/bin && sudo rm winetricks run apt policy winetricks to check if it is still installed.