Linux Assignment– 5
Package Management
Basic Questions
- List all installed packages using apt or yum.
- Check the version of an installed package.
- Install a package using apt or yum.
- Remove a package using apt or yum.
- Update package lists using apt or yum.
- Upgrade all packages to the latest version.
- Search for a package using apt or yum.
- Display information about a package.
- Clean up cached packages.
- List available updates.
- Install multiple packages at once.
- Check dependencies of a package.
- Hold a package to prevent updates.
- Unhold a package to allow updates.
- List recently installed packages.
- Check installation history.
- Verify package installation.
- Reinstall a package.
- List files installed by a package.
- Find which package provides a specific command.
Intermediate Questions
- Configure a local package repository.
- Add a third-party repository.
- Remove a repository.
- List all enabled repositories.
- Install a package from a specific repository.
- Download a package without installing.
- Install a package from a .deb or .rpm file.
- Verify the integrity of a package.
- Check for broken dependencies.
- Fix broken dependencies.
- List orphaned packages.
- Remove orphaned packages.
- Configure automatic updates.
- Disable automatic updates.
- Pin a package to a specific version.
- Install a specific version of a package.
- List packages by installation size.
- Check package signatures.
- Enable or disable a repository temporarily.
- Create a custom package list for deployment.
Advanced Questions
- Build a package from source.
- Create a custom .deb or .rpm package.
- Automate package installation using a script.
- Set up a private package repository.
- Mirror an existing repository locally.
- Audit installed packages for security vulnerabilities.
- Schedule package updates using cron.
- Monitor package changes over time.
- Create a rollback plan for package updates.
- Write a script to compare package versions across systems.