I have Linux, Ubuntu, ...
The world of Linux is vast and diverse; over the course of more than 20 years, there have been many variations of assembled ready-made operating systems - distributions.
Moreover, some distributions are descendants of others - this is called based (based). Therefore, roughly speaking, all distributions can be divided into several types:
a) Debian-based, all distributions are based on Debian and almost always have * .deb format packages
b) RPM-based, where development went from Red Hat, their packages have the format * .rpm
c) Other, they may have their own package formats and so on.
Accordingly, each of these types has its own package managers for managing packages in the system, for Debian-based it is basically apt package manager, for RPM-based, it is basically a rpm package manager.
Packages are almost the same as packaged in * .exe installers in Windows, but they have their own characteristics. Package managers manage packages in the system, namely: download from their repositories (global world repositories), install, update, delete packages.
For example, for a Debian-based distribution, the command in the terminal would be:
$ sudo apt-get install android-tools-adb
and then fastboot:
$ sudo apt-get install android-tools-fastboot