2. Download and Install

2.1. Download

The binary executable file for CryDisGen supports major Linux-based operating systems, including Ubuntu, Debian, CentOS, Fedora, and openSUSE, and is available for direct download from GitHub


These are the files and subdirectories in the CryDisGen distribution:

Directory

Content

README

A brief description of the CryDisGen package

LICENSE

GNU General Public License (GPL)

bin

The binary executable file for CryDisGen is stored here

doc

Documentation of CryDisGen

examples

Examples of dislocation structures created by CryDisGen

tools

Auxiliary tools for use with CryDisGen

2.2. Install

After downloading the binary file and saving it as CryDisGen, open a Terminal window, navigate to the directory where CryDisGen is saved, and run the following command:

chmod +x CryDisGen

If it is needed, the path to CryDisGen can be added to the operating system’s enviromental variable $PATH. This allows CryDisGen to be executed anywhere without explicitly specifying its full path.

Assuming CryDisGen is saved in a folder within the home directory, such as ~/myfolder, we can add its path to the enviromental varialbe $PATH by appending the following line to the ~/.bashrc:

export PATH=~/myfolder:$PATH

After completing the steps above, CryDisGen is sucessfully installed.