news command not found

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

Introduction

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

news: command not found

or when using sudo you get the following error message

sudo: news: command not found

Solutions to news: command not found

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

In Ubuntu news is provided by sysnews package.

sysnews is:

The news command keeps you informed of news concerning the system. Each news item is contained in a separate file in the /var/lib/sysnews directory. Anyone having write permission to this directory can create a news file.

NOTE: This command has nothing to do with USENET news. It’s more like an enhanced motd.

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

sudo apt-get -y install sysnews

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

You can also use apt command to install sysnews.

sudo apt -y install sysnews

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

sudo aptitude install sysnews

Summary

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