How To Install ckport-database on Ubuntu 18.04

In this tutorial we learn how to install ckport-database on Ubuntu 18.04. ckport-database is portability analysis and security checking tool (Database files)

Introduction

In this tutorial we learn how to install ckport-database on Ubuntu 18.04.

What is ckport-database

ckport-database is:

ckport is a tool to check already compiled binaries and libraries for porting and security problems.

It uses objdump to read the binaries and analyses calls and jumps to functions.

This package is architecture independent and can be used on non-host architecture binaries if an objdump tool for the target architecture is installed.

This package contains some common databases. Libraries should provide own databases.

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

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

sudo apt-get update

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

sudo apt-get -y install ckport-database

Install ckport-database Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install ckport-database

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

sudo aptitude -y install ckport-database

How To Uninstall ckport-database on Ubuntu 18.04

To uninstall only the ckport-database package we can use the following command:

sudo apt-get remove ckport-database

Uninstall ckport-database And Its Dependencies

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

sudo apt-get -y autoremove ckport-database

Remove ckport-database Configurations and Data

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

sudo apt-get -y purge ckport-database

Remove ckport-database configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge ckport-database

References

Summary

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