How To Install libxy-bin on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libxy-bin
on Ubuntu 20.04.
What is libxy-bin
libxy-bin is:
xylib is a C++ library for reading files that contain x-y data from powder diffraction, spectroscopy and other experimental methods.
This package contains a small program xyconv that converts files supported by the xylib library to TSV (tab-separated values).
There are three methods to install libxy-bin
on Ubuntu 20.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 libxy-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 libxy-bin
using apt-get
by running the following command:
sudo apt-get -y install libxy-bin
Install libxy-bin Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libxy-bin
using apt
by running the following command:
sudo apt -y install libxy-bin
Install libxy-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 libxy-bin
using aptitude
by running the following command:
sudo aptitude -y install libxy-bin
How To Uninstall libxy-bin on Ubuntu 20.04
To uninstall only the libxy-bin
package we can use the following command:
sudo apt-get remove libxy-bin
Uninstall libxy-bin And Its Dependencies
To uninstall libxy-bin
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libxy-bin
Remove libxy-bin Configurations and Data
To remove libxy-bin
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libxy-bin
Remove libxy-bin configuration, data, and all of its dependencies
We can use the following command to remove libxy-bin
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libxy-bin
References
Summary
In this tutorial we learn how to install libxy-bin
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.