Skywave Linux: Get the Source Code

Skywave Linux uses open source software, licensed under the GPL, and has a responsibility to make the underlying source code available to users. As a user of these software packages, you have the right to obtain, study, and modify, and share the source code. Listed below are links to the source used for creating Skywave Linux:

ACARSDEC
Bitmask
CHIRP
CubicSDR
cudaSDR
dump1090 (MalcomRobb)
dump1090 (SDRPlay)
DumpVDL2
Firefox
Gr-Osmosdr-Gqrx
Lantern
libairspy
libmirisdr-4
rtl-sdr (AB9IL)
librtlsdr (N1GP)
librtlsdr (Keenerd)
Liquid DSP
OpenWebRX
Psiphon
Osmocom RTL-SDR
RTLSDR-Airband
QtRadio
Redsea
Rx_tools
SDRTrunk
SoapyAudio
SoapyOsmo
SoapyRTLSDR
SoapySDR
SoapySDRPlay
SDRPlayPorts
WSJT-X
WSPR-X

The vast majority of binary files in Skywave Linux come from Ubuntu repositories. Downloading the source code for any or all of the packages from the repositories is quite easy. As a prerequisite, make sure that the source code repositories are enabled for the sources in /etc/apt/sources.list and also the special repositories listed in the folder /etc/apt/sources.list.d. For every "deb" line, there must be a corresponding uncommented "deb-src" line:

deb http://archive.ubuntu.com/ubuntu/ xenial main
deb-src http://archive.ubuntu.com/ubuntu/ xenial main

You can retrieve the source code for any particular package with the following command, executed as a normal user:

apt-get source package-name

To get source for all of the packages downloaded from the repositories, you could repeat the above command thousands of times. Instead, use a simple script to get the sources. The code is given below, or you can download getsource.sh here.

#!/bin/bash
# Download source from repositories
# enabled on this system.

echo "To get source for installed applications, press [ENTER] to execute..."
read line

mkdir source
cd source
dpkg --get-selections | while read line
do
        package=`echo $line | awk '{print $1}'`
        mkdir $package
        cd $package
        apt-get -q source $package
        cd ..
done

Make the script executable:

chmod a+x getsource.sh

Give the command to execute the script:

./getsource.sh

The script will make a source directory and download the source code into it. On a low bandwidth connection, it could take a while to complete its tasks.

Skywave Linux uses scripts and modified configuration files for integrating operation of the various software packages, increasing user convenience, and enhancing system performance. To access the specific Skywave Linux sources, visit Skywave Linux on Github.


Tags:skywave linux source code, github, ubuntu sources, source code from ppa
©2015-2017 Skywavelinux.com, All Rights Reserved.
Contact Us, Privacy Policy, XML Sitemap.