How To Install kmag on Debian 9

In this tutorial we learn how to install kmag on Debian 9. kmag is screen magnifier tool

Introduction

In this tutorial we learn how to install kmag on Debian 9.

What is kmag

kmag is:

KDE’s screen magnifier tool.

You can use KMagnifier to magnify a part of the screen just as you would use a lens to magnify a newspaper fine-print or a photograph. This application is useful for a variety of people: from researchers to artists to web-designers to people with low vision.

This package is part of the KDE accessibility module.

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

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

sudo apt-get update

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

sudo apt-get -y install kmag

Install kmag Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install kmag using apt by running the following command:

sudo apt -y install kmag

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

sudo aptitude -y install kmag

How To Uninstall kmag on Debian 9

To uninstall only the kmag package we can use the following command:

sudo apt-get remove kmag

Uninstall kmag And Its Dependencies

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

sudo apt-get -y autoremove kmag

Remove kmag Configurations and Data

To remove kmag configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge kmag

Remove kmag configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge kmag

Dependencies

kmag have the following dependencies:

References

Summary

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