2.4. Download an executable for Linux or Mac via Conda
Binaries are available for MacOS or Linux via Conda.
First, one must setup the Conda package manager on your system. Follow the instructions to install Miniconda, then create a conda environment (named my-lammps-env or whatever you prefer) for your lammps install:
% conda config --add channels conda-forge % conda create -n my-lammps-env
Then, you can install lammps on your system with the following command:
% conda activate my-lammps-env % conda install lammps
The LAMMPS binary is built with the KIM package which results in Conda also installing the kim-api binaries when LAMMPS is installed. In order to use potentials from openkim.org, you can install the openkim-models package
% conda install openkim-models
If you have problems with the installation you can post issues to this link. Thanks to Jan Janssen (Max-Planck-Institut fuer Eisenforschung) for setting up the Conda capability.