Installation

Miniforge

Windows

Note

Installation should be completed using a new virtual environment, without changing current system settings.

  1. First create a new virtual environment.

  2. Download miniforge file and run executable. Installation for current user is recommended and the target will be c:\Users directory, for example the app will run from c:\Users\murat\miniforge3 directory after a successful installation.

Linux

  1. Download Linux installation file.

  2. Run following command(s)

bash Miniforge3-Linux-x86_64.sh
eval "$(/home/murat/miniforge3/bin/conda shell.bash hook)"
conda init
conda config --set auto_activate_base false

OsX

  1. Download OsX installation file.

  2. Run following command(s)

bash Miniforge3-MacOSX-x86_64.sh

UHTE Virtual Environment Creation

Note

On Windows; after miniforge installation, press “Windows key”, search for “miniforge” and run “Miniforge Prompt”.

Create virtual env UHTE with the following command.

conda create -vv -n UHTE python=3.9 jupyter

JupyterLab

On “Miniforge Prompt” window;

  1. activate UHTE venv

  2. install JupyterLab.

conda activate UHTE
conda install jupyterlab

GNU Radio

On “Miniforge Prompt” window;

  1. install GNU Radio.

conda config --append channels conda-forge
conda install gnuradio python=3.9

Python Libraries

On “Miniforge Prompt” window;

  1. install the following Python libraries.

conda install numpy
conda install scipy
conda install matplotlib
conda install -c conda-forge ipympl
conda install -c conda-forge python-sounddevice
pip install playsound==1.2.2
conda install soapysdr-module-rtlsdr
conda install pymodes

osmocom

  1. Download Osmocom

  2. Extract zip to virtual environment path, for example C:\Users\murat\miniforge3\envs\UHTE

RTL-SDR Drivers

Note

Drivers need physical hardware and setup will be completed during lessons. File download is sufficient for this step.

  1. Download Rtl ve Sdr files.

Test Installation

  1. Open a new “Miniforge Prompt”.

  2. Activate virtual environment.

  3. Open Jupyter Lab and open a new notebook.

conda activate UHTE
jupyter-lab