How To Install science-highenergy-physics on Ubuntu 18.04

In this tutorial we learn how to install science-highenergy-physics on Ubuntu 18.04. science-highenergy-physics is Debian Science High Energy Physics packages

Introduction

In this tutorial we learn how to install science-highenergy-physics on Ubuntu 18.04.

What is science-highenergy-physics

science-highenergy-physics is:

This metapackage will install Debian Science packages related to High Energy Physics, which is a branch of physics that studies the elementary subatomic constituents of matter and radiation, and their interactions. The field is also called Particle Physics.

You might also be interested in the debtag field::physics and, depending on your focus, in the physics and education-physics metapackages.

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

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

sudo apt-get update

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

sudo apt-get -y install science-highenergy-physics

Install science-highenergy-physics Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install science-highenergy-physics

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

sudo aptitude -y install science-highenergy-physics

How To Uninstall science-highenergy-physics on Ubuntu 18.04

To uninstall only the science-highenergy-physics package we can use the following command:

sudo apt-get remove science-highenergy-physics

Uninstall science-highenergy-physics And Its Dependencies

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

sudo apt-get -y autoremove science-highenergy-physics

Remove science-highenergy-physics Configurations and Data

To remove science-highenergy-physics configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge science-highenergy-physics

Remove science-highenergy-physics configuration, data, and all of its dependencies

We can use the following command to remove science-highenergy-physics configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge science-highenergy-physics

References

Summary

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