8.6 Install Git & Cmake

  1. Change the directory to /opt
    • # cd /opt
  2. Install Git using below command.
    • # sudo apt-get install git
  3. Install Cmake using below command.
    • # sudo apt-get install cmake
  4. updates the package sources list with latest versions in the repositories.
    • # sudo apt update
  5. Downloads and installs the updates for each outdated package and dependency on your system.
    • # sudo apt upgrade