

I personally prefer Miniconda over a full Anaconda installation, which usually leaves you with a bunch of unused packages and a tremendous amount of disk usage. Okay, the first step is to download and install Conda. The tutorial is prepared for bash, but the approach should be more or less the same for other shells and can be modified accordingly Also, it’s worth mentioning that all the paths are taken from my system, so throughout the tutorial, make sure to double-check all the paths/directories to make sure that they match your system configuration. The following procedure is independent of the underlying Linux installation, and only a tool to download Miniconda and a text editor suffice (here I have used wget and nano for these purposes). A root previlege is required for following the official build procedure for OpenFOAM. As I said, the main advantage of doing this is the possibility of building/installing software without the root privilege, a scenario that happens frequently while working with clusters and supercomputers. In this post, as an example, I describe how it works if we want to build OpenFOAM in this manner. In previous post, I explained why a Conda environment would be interesting for building software programs in an isolated box. Building OpenFOAM in a Conda virtual environment
