• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

deborphan: command not found

by Deepika

deborphan is a command line tool in Linux that can be used to find “orphaned” packages on a Debian-based system. Orphaned packages are packages that are no longer needed by any other package on the system. They can be left behind after upgrading or uninstalling packages, and can take up unnecessary space on the system.

The deborphan command can be used to list these packages, and then the user can decide whether to remove them or not.

If you encounter the below error while running the command deborphan:

deborphan: command not found

you may try installing the below package as per your choice of distribution:

Distribution Command
Debian apt-get install deborphan
Ubuntu apt-get install deborphan
Kali Linux apt-get install deborphan
Raspbian apt-get install deborphan

deborphan Command Examples

1. Display library packages (from the “libs” section of the package repository) which are not required by another package:

# deborphan

2. List orphan packages from the “libs” section as well as orphan packages that have a name that looks like a library name:

# deborphan --guess-all

3. Find packages that are only recommended or suggested (but not required) by another package:

# deborphan --nice-mode

Filed Under: Linux

Some more articles you might also be interested in …

  1. Linux OS Service ‘xendomains’
  2. runuser: command not found
  3. links: command not found
  4. dfc: Gives an overview of the filesystem disk space usage with colors and graphs
  5. nsenter: command not found
  6. How to Create a New Directory in Linux
  7. lsdev: command not found
  8. clear: Clears the screen of the terminal (Command Examples)
  9. lshw: command not found
  10. calcurse Command Examples in Linux

You May Also Like

Primary Sidebar

Recent Posts

  • Vanilla OS 2 Released: A New Era for Linux Enthusiasts
  • mk Command Examples
  • mixxx Command Examples
  • mix Command Examples

© 2025 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright