newsq command not found

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

Introduction

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

newsq: command not found

or when using sudo you get the following error message

sudo: newsq: command not found

Solutions to newsq: command not found

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

In Ubuntu newsq is provided by leafnode package.

leafnode is:

Leafnode is a news server suitable for small, limited-bandwidth sites with only a few users (’leaf’ sites). It keeps track of which groups are being read, and downloads only articles in those groups. Leafnode has been designed to require no maintenance and to be easy to set up.

Perl is required to use some optional features of the package for handling very low volume newsgroups.

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

sudo apt-get -y install leafnode

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

You can also use apt command to install leafnode.

sudo apt -y install leafnode

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

sudo aptitude install leafnode

Summary

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