Install Umount On A Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS

Install Umount On A Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS

umount

Unlink a filesystem from its mount point, making it no longer accessible.
A filesystem cannot be unmounted when it is busy.

Maintainer: LaMont Jones


Section: admin

Install umount

  • Debian apt-get install mount Click to copy
  • Ubuntu apt-get install mount Click to copy
  • Alpine OS apk add util-linux Click to copy
  • Arch Linux pacman -S util-linux Click to copy
  • Kali Linux apt-get install mount Click to copy
  • CentOS yum install util-linux Click to copy
  • Fedora dnf install util-linux Click to copy
  • Raspbian apt-get install loop-aes-utils Click to copy
  • macOS brew install util-linux Click to copy

Unlink a filesystem from its mount point, making it no longer accessible. A filesystem cannot be unmounted when it is busy.

How to use umount?

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

Unmount a filesystem, by passing the path to the source it is mounted from:
umount path/to/device_fileClick to copy
Unmount a filesystem, by passing the path to the target where it is mounted:
umount path/to/mounted_directoryClick to copy
Unmount all mounted filesystems (except the `proc` filesystem):
umount -aClick to copy
Install the latest version of umount in Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian and macOS from terminal. To install the umount just copy the above command for your OS and run into terminal. After you run the command it will grab the latest version of umount from the respository and install it in your computer/server.