How To Install libktnef4 on Ubuntu 18.04
Introduction
In this tutorial we learn how to install libktnef4
on Ubuntu 18.04.
What is libktnef4
libktnef4 is:
Ktnef is a library for handling data in the TNEF format (Transport Neutral Encapsulation Format, a proprietary format of e-mail attachment used by Microsoft Outlook and Microsoft Exchange Server). The API permits access to the actual attachments, the message properties (TNEF/MAPI), and allows one to view/extract message formatted text in Rich Text Format.
This package is part of the KDE Development Platform PIM libraries module.
There are three methods to install libktnef4
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 libktnef4 Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libktnef4
using apt-get
by running the following command:
sudo apt-get -y install libktnef4
Install libktnef4 Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libktnef4
using apt
by running the following command:
sudo apt -y install libktnef4
Install libktnef4 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 libktnef4
using aptitude
by running the following command:
sudo aptitude -y install libktnef4
How To Uninstall libktnef4 on Ubuntu 18.04
To uninstall only the libktnef4
package we can use the following command:
sudo apt-get remove libktnef4
Uninstall libktnef4 And Its Dependencies
To uninstall libktnef4
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove libktnef4
Remove libktnef4 Configurations and Data
To remove libktnef4
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge libktnef4
Remove libktnef4 configuration, data, and all of its dependencies
We can use the following command to remove libktnef4
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libktnef4
References
Summary
In this tutorial we learn how to install libktnef4
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.