Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

The right way to uninstall software in Ubuntu depends on how it was installed. For a graphical application, open App Center, go to Manage, select the application, choose Uninstall, and authenticate. For a Debian package managed by APT, run sudo apt remove PACKAGE; add --purge when the package’s configuration files should also be deleted. Finish by reviewing sudo apt autoremove if APT identifies automatically installed dependencies that are no longer needed. Software installed from source or copied manually has no universal removal command, so follow that project’s README or INSTALL instructions.

This guide explains each route, what gets removed, how Snap and Debian formats differ, when to use purge, and how to avoid breaking software that other applications require.

Which Ubuntu uninstall method should you use?

Match the removal method to the installation format rather than guessing from the application’s name. Ubuntu distributes desktop applications as Snap packages and Debian packages, and App Center can manage both formats. A source build or a collection of files copied outside the package system must be cleaned up according to its own project instructions.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
How the software was installed Primary removal method Configuration-file behavior Main caution
App Center graphical application App Center → Manage → application → Uninstall Controlled by App Center and the package format Read the confirmation dialog; removing a required application can affect another application
APT or a local Debian package sudo apt remove PACKAGE Package configuration files are retained unless you use --purge Use the package name, not the display name shown in a menu
Unused APT dependencies sudo apt autoremove Use --purge on the command when those configurations should also be removed Inspect the proposed list before confirming
Direct dpkg operation Not the preferred route; use APT instead Depends on the exact operation Direct removal can leave dependent packages installed but broken
Source build or files copied manually Project-specific README, INSTALL file, or uninstall target Not stated universally There is no single Ubuntu command that can safely find every manually installed file

If you are unsure, start in App Center. If the application is not managed there and you know it is a Debian package, use APT. Do not use a low-level removal command simply because it is shorter; dependency-aware tools are safer for package-managed software.

#1 Best Overall
Elebase USB to USB C Adapter for iPhone 18 Pro Max,USBC Car Charger Adapter | 4Pack Type C Female to A Male Cable Converter for Apple Duo 17 16 15 14 Plus,iWatch Watch 12 11 10,iPad 9 8 Air,Airpods 5 4
  • Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
  • Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
  • Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
  • Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
  • 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.

How do I uninstall a graphical application with App Center?

App Center provides the shortest supported workflow for a desktop application. It can remove applications distributed as Snap packages or Debian packages, so you do not need to identify the format before opening it.

  1. Open App Center from the Ubuntu applications overview.
  2. Open the Manage view. This view lists applications installed through the graphical package manager.
  3. Find and select the application you want to remove.
  4. Click Uninstall.
  5. Authenticate when Ubuntu requests permission, then wait for the removal to finish.

What should I check in the confirmation dialog?

Read the list of packages or applications that App Center proposes to remove. Some applications depend on other applications. Ubuntu warns that removing a required application can remove both, so cancel the operation if the list includes software you still need and investigate the dependency before trying again.

When is App Center the better choice?

Use it when you want a visual list, are not sure whether the application is a Snap or Debian package, or prefer not to type package commands. The interface also handles authentication and presents the removal impact before it proceeds. A terminal command gives more explicit control over retaining or deleting package configuration files, which is why APT is preferable for that specific decision.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

How do I remove a Debian package with APT?

For software installed as a Debian package and managed by APT, use the package name with apt remove. The command removes the installed package while leaving its package configuration files available; use the purge form only when those files should be deleted as well.

  1. Open a Terminal window.
  2. Replace PACKAGE in the command with the package’s actual package identifier.
  3. Run sudo apt remove PACKAGE.
  4. Enter your Ubuntu account password when prompted.
  5. Read APT’s proposed changes. Confirm only if the package and any listed removals are expected.
  6. Allow APT to complete, then close the terminal or continue with dependency cleanup if appropriate.

The command is deliberately explicit: PACKAGE is a placeholder, not text to enter literally. APT may show additional packages in its transaction. Treat that list as a safety check, especially on a system where the application may be required by another package.

How do I remove the package and its configuration files?

Run:

sudo apt remove --purge PACKAGE

Ubuntu’s package-management documentation defines --purge as removing the package’s configuration files in addition to the package itself. Choose this form when you do not want those settings retained for a future reinstall or troubleshooting session. If you may reinstall the same package and want its existing package-level settings available, use ordinary remove instead.

