How To Install segyio-bin on Ubuntu 18.04

In this tutorial we learn how to install segyio-bin on Ubuntu 18.04. segyio-bin is SEG-Y read/write library for seismic processing (shell utilities)

Introduction

In this tutorial we learn how to install segyio-bin on Ubuntu 18.04.

What is segyio-bin

segyio-bin is:

segyio is a fast and practical library for reading and writing seismic data in SEG-Y format. segyio is random access oriented for modern computers with simple read/write primitives on lines.

This package contains useful shell programs.

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

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

sudo apt-get update

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

sudo apt-get -y install segyio-bin

Install segyio-bin Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install segyio-bin

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

sudo aptitude -y install segyio-bin

How To Uninstall segyio-bin on Ubuntu 18.04

To uninstall only the segyio-bin package we can use the following command:

sudo apt-get remove segyio-bin

Uninstall segyio-bin And Its Dependencies

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

sudo apt-get -y autoremove segyio-bin

Remove segyio-bin Configurations and Data

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

sudo apt-get -y purge segyio-bin

Remove segyio-bin configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge segyio-bin

References

Summary

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