Ubuntu Tutorial: Installing powstatd on Ubuntu 15.10 (Wily Werewolf).
In this aricle we are going to learn the commands to install powstatd package on Ubuntu 15.10.
Quick installation of powstatd:
Step 1: Update system:
sudo apt-get update
Step 2: Install: powstatd
Ater updaing the OS run following command to install the packae:
sudo apt-get install powstatd
Package Details | |
Package: | powstatd |
Version: | 1.5.1-9.1 |
Maintainer: | Ubuntu Developers |
Home page: | |
Description: | Configurable UPS monitoring daemon Assuming you have a relay-based "dumb" UPS that corresponds with your machine via a serial connection, you should be able to configure powstatd in just a few minutes. It is easily configured, and can be expected to support most "dumb" UPS supplies. . UPS models known to work: CyberPower PowerSL series CyberPower Power2000 1500VA CyberPower Power99 325VA, 400VA, 500VA and 720VA Some older CyberPower 385VA and 450VA models TrippLite Internet Office 500 UPS Various older APC units. . Powstatd can also be configured to allow a master machine to control (Via a network connection) up to 20 (by default) additional slave machines connected to the same UPS. This allows you to run several machines off the same UPS, with only one of the machines actually reading the UPS status over the serial line. This version of powstatd uses secure cryptography to communicate between master and slave(s), replacing the older powstatd-crypt Debian package. |
Distro: | Ubuntu 15.10 |
Release: | |
Repo/Section: | universe/admin |
How to install powstatd on Ubuntu 15.10?
First of all update your system with the command:
sudo apt-get update
Above command will download the package lists for Ubuntu 15.10 on your system. This will update the list of newest versions of packages and its dependencies on your system.
After downloading the latest package list with the help of above you can run the installation process.
If powstatd is not installed on your compter then the command 'dpkg -L powstatd' will give followin error.
deepak@deepak-VirtualBox:~$ dpkg -L powstatd dpkg-query: package 'powstatd' is not installed Use dpkg --info (= dpkg-deb --info) to examine archive files, and dpkg --contents (= dpkg-deb --contents) to list their contents. deepak@deepak-VirtualBox:~$
Installing powstatd:
After system update use the following command to install powstatd:
sudo apt-get install powstatd
Above command will confirm before installing the package on your Ubuntu 15.10 Operating System. If you are not already logged in as su, installer will ask you the root password. After completion of the installation you can use the package on your system.
How to uninstall/remove powstatd from Ubuntu 15.10?
Now we will see the commands for uninstalling the powstatd from Ubuntu 15.10. For uninstalling this package you can easily use the apt command and remove the package from Linux Operating System.
To remove the powstatd following command is used:
sudo apt-get remove powstatd
Following command is used to remove the powstatd package along with its dependencies:
sudo apt-get remove --auto-remove powstatd
This will remove powstatd and all its dependent packages which is no longer needed in the system.
Completely removing powstatd with all configuration files:
Following command should be used with care as it deletes all the configuration files and data:
sudo apt-get purge powstatd
or you can use following command also:
sudo apt-get purge --auto-remove powstatd
Above command will remove all the configuration files and data associated with powstatd package. You can can't recover the delete data, so, use this command with care.