How To Install powerwake on Ubuntu 18.04
Introduction
In this tutorial we learn how to install powerwake
on Ubuntu 18.04.
What is powerwake
powerwake is:
PowerWake is a generic mechanism for remotely waking systems. It is intended to support wake-on-lan, ipmi, and other remote waking mechanisms. Currently, wake-on-lan is the only supported mechanism. It also includes some handy caching of MAC addresses, such that systems can be awakened by hostname or ip address, in addition to MAC address.
There are three methods to install powerwake
on Ubuntu 18.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install powerwake Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install powerwake
using apt-get
by running the following command:
sudo apt-get -y install powerwake
Install powerwake Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install powerwake
using apt
by running the following command:
sudo apt -y install powerwake
Install powerwake Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install powerwake
using aptitude
by running the following command:
sudo aptitude -y install powerwake
How To Uninstall powerwake on Ubuntu 18.04
To uninstall only the powerwake
package we can use the following command:
sudo apt-get remove powerwake
Uninstall powerwake And Its Dependencies
To uninstall powerwake
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove powerwake
Remove powerwake Configurations and Data
To remove powerwake
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge powerwake
Remove powerwake configuration, data, and all of its dependencies
We can use the following command to remove powerwake
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge powerwake
References
Summary
In this tutorial we learn how to install powerwake
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.