Skip to main content

Posts

Showing posts with the label Linux

Uninstall Installed Apps in Linux

🐧 How to Completely Uninstall Apps in Linux (Advanced Guide) Removing apps in Linux is not just about running one command. Sometimes apps are installed using different methods (APT, Snap, Flatpak, .deb files, manual install), and each requires a different removal approach. 📌 Step 1: Identify the App Source (Most Important) Before uninstalling, you MUST know how the app was installed: which app_name Explanation: /usr/bin/ → Installed via APT or .deb /snap/ → Snap package /var/lib/flatpak/ → Flatpak Alternative checks: dpkg -l | grep app_name snap list flatpak list ⚙️ Method 1: Remove APT / .deb Installed Apps Normal uninstall: sudo apt remove app_name Complete uninstall (recommended): sudo apt purge app_name Fix broken packages (important): sudo apt --fix-broken install Remove unused dependencies: sudo apt autoremo...