How To Install powerwaked on Ubuntu 18.04
Introduction
In this tutorial we learn how to install powerwaked on Ubuntu 18.04.
What is powerwaked
powerwaked is:
PowerWake Server is a mechanism to remotely monitor and wake up systems based on manual intervention, or automatic intervention based on a set of monitors.
PowerWake Server can monitor:
- PowerNap status (online, powersave, offline)
- Network activity (ARP activity for a given set of hosts)
When activity is received, the monitors will automatically try to wake up if it is in powersave or offline mode.
There are three methods to install powerwaked 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 powerwaked Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install powerwaked using apt-get by running the following command:
sudo apt-get -y install powerwaked
Install powerwaked Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install powerwaked using apt by running the following command:
sudo apt -y install powerwaked
Install powerwaked 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 powerwaked using aptitude by running the following command:
sudo aptitude -y install powerwaked
How To Uninstall powerwaked on Ubuntu 18.04
To uninstall only the powerwaked package we can use the following command:
sudo apt-get remove powerwaked
Uninstall powerwaked And Its Dependencies
To uninstall powerwaked and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove powerwaked
Remove powerwaked Configurations and Data
To remove powerwaked configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge powerwaked
Remove powerwaked configuration, data, and all of its dependencies
We can use the following command to remove powerwaked configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge powerwaked
References
Summary
In this tutorial we learn how to install powerwaked package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.