trn4 command not found

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

Introduction

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

trn4: command not found

or when using sudo you get the following error message

sudo: trn4: command not found

Solutions to trn4: command not found

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

In Ubuntu trn4 is provided by trn4 package.

trn4 is:

trn is a threaded news reader with a long history, descended from Larry Wall’s rn (part of the second generation of newsreaders). It has a powerful full screen text mode user interface, where most actions are available at the press of a single key. It is highly configurable.

This version of trn reads news from a news server via NNTP (the Network News Transfer Protocol). You must have a news server available - large sites usually provide a site-wide server.

If you install a news server on your system (either containing just local newsgroups or with a partial or full USENET feed) you can configure trn to access it. In this case you will also need to install an appropriate ‘inews’ package for local posting.

This is a separate package from trn because trn 4.0 has enough substantial changes in its default behaviour (for instance, the group selector is new in 4.0) that some users prefer to stay with an older version of trn.

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

sudo apt-get -y install trn4

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

You can also use apt command to install trn4.

sudo apt -y install trn4

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

sudo aptitude install trn4

Summary

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