Catbird Linux: Source Code

HOME Tips and Tricks Downloads Bug Fixes


Catbird 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 Catbird Linux:

Alpha Vantage
Beautiful Soup
fzf
iexfinance
lf
Matplotlib
Neovim
Nano Syntax Highlights
Pandas Datareader
pistol
powerline-go
PRAW
pyEX
Quandl-Python
Requests-HTML
ripgrep
Scrapy
Selenium
Surfraw
Tweepy
Twint
WorldWeather

The majority of binary files in Catbird 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/ focal main
deb-src http://archive.ubuntu.com/ubuntu/ focal 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.

Catbird 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 Catbird Linux sources, visit Catbird Linux on Github.




© 2020 - 2024 Catbirdlinux.com, All Rights Reserved.
Written and curated by WebDev Philip C.
Contact, Privacy Policy and Affiliate Disclosure, XML Sitemap.
This website is reader-supported. As an Amazon affiliate, I earn from qualifying purchases.