How To Install iio-sensor-proxy on Ubuntu 20.04
Introduction
In this tutorial we learn how to install iio-sensor-proxy
on Ubuntu 20.04.
What is iio-sensor-proxy
iio-sensor-proxy is:
Industrial I/O subsystem is intended to provide support for devices that in some sense are analog to digital or digital to analog convertors
Devices that fall into this category are:
- ADCs
- Accelerometers
- Gyros
- IMUs
- Capacitance to Digital Converters (CDCs)
- Pressure Sensors
- Color, Light and Proximity Sensors
- Temperature Sensors
- Magnetometers
- DACs
- DDS (Direct Digital Synthesis)
- PLLs (Phase Locked Loops)
- Variable/Programmable Gain Amplifiers (VGA, PGA)
Many ultrabooks ship with some of these devices. iio-sensor-proxy is intended to serve as a proxy, providing access to these devices through a D-Bus interface Task: ubuntu-desktop-minimal, ubuntu-desktop, kubuntu-desktop, lubuntu-desktop, ubuntustudio-video, ubuntustudio-publishing, ubuntukylin-desktop, ubuntu-mate-desktop, ubuntu-budgie-desktop
Package: iio-sensor-proxy Architecture: amd64 Version: 2.8-1 Priority: optional Section: utils Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Ritesh Raj Sarraf [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 163 Depends: libc6 (>= 2.7), libglib2.0-0 (>= 2.39.90), libgudev-1.0-0 (>= 146) Suggests: systemd Filename: pool/main/i/iio-sensor-proxy/iio-sensor-proxy_2.8-1_amd64.deb Size: 35524 MD5sum: ff75379453e10f6c6a71751989748c14 SHA1: 6e46252dbef7f035883c7dd459c378aeda29d7ba SHA256: 3e134e7e8072b08d77133020933a6f9f4be01c30883e66a8273ca1dc6ed8c2dc Homepage: https://github.com/hadess/iio-sensor-proxy Description-en: IIO sensors to D-Bus proxy Industrial I/O subsystem is intended to provide support for devices that in some sense are analog to digital or digital to analog convertors
Devices that fall into this category are:
- ADCs
- Accelerometers
- Gyros
- IMUs
- Capacitance to Digital Converters (CDCs)
- Pressure Sensors
- Color, Light and Proximity Sensors
- Temperature Sensors
- Magnetometers
- DACs
- DDS (Direct Digital Synthesis)
- PLLs (Phase Locked Loops)
- Variable/Programmable Gain Amplifiers (VGA, PGA)
Many ultrabooks ship with some of these devices. iio-sensor-proxy is intended to serve as a proxy, providing access to these devices through a D-Bus interface Task: ubuntu-desktop-minimal, ubuntu-desktop, kubuntu-desktop, lubuntu-desktop, ubuntustudio-video, ubuntustudio-publishing, ubuntukylin-desktop, ubuntu-mate-desktop, ubuntu-budgie-desktop
There are three methods to install iio-sensor-proxy
on Ubuntu 20.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 iio-sensor-proxy Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install iio-sensor-proxy
using apt-get
by running the following command:
sudo apt-get -y install iio-sensor-proxy
Install iio-sensor-proxy Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install iio-sensor-proxy
using apt
by running the following command:
sudo apt -y install iio-sensor-proxy
Install iio-sensor-proxy 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 iio-sensor-proxy
using aptitude
by running the following command:
sudo aptitude -y install iio-sensor-proxy
How To Uninstall iio-sensor-proxy on Ubuntu 20.04
To uninstall only the iio-sensor-proxy
package we can use the following command:
sudo apt-get remove iio-sensor-proxy
Uninstall iio-sensor-proxy And Its Dependencies
To uninstall iio-sensor-proxy
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove iio-sensor-proxy
Remove iio-sensor-proxy Configurations and Data
To remove iio-sensor-proxy
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge iio-sensor-proxy
Remove iio-sensor-proxy configuration, data, and all of its dependencies
We can use the following command to remove iio-sensor-proxy
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge iio-sensor-proxy
References
Summary
In this tutorial we learn how to install iio-sensor-proxy
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.