How To Install king on Ubuntu 22.04

In this tutorial we learn how to install king on Ubuntu 22.04. king is interactive system for three-dimensional vector graphics

Introduction

In this tutorial we learn how to install king on Ubuntu 22.04.

What is king

king is:

KiNG (Kinemage, Next Generation) is an interactive system for three-dimensional vector graphics. It supports a set of graphics primitives that make it suitable for many types of graphs, plots, and other illustrations; although its first use was to display macromolecular structures for biophysical research. KiNG builds on Mage, JavaMage, and the “kinemage” (kinetic image) concept to deliver a full-featured Java application with a user-friendly interface and integrated editing features. The KiNG jar file can be used within a web page as a Java applet or Java object to promote easy access to kinemages or coordinate files from a web browser.

There are three methods to install king on Ubuntu 22.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 king Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install king

Install king Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install king

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

sudo aptitude -y install king

How To Uninstall king on Ubuntu 22.04

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

sudo apt-get remove king

Uninstall king And Its Dependencies

To uninstall king and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove king

Remove king Configurations and Data

To remove king configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge king

Remove king configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge king

References

Summary

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