1 | initial version |
Your question is confusing as you seem to be mixing OS's with discussion of "ubuntu" "apt" and "cmd", the latter is usually Windows.
If you are using Ubuntu, then via the Wireshark Download page the link to the Canonical/Ubuntu Standard Package should get you to the Ubuntu package list for Wireshark with links to the packages for the various Ubuntu versions.
Note these are "meta" packages that pull in the various individual packages for the components that make up the Wireshark suite of applications and libraries, and tshark is amongst them.