How To Install libsiloh5-0 on Ubuntu 18.04

In this tutorial we learn how to install libsiloh5-0 on Ubuntu 18.04. libsiloh5-0 is SILO Science I/O library from LLNL

Introduction

In this tutorial we learn how to install libsiloh5-0 on Ubuntu 18.04.

What is libsiloh5-0

libsiloh5-0 is:

Silo is a library for reading and writing a wide variety of scientific data to binary, disk files.

Silo supports gridless (point) meshes, structured meshes, unstructured-zoo and unstructured-arbitrary-polyhedral meshes, block structured AMR meshes, constructive solid geometry (CSG) meshes, piecewise-constant (e.g. zone-centered) and piecewise-linear (e.g. node-centered) variables defined on the node, edge, face or volume elements of meshes as well as the decomposition of meshes into arbitrary subset hierarchies including materials and mixing materials. In addition, Silo supports a wide variety of other useful objects to address various scientific computing application needs. Although the Silo library is a serial library, it has some key features which enable it to be applied quite effectively and scalable in parallel.

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

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

sudo apt-get update

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

sudo apt-get -y install libsiloh5-0

Install libsiloh5-0 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libsiloh5-0

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

sudo aptitude -y install libsiloh5-0

How To Uninstall libsiloh5-0 on Ubuntu 18.04

To uninstall only the libsiloh5-0 package we can use the following command:

sudo apt-get remove libsiloh5-0

Uninstall libsiloh5-0 And Its Dependencies

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

sudo apt-get -y autoremove libsiloh5-0

Remove libsiloh5-0 Configurations and Data

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

sudo apt-get -y purge libsiloh5-0

Remove libsiloh5-0 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libsiloh5-0

References

Summary

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