How To Install okular-mobile on Ubuntu 18.04

In this tutorial we learn how to install okular-mobile on Ubuntu 18.04. okular-mobile is mobile support for Okular

Introduction

In this tutorial we learn how to install okular-mobile on Ubuntu 18.04.

What is okular-mobile

okular-mobile is:

These plugins allow Okular to view additional document formats for mobile:

  • Portable Document Format (PDF)
  • PostScript
  • Device Independent Format (DVI)
  • DeJaVu Format
  • Comic Books
  • Images (JPEG, PNG, GIF, and many more)
  • TIFF Image Format
  • FictionBook Format
  • Plucker Format
  • OpenDocument Text Format
  • Microsofts CHM Format
  • Microsofts XML Document Format

This package is part of the KDE graphics module.

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

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

sudo apt-get update

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

sudo apt-get -y install okular-mobile

Install okular-mobile Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install okular-mobile

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

sudo aptitude -y install okular-mobile

How To Uninstall okular-mobile on Ubuntu 18.04

To uninstall only the okular-mobile package we can use the following command:

sudo apt-get remove okular-mobile

Uninstall okular-mobile And Its Dependencies

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

sudo apt-get -y autoremove okular-mobile

Remove okular-mobile Configurations and Data

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

sudo apt-get -y purge okular-mobile

Remove okular-mobile configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge okular-mobile

References

Summary

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