How To Install ofono-phonesim-autostart on Ubuntu 18.04
Introduction
In this tutorial we learn how to install ofono-phonesim-autostart
on Ubuntu 18.04.
What is ofono-phonesim-autostart
ofono-phonesim-autostart is:
Phonesim is a modem emulator that oFono uses for development and testing. This allows oFono to be used by any host without requiring special GSM (or other) hardware.
This package provides an upstart job that automatically starts Phonesim on package installation and at boot. It makes any real SIM hardware inaccessible, and should only be installed in test environments.
You DO NOT want this package in PRODUCTION environments!
There are three methods to install ofono-phonesim-autostart
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 ofono-phonesim-autostart Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install ofono-phonesim-autostart
using apt-get
by running the following command:
sudo apt-get -y install ofono-phonesim-autostart
Install ofono-phonesim-autostart Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install ofono-phonesim-autostart
using apt
by running the following command:
sudo apt -y install ofono-phonesim-autostart
Install ofono-phonesim-autostart 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 ofono-phonesim-autostart
using aptitude
by running the following command:
sudo aptitude -y install ofono-phonesim-autostart
How To Uninstall ofono-phonesim-autostart on Ubuntu 18.04
To uninstall only the ofono-phonesim-autostart
package we can use the following command:
sudo apt-get remove ofono-phonesim-autostart
Uninstall ofono-phonesim-autostart And Its Dependencies
To uninstall ofono-phonesim-autostart
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove ofono-phonesim-autostart
Remove ofono-phonesim-autostart Configurations and Data
To remove ofono-phonesim-autostart
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge ofono-phonesim-autostart
Remove ofono-phonesim-autostart configuration, data, and all of its dependencies
We can use the following command to remove ofono-phonesim-autostart
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ofono-phonesim-autostart
References
Summary
In this tutorial we learn how to install ofono-phonesim-autostart
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.