get-publicfile command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
get-publicfile: command not found
or when using sudo you get the following error message
sudo: get-publicfile: command not found
Solutions to get-publicfile: command not found
How To Fix get-publicfile: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu get-publicfile is provided by publicfile-installer package.
publicfile-installer is:
Publicfile is an HTTP and FTP server, written by Daniel J. Bernstein in 1999; it didn’t change a lot after that. Modern features are not supported. However, if you’re looking for a small, simple and secure webserver, which integrates with the runit and daemontools UNIX service managers, publicfile will suit your needs.
This installer package downloads the publicfile .tar.gz file from the upstream website, combines it with Debian packaging information from the package maintainer’s website; then builds a publicfile Debian package, and installs that. When installing this installer package, one is given the option to postpone downloading and installing publicfile.
To fix this problem, we can install more using the command below.
sudo apt-get -y install publicfile-installer
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install publicfile-installer.
sudo apt -y install publicfile-installer
Or if you have aptitude installed you can use the following command.
sudo aptitude install publicfile-installer
Summary
In this tutorial we learn how to fix get-publicfile command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.