Rank #2
Sale
Anker USB-C Hub, 5-in-1 USB Hub for Laptops, 4K HDMI Multiport Adapter | USB C Dongle with 90W Max Power Delivery, 3×5Gbps USB A Data Ports, for MacBook, Dell, and More (Charger Not Included)
  • 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
  • 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
  • Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
  • 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
  • What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.

When should I avoid purging?

Purge is not a faster version of remove; it is a more destructive cleanup of package-owned configuration. Keep the configuration when you are temporarily uninstalling, testing an alternative version, or may reinstall and want to preserve the package’s settings. Purge only when deleting those settings is an intentional part of the uninstall.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

What is the difference between apt remove and apt remove --purge?

Both commands remove the selected Debian package. The difference is whether package configuration files are retained.

Command Removes the package? Removes package configuration files? Use it when
sudo apt remove PACKAGE Yes No; they are retained You want the program gone but may reuse its settings
sudo apt remove --purge PACKAGE Yes Yes You want the package and its package-owned configuration removed

Neither command is the same as dependency cleanup. Removing one package does not automatically mean every package that was installed alongside it should be deleted. Handle unused automatic dependencies separately with autoremove, and review the proposed list before accepting it.

How do I clean up unused dependencies after uninstalling?

APT records which packages were installed automatically as dependencies. When no remaining package needs one of those automatic packages, autoremove can propose removing it.

  1. Run sudo apt autoremove.
  2. Read the complete list APT proposes to remove.
  3. Cancel if a package you still use appears unexpectedly; do not confirm until the list makes sense.
  4. Confirm the operation only when the listed packages are genuinely no longer needed.

If you also want configuration files for those unused packages removed, use:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
sudo apt autoremove --purge

Ubuntu documents this combined form for removing unused dependencies and their configuration files. It is optional: do not run it merely out of habit after every uninstall. Use it when the proposed dependency list is appropriate and deleting those configurations is part of your cleanup goal.

Rank #3
Sale
Anker USB C Hub, 7in1 Multi-Port USB Adapter, 4K@60Hz USBC to HDMI Splitter | 85W Max PD, 2 USB 3.0 & 1 USBC Data Ports, SD/TF Card Reader, for Laptops/Mac and Other Type C Devices (Charger Not Included)
  • Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
  • Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
  • Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
  • Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
  • What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.

Why must I inspect the autoremove list?

APT’s automatic-installation marker is the basis for its decision. A package marked as automatically installed may still be relevant to a workflow you care about, while a package you expect to disappear may not be marked that way. The proposed transaction is your opportunity to catch an unwanted removal before it happens.

How do I remove a Snap application?

For a Snap application that appears in Ubuntu’s graphical software manager, use App Center rather than trying to treat it like a Debian package. App Center supports removing Snap applications through its Manage view.

  1. Open App Center.
  2. Select Manage.
  3. Choose the installed Snap application.
  4. Click Uninstall.
  5. Authenticate and review the confirmation before allowing the operation to finish.

The format matters because APT commands operate on Debian packages, not on every application visible in Ubuntu. If an application is not listed in App Center, first determine whether it was installed manually or by another package-management route instead of running an unrelated removal command.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

What if a Snap application is also used by something else?

Pay attention to App Center’s confirmation details. Ubuntu warns when removing a required application could remove another application as well. Cancel if that consequence is not acceptable and identify the dependency relationship before continuing.

How do I uninstall software installed from source or copied manually?

Source builds and files copied by hand do not have a universal uninstall command. Their files may not be registered with APT or App Center, so using those tools may not remove the installation completely and can give a misleading sense that it is gone.

  1. Return to the source project’s documentation.
  2. Read its README or INSTALL instructions for an uninstall procedure.
  3. Use the project’s documented uninstall target if one is provided.
  4. Follow any project-specific cleanup sequence exactly, including the same build or installation context the project requires.

If the project provides no uninstall instructions, the available evidence does not establish a safe, universal cleanup procedure. Avoid deleting directories at random; identify the files the project installed and use its documented method whenever possible.

Rank #4
Sale
UGREEN USB to USB C Adapter Combo 4-Pack, 10Gbps USB C Converter Space Gray | Data transfer & Fast charging for MacBook, iPhone 17/16/15, iPad, Samsung Galaxy, Apple Watch
  • Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
  • Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
  • Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
  • Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
  • Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft

Why does manual installation require a separate procedure?

APT and App Center know about packages they manage. A manual installation can place files wherever its build instructions specify, without creating a package record that another tool can reliably reverse. The project’s own documentation is therefore the authoritative source for what to remove and in what order.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Should I use dpkg directly to uninstall a package?

Ubuntu cautions against using low-level dpkg removal as the normal uninstall route. Direct removal can leave dependent packages installed but broken because it does not provide the same dependency-aware workflow as APT.

Use APT for Debian-package removal unless you have a specific, well-understood administrative reason to work at the lower level. If you already removed something with dpkg and another package no longer works, stop making additional removals and use a dependency-aware package-management workflow to diagnose the resulting package state.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

What should I do when an uninstall does not behave as expected?

The application is not listed in App Center

Do not assume the application is an App Center-managed package. It may have been installed manually or through a route that is not represented in the graphical list. Check the application’s installation documentation and use the corresponding package manager or project-specific uninstall instructions.

APT proposes more removals than expected

Read the entire proposed transaction before confirming. A required application can depend on the package you selected, and Ubuntu warns that removing it may remove both. Cancel when the list includes software you need, then reassess which package is actually safe to remove.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

You removed the program but settings remain

That is the expected distinction between remove and purge. If the remaining files are package configuration files and you intentionally want them deleted, rerun the removal with --purge rather than assuming the first command failed.

Best Value
Sale
Anker USB C Hub, 5-in-1 USBC to HDMI Splitter with 4K Display | 85W Max PD, 1 Powered USB-C 5Gbps & 2 Powered USB-A 3.0 5Gbps Data Ports, for MacBook Pro, MacBook Air, Dell and More (Black)
  • 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
  • Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
  • Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
  • HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
  • What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.

You are unsure whether dependency cleanup is safe

Do not confirm autoremove blindly. Review the proposed package names and cancel if any are still required; automatic-installation status is the reason APT proposes them, not a guarantee that they are irrelevant to your work.

A source-built program remains after package removal

APT can remove only packages it manages. If the software was built from source or copied manually, return to its README or INSTALL documentation and apply the project’s uninstall target or cleanup steps.

What is the safest uninstall checklist for Ubuntu?

Use this sequence when you want a repeatable decision rather than a single command.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  1. Identify the installation format. Start with App Center for a graphical application; otherwise determine whether it is an APT/Debian package, a Snap managed by App Center, or a manual/source installation.
  2. Choose the matching tool. App Center handles its listed Snap and Debian applications, APT handles Debian packages, and a project README or INSTALL file handles manual software.
  3. Decide what should happen to configuration. Use ordinary apt remove to retain package configuration files; add --purge only when deleting them is intentional.
  4. Review dependencies before confirming. Check App Center’s confirmation dialog or APT’s proposed transaction for applications you still need.
  5. Clean automatic dependencies only when appropriate. Run sudo apt autoremove, inspect the list, and use --purge with it only when configuration cleanup is also wanted.
  6. Do not substitute a lower-level command for a safer one. Prefer dependency-aware APT operations over direct dpkg removal.

Frequently Asked Questions

Is PACKAGE a command I type exactly as shown?

No. It represents the Debian package identifier supplied to APT. Replace it with the actual package name before running either removal command.

Is running autoremove required after every uninstall?

No. It is appropriate only when APT proposes automatic dependencies that are no longer needed. Always inspect that proposal before confirming.

What does Ubuntu mean when App Center asks me to authenticate?

It is requesting authorization for a system-level software change, normally by asking for your Ubuntu account password. The uninstall does not proceed until that authentication succeeds.

Why can uninstalling one package affect another application?

Applications can share or require packages. Ubuntu therefore displays related removals in the confirmation step; cancel if the proposed changes include software you still rely on.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Where can I find an uninstall command for a program I compiled myself?

There is no universal command for source-built software. Check that project’s README or INSTALL file and use its documented uninstall target or cleanup procedure.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.