DEV Community

Discussion on: What happens when ... you run $apt-get install <>

Collapse
 
devhammed profile image
Hammed Oyedele • Edited

Apt works recursively:

  1. apt-get searches for the package in the software repository.
  2. Checks dependencies.
  3. Installs dependencies (recursion, this goes back to step one for each dependency by running 'apt install' on each)
  4. Installs the software package.