How To Install Pm-hibernate In Debian, Ubuntu, Alpine, Kali, CentOS And Raspbian?

How To Install Pm-hibernate In Debian, Ubuntu, Alpine, Kali, CentOS And Raspbian?

pm-hibernate

utilities and scripts for power management

Maintainer: Debian QA Group



Section: admin

Install pm-hibernate

  • Debian apt-get install pm-utils Click to copy
  • Ubuntu apt-get install pm-utils Click to copy
  • Alpine OS apk add pm-utils Click to copy
  • Kali Linux apt-get install pm-utils Click to copy
  • CentOS yum install pm-utils Click to copy
  • Raspbian apt-get install pm-utils Click to copy

pm-utils

utilities and scripts for power management

This package provides simple shell command line tools to suspend and hibernate your computer.

molly-guard

protects machines from accidental shutdowns/reboots

The package installs a shell script that overrides the existing shutdown/reboot/halt/poweroff/coldreboot/pm-hibernate/pm-suspend* commands and first runs a set of scripts, which all have to exit successfully, before molly-guard invokes the real command. One of the scripts checks for existing SSH sessions. If any of the four commands are called interactively over an SSH session, the shell script prompts you to enter the name of the host you wish to shut down. This should adequately prevent you from accidental shutdowns and reboots. molly-guard diverts the real binaries to /lib/molly-guard/. You can bypass molly-guard by running those binaries directly.

Installing pm-hibernate command is simple. just copy one of the above commands for your operating system and paste it into terminal. This command is available for Debian, Ubuntu, Alpine, Kali, CentOS and Raspbian operating systems. Once you run the command it will install the latest version of pm-hibernate 2023 package in your OS.