You are here

Installing newsbeuter on a headless server

Today we'll see how to install Newsbeuter on a headless linux server (CentOS or Fedora), since it's a very good tool for reading RSS streams.

  1. Prerequisites (yum)
    First we need to install some system packages :
    yum install -y pkgconfig-devel curl-devel libcurl sqlite-devel.x86_64 libxml2 libxml2-devel
    If available through yum, install ncurses5 otherwise we'll install it later
    yum install -y ncurses5
  2. Prerequisites (manual)
    Here we will install each package one by one, through the old 'make' method with root user

    # cd /usr/local/
    # wget http://www.clifford.at/stfl/stfl-0.22.tar.gz
    # cp /tmp/stfl-0.22.tar .
    # tar xf stfl-0.22.tar
    # cd stfl-0.22
    # time make
    # time make install

    # cd /usr/local/
    # wget http://oss.metaparadigm.com/json-c/json-c-0.9.tar.gz
    # gunzip json-c-0.9.tar.gz
    # tar xf json-c-0.9.tar
    # cd json-c-0.9
    # time ./configure
    # time make
    # time make install

    # echo '/usr/local/lib' >> /etc/ld.so.conf.d/usr-local.conf

    # cd /usr/local
    # wget ftp://invisible-island.net/ncurses/ncurses-5.9.tar.gz
    # gunzip ncurses-5.9.tar.gz
    # tar xf ncurses-5.9.tar
    # cd ncurses-5.9
    # time ./configure --prefix=/usr/local
    # time make
    # time make install
    # cd /usr/local/bin/
    # ln -s ncurses5-config ncursesw5-config

    # ldconfig

  3. Newsbeuter install
    Here you can choose to install with root or your own user.
    $ cd $HOME
    $ mkdir -pv base_newsbeuter
    $ cd base_newsbeuter
    $ wget http://www.newsbeuter.org/downloads/newsbeuter-2.7.tar.gz
    $ tar zxf newsbeuter-2.7.tar.gz

    $ export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/
    $ time make
    $ time make install DESTDIR=$HOME/base_newsbeuter/newsbeuter-2.7_depl

  4. Test
    Just try running newsbeuter from its bin directory..

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer