Premium Only Content

Linux Command Line Interface (CLI) Install, Remove, Purge & Clean
Here’s a concise guide to managing packages using the Linux command line interface (CLI) with apt, including installation, removal, purging, and cleaning up:
1. Install a Package
To install a package, use the apt install command:
sudo apt update # Update the package list
sudo apt install {package} # Replace {package} with the package name
2. Remove a Package
To remove a package but keep its configuration files, use the apt remove command:
sudo apt remove {package} # Replace {package} with the package name
3. Purge a Package
To remove a package along with its configuration files, use the apt purge command:
sudo apt purge {package} # Replace {package} with the package name
4. Clean Up Unused Dependencies
After removing or purging packages, there may be unused dependencies that can be cleaned up using the apt autoremove command:
sudo apt autoremove
5. Clean Up Package Cache
To clean up the local repository of retrieved package files and free up disk space, use the apt clean command:
sudo apt clean
6. Verify Package Installation
To check if a package is installed and view its version, use the following:
{package} --version # Replace {package} with the package name
Summary of Commands:
Install: sudo apt update && sudo apt install {package}
Remove: sudo apt remove {package}
Purge: sudo apt purge {package}
Clean Up Dependencies: sudo apt autoremove
Clean Package Cache: sudo apt clean
These commands will help you manage packages efficiently on a Debian-based system.
-
LIVE
Russell Brand
2 hours agoTrump Goes NUCLEAR on China - accuses Xi of CONSPIRING against US with Putin & Kim - SF627
17,784 watching -
LIVE
Dr Disrespect
2 hours ago🔴LIVE - DR DISRESPECT - METAL EDEN - NEW 2025 SCI-FI FPS LAUNCH STREAM
1,386 watching -
LIVE
Sean Unpaved
1 hour agoTrey Wingo's Gridiron Grab
223 watching -
1:06:28
Timcast
2 hours agoTrump Admin Threatens GOP Who Vote To Release Epstein Files
109K58 -
LIVE
Side Scrollers Podcast
3 hours agoDruski/White Face Controversy + Women “Experience Guilt” Gaming + More | Side Scrollers Live
411 watching -
1:39:53
The Mel K Show
2 hours agoMORNINGS WITH MEL K - Narratives Implode as Light Shines on Covid Deception 9-3-25
7.48K3 -
LIVE
The Shannon Joy Show
1 hour agoExclusive With Congressman Tom Massie: "The Epstein Files Are NOT A Hoax. There Are Real Victims"
257 watching -
1:52:46
Steven Crowder
4 hours agoCongress Drops New Epstein Files and Trump Drops New Bombs on Venezuela Terrorists
263K147 -
1:10:39
The Rubin Report
3 hours agoCNN Host Actually Thought She'd Outsmarted Shapiro, Until He Asked This
52.8K38 -
1:02:00
VINCE
5 hours agoThe Left's Demented Fantasies Shatter | Episode 117 - 09/03/25
193K117