Difference between revisions of "Ubuntu14"

From Ghpsdr3 SDR project
Jump to: navigation, search
(Created page with "===== Ubuntu 14.10 ===== First of all, you have to check that the universe repository is enabled. Click on the gear shaped icon (bottom into left side bar): the System Setting...")
(No difference)

Revision as of 12:52, 13 December 2014

Ubuntu 14.10

First of all, you have to check that the universe repository is enabled. Click on the gear shaped icon (bottom into left side bar): the System Settings menu will shown, click on Software Sources and finally check the Community-maintained Open Source Software (universe) tick. Next, submit the following commands into a terminal window:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install \
libusb-0.1-4 \
libusb-dev \
libfftw3-dev \
portaudio19-dev \
libpulse-dev \
libsamplerate0-dev \
libusb-1.0-0-dev \
libconfig8-dev \
xdg-utils \
libortp-dev \
gcc-multilib \
libssl-dev \
libevent-dev \
cmake 

Install Qt5 from Ubuntu repository:

sudo apt-get install qt5-default qt5-qmake qtmobility-dev libqtmultimediakit1

Build and install codec-2:

svn co https://svn.code.sf.net/p/freetel/code/codec2 codec2
cd codec2
mkdir build_linux
cd build_linux
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr ..
make
sudo make install
sudo ldconfig


Download the source code from git:

git clone git://github.com/alexlee188/ghpsdr3-alex


Depending on your Internet connection thorughput, it will take several minute to download.

cd into the new directory ghpsdr3-alex:

cd ghpsdr3-alex
git checkout master

Then:

autoreconf -i && ./configure.sh && make -j4

If this step is unsuccessfull, report on the mailing list providing the text of the error and teh config.log file as found in ghpsdr3-alex/ directory.

Otherwise, install it:

sudo make install

The default configure above builds with debug and default Qt4 version in your PC. For optimized executable, you need to specify options specific to your system. See the sample shell scripts that replaces the above ./configure step:

./alex-conf.sh                  if you have problems finding codec2
./alex-avx-conf.sh              for building with i3,i5 and i7 cpu's supporting Advanced Vector Extensions (AVX)
./alex-openmp-conf.sh           for building with i3,i5 and i7 cpu's and OpenMP support
./alex-sse3-conf.sh             for building with SSE3 capable cpu's
./alex-openmp-sse3-conf.sh      for building with SSE3 cpaable cpu's and OpenMP support