Linux Assignment– 5

Package Management

Basic Questions

  1. List all installed packages using apt or yum.
  2. Check the version of an installed package.
  3. Install a package using apt or yum.
  4. Remove a package using apt or yum.
  5. Update package lists using apt or yum.
  6. Upgrade all packages to the latest version.
  7. Search for a package using apt or yum.
  8. Display information about a package.
  9. Clean up cached packages.
  10. List available updates.
  11. Install multiple packages at once.
  12. Check dependencies of a package.
  13. Hold a package to prevent updates.
  14. Unhold a package to allow updates.
  15. List recently installed packages.
  16. Check installation history.
  17. Verify package installation.
  18. Reinstall a package.
  19. List files installed by a package.
  20. Find which package provides a specific command.

Intermediate Questions

  1. Configure a local package repository.
  2. Add a third-party repository.
  3. Remove a repository.
  4. List all enabled repositories.
  5. Install a package from a specific repository.
  6. Download a package without installing.
  7. Install a package from a .deb or .rpm file.
  8. Verify the integrity of a package.
  9. Check for broken dependencies.
  10. Fix broken dependencies.
  11. List orphaned packages.
  12. Remove orphaned packages.
  13. Configure automatic updates.
  14. Disable automatic updates.
  15. Pin a package to a specific version.
  16. Install a specific version of a package.
  17. List packages by installation size.
  18. Check package signatures.
  19. Enable or disable a repository temporarily.
  20. Create a custom package list for deployment.

Advanced Questions

  1. Build a package from source.
  2. Create a custom .deb or .rpm package.
  3. Automate package installation using a script.
  4. Set up a private package repository.
  5. Mirror an existing repository locally.
  6. Audit installed packages for security vulnerabilities.
  7. Schedule package updates using cron.
  8. Monitor package changes over time.
  9. Create a rollback plan for package updates.
  10. Write a script to compare package versions across systems.