xpython command not found

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

Introduction

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

xpython: command not found

or when using sudo you get the following error message

sudo: xpython: command not found

Solutions to xpython: command not found

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

In Ubuntu xpython is provided by xpython package.

xpython is:

xeus-python uses the xeus library to provide a high-performance, native kernel for running python code in the jupyter notebook, or other frontends using the jupyter messaging protocol.

This package contains the xpython executable and jupyter kernel configuration.

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

sudo apt-get -y install xpython

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

You can also use apt command to install xpython.

sudo apt -y install xpython

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

sudo aptitude install xpython

Summary

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