How to install Newsbeuter command-line RSS reader on Linux

Question: I want to try Newsbeuter RSS reader. How can I install Newsbeuter on [Debian, Ubuntu, CentOS, Fedora or RHEL]?

Newsbeuter is a command-line RSS feed reader designed to access RSS/Atom feeds in a terminal environment. Used together with a text-mode web browser such as elinks, lynx or w3m, Newsbeuter allows you to read RSS/Atom feeds without any graphical desktop environment, such as on a headless server. As shown below its user-friendly interface is inspired by ncurses-based Mutt/ELM email clients.

Here is how to install Newsbeuter on various Linux distributions.

Install Newsbeuter on Debian, Ubuntu or Linux Mint

Newsbeuter is available in base repositories of Debian-based systems. So its installation is as easy as running:

$ sudo apt-get install newsbeuter

Install Newsbeuter on Fedora

Newsbeuter is available in Fedora's base repositories. So simply use dnf command to install it.

$ sudo dnf install newsbeuter

Install Newsbeuter on CentOS or RHEL 6 or earlier

For CentOS/RHEL 6 or earlier, Newsbeuter is available from Repoforge repository. Thus, first enable Repoforge on your system if you haven't done so. Then use yum command to install it.

$ sudo yum install newsbeuter

Install Newsbeuter on CentOS or RHEL 7 or higher

For CentOS/RHEL 7 or higher, you will need to build Newsbeuter from the source as follows.

First, install prerequisites using yum:

$ sudo yum install pkgconfig curl-devel sqlite-devel libxml2-devel json-c-devel ncurses-devel

Then install stfl from the source:

$ wget http://www.clifford.at/stfl/stfl-0.24.tar.gz
$ tar -xf stfl-0.24.tar.gz
$ cd stfl-0.24
$ make
$ sudo make install

Update the shared library cache to include stfl library:

$ sudo sh -c "echo '/usr/local/lib' >> /etc/ld.so.conf.d/usr-local.conf"
$ sudo ldconfig -v

Finally compile and install Newsbeuter as follows.

$ wget http://newsbeuter.org/downloads/newsbeuter-2.9.tar.gz
$ tar -xf newsbeuter-2.9.tar.gz
$ cd newsbeuter
$ export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/
$ make
$ sudo make install
Download this article as ad-free PDF (made possible by your kind donation): 
Download PDF

Subscribe to Ask Xmodulo

Do you want to receive Linux related questions & answers published at Ask Xmodulo? Enter your email address below, and we will deliver our Linux Q&A straight to your email box, for free. Delivery powered by Google Feedburner.


Support Xmodulo

Did you find this tutorial helpful? Then please be generous and support Xmodulo!

Leave a comment

Your email address will not be published. Required fields are marked *