How To Install med-oncology on Ubuntu 18.04

In this tutorial we learn how to install med-oncology on Ubuntu 18.04. med-oncology is Debian Med packages for oncology

Introduction

In this tutorial we learn how to install med-oncology on Ubuntu 18.04.

What is med-oncology

med-oncology is:

This metapackage will install tools that are useful for radiation oncology.

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

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

sudo apt-get update

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

sudo apt-get -y install med-oncology

Install med-oncology Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install med-oncology

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

sudo aptitude -y install med-oncology

How To Uninstall med-oncology on Ubuntu 18.04

To uninstall only the med-oncology package we can use the following command:

sudo apt-get remove med-oncology

Uninstall med-oncology And Its Dependencies

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

sudo apt-get -y autoremove med-oncology

Remove med-oncology Configurations and Data

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

sudo apt-get -y purge med-oncology

Remove med-oncology configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge med-oncology

References

Summary

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