How To Install fso-usaged on Debian 9

In this tutorial we learn how to install fso-usaged on Debian 9. fso-usaged is freesmartphone.org usage daemon

Introduction

In this tutorial we learn how to install fso-usaged on Debian 9.

What is fso-usaged

fso-usaged is:

fsousaged implements the freesmartphone.org Usage API. It automatically controls system resources like GSM, GPS, Bluetooth, WiFi, Display or CPU.

Some platforms (e.g. the Openmoko Freerunner) have custom lowlevel plugins, which are available in optional packages.

This package is part of the freesmartphone.org software stack and is targeted for smartphones.

There are three methods to install fso-usaged on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install fso-usaged Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install fso-usaged using apt-get by running the following command:

sudo apt-get -y install fso-usaged

Install fso-usaged Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install fso-usaged using apt by running the following command:

sudo apt -y install fso-usaged

Install fso-usaged 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install fso-usaged using aptitude by running the following command:

sudo aptitude -y install fso-usaged

How To Uninstall fso-usaged on Debian 9

To uninstall only the fso-usaged package we can use the following command:

sudo apt-get remove fso-usaged

Uninstall fso-usaged And Its Dependencies

To uninstall fso-usaged and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove fso-usaged

Remove fso-usaged Configurations and Data

To remove fso-usaged configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge fso-usaged

Remove fso-usaged configuration, data, and all of its dependencies

We can use the following command to remove fso-usaged configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge fso-usaged

Dependencies

fso-usaged have the following dependencies:

References

Summary

In this tutorial we learn how to install fso-usaged package on Debian 9 using different package management tools: apt, apt-get and aptitude.