How To Install newscache on Fedora 34

newscache is Free cache server for USENET News

Introduction

In this tutorial we learn how to install newscache on Fedora 34.

What is newscache

NewsCache is a free cache server for USENET News. NewsCache acts to news reading clients like a news server, except that it stores only those articles that have been requested by at least one client. NewsCache targets problems of the current News System like network bandwidth consumption or the IO load caused by news clients.

We can use yum or dnf to install newscache on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install newscache.

Install newscache on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install newscache using dnf by running the following command:

sudo dnf -y install newscache

Install newscache on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install newscache using yum by running the following command:

sudo yum -y install newscache

How To Uninstall newscache on Fedora 34

To uninstall only the newscache package we can use the following command:

sudo dnf remove newscache

newscache Package Contents on Fedora 34

/etc/cron.daily/newscache
/etc/newscache.conf
/etc/pam.d/newscache
/usr/bin/updatenews
/usr/lib/.build-id
/usr/lib/.build-id/1e
/usr/lib/.build-id/1e/0d903658c21ac0ee53f9598db5d28c6317f332
/usr/lib/.build-id/49
/usr/lib/.build-id/49/1d3e5e522ee358d3fbb809f1eac00c56b10eb7
/usr/lib/.build-id/fb
/usr/lib/.build-id/fb/74170766f257e8e13c10a2911b264ac458c027
/usr/lib/systemd/system/newscache.service
/usr/sbin/newscache
/usr/sbin/newscacheclean
/usr/share/doc/newscache
/usr/share/doc/newscache/AUTHORS
/usr/share/doc/newscache/COPYING
/usr/share/doc/newscache/NEWS
/usr/share/doc/newscache/README
/usr/share/doc/newscache/THANKS
/usr/share/doc/newscache/TODO
/usr/share/doc/newscache/newscache-coredump.txt
/usr/share/doc/newscache/newscache-corrupt-db-files.txt
/usr/share/doc/newscache/newscache-debugging.txt
/usr/share/doc/newscache/newscache-pam.txt
/usr/share/doc/newscache/newscache-stunnel-ssl.txt
/usr/share/doc/newscache/newscache.auth-dist
/usr/share/doc/newscache/newscache.conf-dist
/usr/share/man/man5/newscache.conf.5.gz
/usr/share/man/man8/newscache.8.gz
/usr/share/man/man8/newscacheclean.8.gz
/usr/share/man/man8/updatenews.8.gz
/var/cache/newscache

References

Summary

In this tutorial we learn how to install newscache on Fedora 34 using yum and dnf.