Package Managers: Brew, Yum, and Apt Get

A package manager is a tool that you use to install other software. It is run on the command line and typically what it does is it will download and install other software for you/

Using package managers is a fundamental part of getting comfortable with UNIX-based systems.

There are three primary package managers, and you will be introduced briefly to them now.

  1. Homebrew (macOS and Linux):
  2. YUM (Red Hat-based Linux distributions):
  3. APT (Debian-based Linux distributions):

Remember that these commands typically require administrative privileges, so you might need to prepend (put before) the sudo to them to execute them with the necessary permissions. Package managers also handle dependencies automatically, ensuring that required libraries and components are installed along with the desired package. Always refer to the official documentation of your chosen package manager and operating system for the most accurate and up-to-date information on using these tools.