How To Install Userdel On Debian, Ubuntu, Alpine, Arch, Kali, Fedora And Raspbian?

How To Install Userdel On Debian, Ubuntu, Alpine, Arch, Kali, Fedora And Raspbian?

userdel

Remove a user.

Maintainer: Shadow package maintainers



Section: admin

Install userdel

  • Debian apt-get install passwd Click to copy
  • Ubuntu apt-get install passwd Click to copy
  • Alpine OS apk add shadow Click to copy
  • Arch Linux pacman -S shadow Click to copy
  • Kali Linux apt-get install passwd Click to copy
  • Fedora dnf install shadow-utils-2 Click to copy
  • Raspbian apt-get install passwd Click to copy

Remove a user.

How to use userdel?

Below are few example commands for userdel that you can use in the terminal.

Remove a user and their home directory:
userdel -r nameClick to copy
To install the latest version of userdel in your favorite operating system just copy the userdel installation command from above and paste it into terminal. It will download and install the latest version of userdel 2026 package in your OS.