N
The Daily Insight

How do I list unused packages in Ubuntu?

Author

Owen Barnes

Updated on February 28, 2026

How do I list unused packages in Ubuntu?

Find and remove unused packages in Ubuntu using Deborphan

  1. Deborphan is a command-line utility that can be used to find and remove unused or orphaned packages in DEB based systems.
  2. Suggested read:
  3. Gtkorphan is a graphical tool that allows us to find and remove orphaned packages.

How do I remove orphaned packages in Ubuntu?

Remove orphaned package To get rid of orphan files, we can make use of “gtkorphan.” a graphical frontend for “deborphan.” Open GtkOrphan from the Applications list. It will analyze the system and show all of the orphaned packages in the main window. Check those packages that you have no use for and uninstall them.

How do I get rid of unused apps in Linux?

Uninstalling and Removing Unnecessary Applications: To uninstall the application you can you simple command. Press “Y” and Enter. If you don’t want to use the command line, you can use the Ubuntu Software manager. Just click on the remove button and the application will be removed.

How do I delete unused packages in Linux Mint?

Get rid of packages that are no longer required [Recommended] If you read the apt-get commands guide, you might have come across the apt-get command option ‘autoremove’. This option removes libs and packages that were installed automatically to satisfy the dependencies of an installed package.

How do I remove unused software from Ubuntu?

The easiest way is to use Ubuntu Software (or Ubuntu Software Center in releases older than Ubuntu 16.04LTS). Open Ubuntu Software, click the Installed tab, select the app you wish to uninstall, and hit the Remove button.

How do I get rid of unused repository?

Click Settings in the top menu. Then Repositories. Software and Updates window will be displayed. From this window you can remove the unused ppas from the Other Software tab.

How do I uninstall orphan packages?

Now go to your applications menu and open gtkorphan. As soon as you open gtkorphan it will show you a list of orphaned packages if there are any. Right click on any package and choose “Select All” and then click OK to remove them all.

What does apt Autoremove do?

apt-get autoremove The autoremove option removes packages that were automatically installed because some other package required them but, with those other packages removed, they are no longer needed. Sometimes, an upgrade will suggest that you run this command.

How do I uninstall a package in Linux?

Include the -e option on the rpm command to remove installed packages; the command syntax is: rpm -e package_name [package_name…] To instruct rpm to remove multiple packages, provide a list of packages you wish to remove when invoking the command.

How do I completely remove a package in Linux?

To uninstall a program, use the “apt-get” command, which is the general command for installing programs and manipulating installed programs. For example, the following command uninstalls gimp and deletes all the configuration files, using the “ — purge” (there are two dashes before “purge”) command.

How do I get rid of apartment repository?

Clear the APT cache: The clean command clears out the local repository of downloaded package files. It removes everything except the partials folder and lock file from /var/cache/apt/archives/ . Use apt-get clean to free up disk space when necessary, or as part of regularly scheduled maintenance.

How do I remove old Ubuntu repository?

Via GUI: Or you can go to Software Sources on the Ubuntu Software Center Edit menu, enter your password, go to the Other tab, look for the PPA you wan to remove, click remove and close, it will ask you to update the repos and done.