SDR: gqrx Ubuntu 12.04: Difference between revisions

From OnnoCenterWiki
Jump to navigationJump to search
Onnowpurbo (talk | contribs)
New page: Building gqrx ubuntu 12.04LTS Contents 1 Preperation 2 Building and Installing GNURadio 3 Building and Installing rtl_sdr 4 Building and Installing gr_osmoSDR 5 Buildi...
 
Onnowpurbo (talk | contribs)
No edit summary
Line 1: Line 1:
Building gqrx ubuntu 12.04LTS
Contents


    1 Preperation
==Preperation==
    2 Building and Installing GNURadio
    3 Building and Installing rtl_sdr
    4 Building and Installing gr_osmoSDR
    5 Building and installing gqrx
 
Preperation


First I made a directory to put everything in and entered that directory.
First I made a directory to put everything in and entered that directory.


mkdir SDR
mkdir SDR
cd SDR
cd SDR


Some packages will need to be installed to compile everything.
Some packages will need to be installed to compile everything.


sudo apt-get install cmake swig libcppunit-dev python-cheetah doxygen \
sudo apt-get install cmake swig libcppunit-dev python-cheetah doxygen \
libboost-all-dev python-sphinx fftw3-dev python-numpy libqwt-dev \
libboost-all-dev python-sphinx fftw3-dev python-numpy libqwt-dev \
libusb++-dev libusb-dev libusb-1.0-0-dev libgsl0-dev python-wxgtk2.6
libusb++-dev libusb-dev libusb-1.0-0-dev libgsl0-dev python-wxgtk2.6


Building and Installing GNURadio
Building and Installing GNURadio
Line 25: Line 17:
Next clone the repo and enter its new directory.
Next clone the repo and enter its new directory.


git clone git://gnuradio.org/gnuradio
git clone git://gnuradio.org/gnuradio
cd gnuradio
cd gnuradio


Now make a build directory, enter it, and create the build environment.
Now make a build directory, enter it, and create the build environment.


mkdir build
mkdir build
cd build
cd build
cmake ../
cmake ../


Now build and install GNURadio
Now build and install GNURadio


make
make
sudo make install
sudo make install
sudo ldconfig
sudo ldconfig


Building and Installing rtl_sdr
==Building and Installing rtl_sdr==


Now go back to the SDR directory and clone the rtl_sdr repo
Now go back to the SDR directory and clone the rtl_sdr repo


cd ../../
cd ../../
git clone git://git.osmocom.org/rtl-sdr.git
git clone git://git.osmocom.org/rtl-sdr.git


Now enter the directory, create the build directory, and create the rtl_sdr build environment.
Now enter the directory, create the build directory, and create the rtl_sdr build environment.


cd rtl-sdr/
cd rtl-sdr/
mkdir build
mkdir build
cd build
cd build
cmake ../
cmake ../


Time to build and install rtl-sdr
Time to build and install rtl-sdr


make
make
sudo make install
sudo make install
sudo ldconfig
sudo ldconfig


This package includes some important udev rules, so lets take care of them now.
This package includes some important udev rules, so lets take care of them now.


sudo cp rtl-sdr.rules /etc/udev/rules.d/40-basic-permissions.rules
sudo cp rtl-sdr.rules /etc/udev/rules.d/40-basic-permissions.rules


After copying these over you need to unplug and replug the dongle.
After copying these over you need to unplug and replug the dongle.
Line 69: Line 61:
Now go back to the SDR directory and clone the gr_osmoSDR repo
Now go back to the SDR directory and clone the gr_osmoSDR repo


cd ../../
cd ../../
git clone git://git.osmocom.org/gr-osmosdr
git clone git://git.osmocom.org/gr-osmosdr


Now enter the directory, create the build directory, and create the gr-osmosdr build environment.
Now enter the directory, create the build directory, and create the gr-osmosdr build environment.


cd gr-osmosdr/
cd gr-osmosdr/
mkdir build
mkdir build
cd build/
cd build/
cmake ../ -Wno-dev
cmake ../ -Wno-dev


Time to build and install gr_osmoSDR
Time to build and install gr_osmoSDR


make
make
sudo make install
sudo make install
sudo ldconfig
sudo ldconfig


Building and installing gqrx
Building and installing gqrx
Line 89: Line 81:
Now go back to the SDR directory and clone the gqrx repo
Now go back to the SDR directory and clone the gqrx repo


cd ../../
cd ../../
git clone https://github.com/csete/gqrx.git
git clone https://github.com/csete/gqrx.git


Now enter the directory and load the project in qtcreator
Now enter the directory and load the project in qtcreator


cd gqrx
cd gqrx
qtcreator ./gqrx.pro
qtcreator ./gqrx.pro


To build the package click Build->Build All. After the build finishes plug in your SDR and go into the build directory to execute gqrx.
To build the package click Build->Build All. After the build finishes plug in your SDR and go into the build directory to execute gqrx.


cd ../gqrx-build-desktop-Qt_4_8_1_in_PATH__System__Release/
cd ../gqrx-build-desktop-Qt_4_8_1_in_PATH__System__Release/
./gqrx
./gqrx


You should be up and running now.
You should be up and running now.
==Pranala Menarik==

Revision as of 02:22, 15 October 2012

Preperation

First I made a directory to put everything in and entered that directory.

mkdir SDR
cd SDR

Some packages will need to be installed to compile everything.

sudo apt-get install cmake swig libcppunit-dev python-cheetah doxygen \
libboost-all-dev python-sphinx fftw3-dev python-numpy libqwt-dev \
libusb++-dev libusb-dev libusb-1.0-0-dev libgsl0-dev python-wxgtk2.6

Building and Installing GNURadio

Next clone the repo and enter its new directory.

git clone git://gnuradio.org/gnuradio
cd gnuradio

Now make a build directory, enter it, and create the build environment.

mkdir build
cd build
cmake ../

Now build and install GNURadio

make
sudo make install
sudo ldconfig

Building and Installing rtl_sdr

Now go back to the SDR directory and clone the rtl_sdr repo

cd ../../
git clone git://git.osmocom.org/rtl-sdr.git

Now enter the directory, create the build directory, and create the rtl_sdr build environment.

cd rtl-sdr/
mkdir build
cd build
cmake ../

Time to build and install rtl-sdr

make
sudo make install
sudo ldconfig

This package includes some important udev rules, so lets take care of them now.

sudo cp rtl-sdr.rules /etc/udev/rules.d/40-basic-permissions.rules

After copying these over you need to unplug and replug the dongle. Building and Installing gr_osmoSDR

Now go back to the SDR directory and clone the gr_osmoSDR repo

cd ../../
git clone git://git.osmocom.org/gr-osmosdr

Now enter the directory, create the build directory, and create the gr-osmosdr build environment.

cd gr-osmosdr/
mkdir build
cd build/
cmake ../ -Wno-dev

Time to build and install gr_osmoSDR

make
sudo make install
sudo ldconfig

Building and installing gqrx

Now go back to the SDR directory and clone the gqrx repo

cd ../../
git clone https://github.com/csete/gqrx.git

Now enter the directory and load the project in qtcreator

cd gqrx
qtcreator ./gqrx.pro

To build the package click Build->Build All. After the build finishes plug in your SDR and go into the build directory to execute gqrx.

cd ../gqrx-build-desktop-Qt_4_8_1_in_PATH__System__Release/
./gqrx

You should be up and running now.


Pranala Menarik