Progress: 0/62 (0%)

⬇️ Installing and Removing Packages

Installing and Removing Packages

This is where the magic happensβ€”actually getting software on your system (or removing it if you don't need it).

a. Installing Packages

Installing is like buying a product from the store and putting it on your shelf.

Step 1: Tell your package manager which package you want.

Step 2: It fetches the package from the repository.

Step 3: It automatically installs everything, including dependencies.

Real-life analogy:
Imagine you want a blender, but it also needs a power cord and a plug adapter. When you "install" the blender, the store (package manager) makes sure you get all the accessories you need, not just the blender.

b. Removing Packages

Sometimes you don't need a program anymore. Removing a package is like donating that blender.

It deletes the software from your system.

Some package managers can also remove unnecessary dependencies (extras that were installed just for that program).

Tip: Be careful with dependenciesβ€”you don't want to remove something other programs need!

c. Why It Matters

  • Saves disk space β†’
  • Keeps your system clean and organized β†’
  • Reduces risk of broken software from leftover files β†’

Real-life analogy

πŸ’‘ Quick Analogy Recap:
Installing = Buying a product with all accessories
Removing = Donating it, and cleaning up leftover parts