Repository and Package Management
From Mintarc Forge
manage packages using APT
- Install a package:
- sudo apt install package_name
- Update package lists:
- sudo apt update
- Upgrade installed packages:
- sudo apt upgrade
- Remove a package:
- sudo apt remove package_name
Find a package containing a specific file
apt-file search filename
- Get package information:
- apt show package_name
- Check if a package is installed:
- apt list --installed | grep package_name
- View package dependencies:
- apt-cache depends package_name
- Check package consistency:
- apt-cache policy package_name