Debian 8: Install Tiny Tiny RSS

Debian 8 does not have Tiny Tiny RSS package. This article will describe building and installing it.

1 Install mysql-server

Install mysql-server before installing tt-rss.

$ sudo apt install -y mysql-server

Input MySQL password.

0001_MySQL-input-password.png

Confirm MySQL password.

0002_MySQL-confirm-password.png

2 Build tt-rss

Install devscripts for build environment.

$ sudo apt install -y devscripts

Create work directory.

$ mkdir tt-rss
$ cd tt-rss

Download tt-rss archives.

$ TT_RSS=http://archive.ubuntu.com/ubuntu/pool/universe/t/tt-rss
$ wget ${TT_RSS}/tt-rss_15.7+git20151123+dfsg-5.debian.tar.xz
$ wget ${TT_RSS}/tt-rss_15.7+git20151123+dfsg-5.dsc
$ wget ${TT_RSS}/tt-rss_15.7+git20151123+dfsg.orig.tar.xz

Extract archives.

$ tar xf tt-rss_15.7+git20151123+dfsg.orig.tar.xz
$ cd tt-rss
$ tar xf ../tt-rss_15.7+git20151123+dfsg-5.debian.tar.xz

Install packages for building tt-rss.

$ sudo apt install -y `dpkg-checkbuilddeps 2>&1 | \
sed -e 's/.*build dependencies://g' -e 's/([^)]*)//g'`

Change php-xxx to php5-xxx. php-mbstring and php-xml are built-in of libapache2-mod-php5.

$ sed -i -e 's/php-cgi/php5-cgi/g' -e 's/php-cli/php5-cli/g' \
    -e 's/php-json/php5-json/g'  -e 's/php-mysql/php5-mysql/g' \
    -e 's/php-xml//g' -e 's/php-mbstring//g' debian/control

Build tt-rss.

$ dpkg-buildpackage -us -uc

3 Install tt-rss

Install tt-rss deb package while installing depend package with running "apt -f install".

$ sudo dpkg -i ../*.deb || (sudo apt -f install -y && sudo dpkg -i ../*.deb)

Configuration dialog is displayed.

0003_tt-rss.png

Input tt-rss database password. This is different from MySQL password.

0004_tt-rss-database.png

Input MySQL password.

0005_MySQL-input-password.png

Input tt-rss database password. This is different from MySQL password.

0006_tt-rss-input-password.png

Confirm tt-rss database password.

0007_tt-rss-confirm-password.png

Select httpd running tt-rss. This article will select apache2. Select apache2 with space key and press Enter key.

0008_tt-rss-httpd.png

Input tt-rss URL. IP address can be used instead of server name.

http://<server>/tt-rss

0009_tt-rss-URL.png

Later configuration is same with Ubuntu 16.04.