Difference between revisions of "Ubuntu - Client Installation"

From SatNOGS Wiki
m
(Added more major steps.)
Line 1: Line 1:
This guide will enable you to install SatNOGS client on an Ubuntu 20.04 environment.  It has been tested on PC, laptop, and Virtual Machines, all with success.  Information is currently being added and announcement will be made when complete.<br />
+
This guide will enable you to install SatNOGS client on an Ubuntu 20.04 environment.  It has been tested on PC, laptop, and Virtual Machines, all with success.  Information is currently being added and announcement will be made when complete.  It has been broken down into logical steps that will help allow for any troubleshooting should it be required.<br />
 
=Installing SatNOGS on Ubuntu 20.04 - PC=
 
=Installing SatNOGS on Ubuntu 20.04 - PC=
 
{{Warning|'''Information is currently being added to this page. This warning will be removed when completed.'''
 
{{Warning|'''Information is currently being added to this page. This warning will be removed when completed.'''
Line 5: Line 5:
 
}}
 
}}
  
==Install GR-SatNOGS==
+
==Installation information for gr-satnogs on Ubuntu 20.04==
 
 
===Installation information for gr-satnogs on Ubuntu 20.04===
 
 
Do not add any repo for GNU Radio. It is not the required version and will cause errors.<pre>
 
Do not add any repo for GNU Radio. It is not the required version and will cause errors.<pre>
 
sudo apt-get update
 
sudo apt-get update
Line 13: Line 11:
 
</pre><pre>
 
</pre><pre>
 
sudo apt-get --purge remove snapd -y
 
sudo apt-get --purge remove snapd -y
</pre><br />
+
</pre>
 
 
 
===Install required software packages===
 
===Install required software packages===
 
<pre>
 
<pre>
Line 59: Line 56:
 
</pre>
 
</pre>
  
==Install Soapy-SDR==
+
==Installation information for Soapy SDR and Device on Ubuntu 20.04==
 +
 
 +
=== Install required software packages ===
 +
<pre>
 +
sudo apt-get update
 +
sudo apt-get install rtl-sdr librtlsdr-dev -y
 +
</pre><br /><pre>
 +
sudo apt-get install soapysdr-tools python3-soapysdr libsoapysdr-dev -y
 +
</pre>
 +
==Installation information for gr-soapy on Ubuntu 20.04==
 +
 
 +
=== Install from source ===
 +
<pre>
 +
cd ~
 +
git clone https://gitlab.com/librespacefoundation/gr-soapy
 +
cd gr-soapy
 +
mkdir build
 +
cd build
 +
cmake ..
 +
make
 +
sudo make install
 +
sudo ldconfig
 +
cd ~
 +
</pre>
 +
==Installation information for satnogs-flowgraphs on Ubuntu 20.04==
  
==Install GR-Soapy==
+
=== Set & configure PYTHONPATH environment setting ===
  
==Install SatNOGS Flowgraphs==
+
==== Edit bashrc ====
 +
<pre>
 +
sudo nano ~/.bashrc
 +
</pre>Add the following to your .bashrc. This will make sure that every time you login the variable will be set.<pre>
 +
export PYTHONPATH=/usr/local/lib/python3/dist-packages
 +
</pre>If you do not re-login after adding to .bashrc then run the following (same) command in the current session.<pre>
 +
export PYTHONPATH=/usr/local/lib/python3/dist-packages
 +
</pre>
  
 +
=== Installation from source ===
 +
<pre>
 +
cd ~
 +
git clone https://gitlab.com/librespacefoundation/satnogs/satnogs-flowgraphs.git
 +
cd satnogs-flowgraphs
 +
mkdir build
 +
cd build
 +
cmake ..
 +
make
 +
sudo make install
 +
</pre>
 
==Setup User Environment & SatNOGS Client==
 
==Setup User Environment & SatNOGS Client==
  
Line 76: Line 115:
  
 
<br /><pre>
 
<br /><pre>
sudo apt-get update
+
code goes here
sudo apt-get upgrade -y
 
 
</pre>
 
</pre>
 
[[Category:Software]]
 
[[Category:Software]]

Revision as of 13:25, 29 May 2022

This guide will enable you to install SatNOGS client on an Ubuntu 20.04 environment. It has been tested on PC, laptop, and Virtual Machines, all with success. Information is currently being added and announcement will be made when complete. It has been broken down into logical steps that will help allow for any troubleshooting should it be required.

Installing SatNOGS on Ubuntu 20.04 - PC

Important.png
Information is currently being added to this page. This warning will be removed when completed.

This guide is incomplete.

Installation information for gr-satnogs on Ubuntu 20.04

Do not add any repo for GNU Radio. It is not the required version and will cause errors.

sudo apt-get update
sudo apt-get upgrade -y

sudo apt-get --purge remove snapd -y

Install required software packages

sudo apt install -y \
      libboost-dev \
      libitpp-dev \
      libboost-date-time-dev \
      libboost-filesystem-dev \
      libboost-program-options-dev \
      libboost-system-dev \
      libboost-thread-dev \
      libboost-regex-dev \
      libboost-test-dev \
      swig \
      cmake \
      build-essential \
      pkg-config \
      gnuradio-dev \
      libconfig++-dev \
      libgmp-dev \
      liborc-0.4-0 \
      liborc-0.4-dev \
      liborc-0.4-dev-bin \
      nlohmann-json3-dev \
      libpng++-dev \
      libvorbis-dev \
      git \
      libusb-1.0-0

Install from source

cd ~
git clone https://gitlab.com/librespacefoundation/satnogs/gr-satnogs.git
cd gr-satnogs
mkdir build
cd build
cmake ..
make
sudo make install
cd ~

If this is the first time you are building the gr-satnogs module, run:

sudo ldconfig

Installation information for Soapy SDR and Device on Ubuntu 20.04

Install required software packages

sudo apt-get update
sudo apt-get install rtl-sdr librtlsdr-dev -y


sudo apt-get install soapysdr-tools python3-soapysdr libsoapysdr-dev -y

Installation information for gr-soapy on Ubuntu 20.04

Install from source

cd ~
git clone https://gitlab.com/librespacefoundation/gr-soapy
cd gr-soapy
mkdir build
cd build
cmake ..
make
sudo make install
sudo ldconfig
cd ~

Installation information for satnogs-flowgraphs on Ubuntu 20.04

Set & configure PYTHONPATH environment setting

Edit bashrc

sudo nano ~/.bashrc

Add the following to your .bashrc. This will make sure that every time you login the variable will be set.

export PYTHONPATH=/usr/local/lib/python3/dist-packages

If you do not re-login after adding to .bashrc then run the following (same) command in the current session.

export PYTHONPATH=/usr/local/lib/python3/dist-packages

Installation from source

cd ~
git clone https://gitlab.com/librespacefoundation/satnogs/satnogs-flowgraphs.git
cd satnogs-flowgraphs
mkdir build
cd build
cmake ..
make
sudo make install

Setup User Environment & SatNOGS Client

Configure SatNOGS Client (yes, it's different)

Configure System Services

Device Blacklisting


code goes here