procan command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
procan: command not found
or when using sudo you get the following error message
sudo: procan: command not found
Solutions to procan: command not found
How To Fix procan: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu procan is provided by socat package.
socat is:
Socat (for SOcket CAT) establishes two bidirectional byte streams and transfers data between them. Data channels may be files, pipes, devices (terminal or modem, etc.), or sockets (Unix, IPv4, IPv6, raw, UDP, TCP, SSL). It provides forking, logging and tracing, different modes for interprocess communication and many more options.
It can be used, for example, as a TCP relay (one-shot or daemon), as an external socksifier, as a shell interface to Unix sockets, as an IPv6 relay, as a netcat and rinetd replacement, to redirect TCP-oriented programs to a serial line, or to establish a relatively secure environment (su and chroot) for running client or server shell scripts inside network connections. Socat supports sctp as of 1.7.0.
To fix this problem, we can install more using the command below.
sudo apt-get -y install socat
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install socat.
sudo apt -y install socat
Or if you have aptitude installed you can use the following command.
sudo aptitude install socat
Summary
In this tutorial we learn how to fix procan command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.