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

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

deborphan Command Examples in Linux

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.

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 which 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. How to truncate /var/log/lastlog File
  2. a2ensite: command not found
  3. How to automate sftp file transfers using expect utility
  4. CentOS / RHEL : How to block incoming and outgoing ports using iptables
  5. dconf : command not found
  6. Choosing SSSD or Winbind & Samba for Active Directory Integration in CentOS/RHEL
  7. Linux OS Service ‘yum-updatesd’
  8. CentOS / RHEL 7 : unable to start vsftpd service
  9. pvdisplay Command Examples in Linux
  10. size Command Examples in Linux

You May Also Like

Primary Sidebar

Recent Posts

  • “aws s3 mv” Command Examples
  • “aws s3 mb” Command Examples
  • “aws s3 ls” Command Examples
  • “aws s3 cp” Command Examples

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright