CondaInstall

From GNU Radio
Revision as of 16:21, 8 January 2021 by Ryanvolz (talk | contribs)
Jump to navigation Jump to search

Why use conda?

Conda is a cross-platform package manager (supporting Linux, macOS, and Windows) that makes it easy to install GNU Radio, its dependencies, and out-of-tree modules in a self-contained environment. Conda lets you create independent environments with their own sets of packages, and those environments are separate from your system installation and other package managers. If you've struggled with installing GNU Radio by other methods, or you want to try out a new version without affecting your tried-and-true system installation, conda may be right for you!

Installation

The conda packages for GNU Radio are unofficial and supported through volunteer effort within the conda-forge community. Please report and discuss any packaging-specific issues with the maintainers at the gnuradio feedstock on Github.

Install conda itself

First, you will need to install a base conda distribution so that you can use the conda program to create an environment and install the GNU Radio packages. If you already have this and can run conda on a command line or use the Anaconda Navigator to install packages, skip to the next step.

If this is your first time using conda, we recommend miniforge for the base installation. This provides a minimal environment to run conda that is already set up to pull packages from conda-forge (which is where you can find GNU Radio). Download and install miniforge by following the instructions at [1]. Installers for many different platforms are available there, but the most relevant are the following:

For Linux and macOS, run the downloaded installer from a console and follow the prompts:

  • bash Miniforge3-Linux-x86_64.sh # for Linux
  • bash Miniforge3-MacOSX-x86_64.sh # for macOS

For Windows, double click on the downloaded installer executable and follow the prompts.