pxnw command not found

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

Introduction

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

pxnw: command not found

or when using sudo you get the following error message

sudo: pxnw: command not found

Solutions to pxnw: command not found

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

In Ubuntu pxnw is provided by phyx package.

phyx is:

phyx provides a convenient, lightweight and inclusive toolkit consisting of programs spanning the wide breadth of programs utilized by researchers performing phylogenomic analyses. Modeled after Unix/GNU/Linux command line tools, individual programs perform a single task and operate on standard I/O streams. A result of this stream-centric approach is that, for most programs, only a single sequence or tree is in memory at any moment. Thus, large datasets can be processed with minimal memory requirements. phyx’s ever-growing complement of programs consists of over 35 programs focused on exploring, manipulating, analyzing and simulating phylogenetic objects (alignments, trees and MCMC logs). As with standard Unix command line tools, these programs can be piped (together with non-phyx tools), allowing the easy construction of efficient analytical pipelines.

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

sudo apt-get -y install phyx

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

You can also use apt command to install phyx.

sudo apt -y install phyx

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

sudo aptitude install phyx

Summary

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