- Install Miniconda
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
chmod a+x Miniconda3-latest-Linux-x86_64.sh
./Miniconda3-latest-Linux-x86_64.sh -b -u -p ~/opt/miniconda
~/opt/miniconda/bin/conda init
. ~/.bashrc
- Setup Conda for GRASS build and packaging
conda config --add channels conda-forge
conda config --set channel_priority strict
conda create -n grass-conda conda-build git
conda activate grass-conda
- Clone this repository
git clone https://github.com/HuidaeCho/grass-conda.git
- Build and package GRASS
cd grass-conda
conda-build recipe
- Find a new GRASS package
ls -al ~/opt/miniconda/envs/grass-conda/conda-bld/linux-64/grass-1.0.0-h3fd9d12_0.conda
- Create a new test Conda environment and install it
conda create -n grass-conda-test
conda activate grass-conda-test
conda install grass -c ~/opt/miniconda/envs/grass-conda/conda-bld
- See if GRASS is installed
ls -al ~/opt/miniconda/envs/grass-conda-test/bin/grass