How To Install Free In Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora And Raspbian?

How To Install Free In Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora And Raspbian?

free

Display amount of free and used memory in the system.

Maintainer: Craig Small



Section: admin

Install free

  • Debian apt-get install procps Click to copy
  • Ubuntu apt-get install procps Click to copy
  • Alpine OS apk add procps Click to copy
  • Arch Linux pacman -S procps-ng Click to copy
  • Kali Linux apt-get install procps Click to copy
  • CentOS yum install procps-ng Click to copy
  • Fedora dnf install procps-ng Click to copy
  • Raspbian apt-get install procps Click to copy

Display amount of free and used memory in the system.

How to use free?

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

Display system memory:
freeClick to copy
Display memory in Bytes/KB/MB/GB:
free -b|k|m|gClick to copy
Display memory in human readable units:
free -hClick to copy
Refresh the output every 2 seconds:
free -s 2Click to copy
Installation of latest free command is available for Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora and Raspbian. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2024 latest package from the repository and install it in your computer/server.