How To Install objcryst-fox on Ubuntu 18.04

In this tutorial we learn how to install objcryst-fox on Ubuntu 18.04. objcryst-fox is Free Objects for Xtallography

Introduction

In this tutorial we learn how to install objcryst-fox on Ubuntu 18.04.

What is objcryst-fox

objcryst-fox is:

FOX is a program for the ab initio structure determination from powder diffraction (neutrons, X-Ray). The crystal structure can be described as any combination of atoms, molecules or polyhedra, without a priori information about the connectivity of these ‘building block’. Fox can make multi-pattern global optimizations, and automatically correct special positions.

FOX could also be used for educational purposes, to display Crystal Structures in 3D with the associated powder diffraction pattern.

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

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

sudo apt-get update

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

sudo apt-get -y install objcryst-fox

Install objcryst-fox Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install objcryst-fox

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

sudo aptitude -y install objcryst-fox

How To Uninstall objcryst-fox on Ubuntu 18.04

To uninstall only the objcryst-fox package we can use the following command:

sudo apt-get remove objcryst-fox

Uninstall objcryst-fox And Its Dependencies

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

sudo apt-get -y autoremove objcryst-fox

Remove objcryst-fox Configurations and Data

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

sudo apt-get -y purge objcryst-fox

Remove objcryst-fox configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge objcryst-fox

References

Summary

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