Easiest and fastest way is with apt-get command. This command may be considered as lower-level and "back-end", and support other APT-based tools. There are no fancy loaders, only basic progress info. This is fastest way for installing apps.
Usage:
sudo apt-get install deluge openssh-server
This command will install two new apps: deluge and openssh-server. You can install as many apps as you want in only one line of commands.
"Fancy" way of the same process is wits apt:
sudo apt install deluge openssh-server
Result is the same, but interaction with users is different from previous command. apt is designed for end-users (human) and it's output may be changed between versions.
Both commands will handle dependencies automatically.
user@host:~$ sudo apt install vlc
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libtimezonemap1 sbsigntool
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libbasicusageenvironment0 libcddb2 libcrystalhd3 libdvbpsi8 libebml4
libfreerdp1 libgnutls28 libgroupsock1 libhogweed2 libiso9660-8
liblivemedia23 libmatroska6 libproxy-tools libresid-builder0c2a libsidplay2
libssh2-1 libtar0 libupnp6 libusageenvironment1 libva-x11-1 libvcdinfo0
libvlc5 libvlccore7 libxcb-composite0 libxcb-keysyms1 libxcb-randr0
libxcb-xv0 vlc-data vlc-nox vlc-plugin-notify vlc-plugin-pulse
Suggested packages:
firmware-crystalhd freerdp-x11 gnutls-bin videolan-doc
Recommended packages:
libdvdcss2
The following NEW packages will be installed:
libbasicusageenvironment0 libcddb2 libcrystalhd3 libdvbpsi8 libebml4
libfreerdp1 libgnutls28 libgroupsock1 libhogweed2 libiso9660-8
liblivemedia23 libmatroska6 libproxy-tools libresid-builder0c2a libsidplay2
libssh2-1 libtar0 libupnp6 libusageenvironment1 libva-x11-1 libvcdinfo0
libvlc5 libvlccore7 libxcb-composite0 libxcb-keysyms1 libxcb-randr0
libxcb-xv0 vlc vlc-data vlc-nox vlc-plugin-notify vlc-plugin-pulse
0 upgraded, 32 newly installed, 0 to remove and 308 not upgraded.
Need to get 10,5 MB of archives.
After this operation, 51,7 MB of additional disk space will be used.
Do you want to continue? [Y/n]
dpkg stands for Debian Package. This is basic, low-level package installer for Debian and other Debian derivatives. dpkg have many options, but we are interested in -i, which stands for install.
sudo dpkg -i google-chrome-stable.deb
You can install .deb packages with dpkg.
If you get an error while installing .deb package, in most cases you don't have some dependencies. To get rid of this error and install app correctly, run sudo apt-get -f install without any other parameter. This will search for dependencies and install them before .deb. Installation will continue and app will be installed.