wp-setup command not found

In this troubleshooting guide we learn how to fix wp-setup command not found error message

Introduction

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

wp-setup: command not found

or when using sudo you get the following error message

sudo: wp-setup: command not found

Solutions to wp-setup: command not found

How To Fix wp-setup: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu wp-setup is provided by wordpress package.

wordpress is:

WordPress is a full featured web blogging tool: * Instant publishing (no rebuilding) * Comment pingback support with spam protection * Non-crufty URLs * Themable * Plugin support

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

sudo apt-get -y install wordpress

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

You can also use apt command to install wordpress.

sudo apt -y install wordpress

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

sudo aptitude install wordpress

Summary

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