1. Update package lists:
This step ensures that your package manager has the latest information about available packages.
Bash
sudo apt update
2. Search for a package:
Use the package manager's search function to find the specific package you want to install.
Bash
sudo apt search <package_name>
3. Install the package:
Use the package manager's installation command to install the package.
Bash
sudo apt install <package_name>
Removing Packages
1. Remove the package:
Use the package manager's removal command to uninstall the package.
Bash
sudo apt remove <package_name>
2. Remove configuration files:
If you want to completely remove the package, including its configuration files, use the purge
option.
Bash
sudo apt purge <package_name>
No comments:
Post a Comment