tcp_relay command not found

In this troubleshooting guide we learn how to fix tcp_relay command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

tcp_relay: command not found

or when using sudo you get the following error message

sudo: tcp_relay: command not found

Solutions to tcp_relay: command not found

How To Fix tcp_relay: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu tcp_relay is provided by knews package.

knews is:

Knews is an X11 based thread-oriented news reader. It is capable of representing threads as a graphical tree, represents quotations with different colors and much more.

Also included here is knewsd, a tiny NNTP daemon which can read news from a spool directory or even from a mail folder hierarchy, for use when you don’t have a real server available. There is no guarantee that it will work with any client other than knews, so it is not packaged separately.

To fix this problem, we can install more using the command below.

sudo apt-get -y install knews

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install knews.

sudo apt -y install knews

Or if you have aptitude installed you can use the following command.

sudo aptitude install knews

Summary

In this tutorial we learn how to fix tcp_relay command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.