CondaInstall: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
(Installing GNU Radio conda packages)
 
No edit summary
Line 5: Line 5:
= Installation =
= Installation =


First you will need to install a base conda ''distribution''
The conda packages for GNU Radio are '''unofficial''' and supported through volunteer effort within the [https://conda-forge.org/ conda-forge] community. Please report and discuss any packaging-specific issues with the maintainers at the [https://github.com/conda-forge/gnuradio-feedstock/issues 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 [https://github.com/conda-forge/miniforge 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 [https://github.com/conda-forge/miniforge]. Installers for many different platforms are available there, but the most relevant are the following:
 
* [https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh Linux x86_64]
* [https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-MacOSX-x86_64.sh macOS x86_64]
* [https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Windows-x86_64.exe Windows x86_64]
 
For Linux and macOS, run the downloaded installer from a console and follow the prompts:
 
* <code>bash Miniforge3-Linux-x86_64.sh  # for Linux</code>
* <code>bash Miniforge3-MacOSX-x86_64.sh  # for macOS</code>
 
For Windows, double click on the downloaded installer executable and follow the prompts.

Revision as of 16:21, 8 January 2021

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.