How To Install libp2kmoto-dev on Ubuntu 18.04

In this tutorial we learn how to install libp2kmoto-dev on Ubuntu 18.04. libp2kmoto-dev is library for Motorola phones based on the P2K platform

Introduction

In this tutorial we learn how to install libp2kmoto-dev on Ubuntu 18.04.

What is libp2kmoto-dev

libp2kmoto-dev is:

Software intended to be used with Motorola telephones based on the P2K platform.

This package contains the development files.

Homepage: http://sourceforge.net/projects/moto4lin/

There are three methods to install libp2kmoto-dev 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 libp2kmoto-dev Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libp2kmoto-dev

Install libp2kmoto-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libp2kmoto-dev

Install libp2kmoto-dev 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 libp2kmoto-dev using aptitude by running the following command:

sudo aptitude -y install libp2kmoto-dev

How To Uninstall libp2kmoto-dev on Ubuntu 18.04

To uninstall only the libp2kmoto-dev package we can use the following command:

sudo apt-get remove libp2kmoto-dev

Uninstall libp2kmoto-dev And Its Dependencies

To uninstall libp2kmoto-dev and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libp2kmoto-dev

Remove libp2kmoto-dev Configurations and Data

To remove libp2kmoto-dev configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libp2kmoto-dev

Remove libp2kmoto-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libp2kmoto-dev

References

Summary

In this tutorial we learn how to install libp2kmoto-dev package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.