19 Ubuntu / Debian Linux apt Command Examples

Originally published at: https://www.cyberciti.biz/faq/ubuntu-lts-debian-linux-apt-command-examples/

apt command
I am a new Linux system admin user. How do I use apt command line utility for the package management on Ubuntu Linux LTS and Debian Linux server? How can I use the apt command for the package management?