capify command not found

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

Introduction

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

capify: command not found

or when using sudo you get the following error message

sudo: capify: command not found

Solutions to capify: command not found

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

In Ubuntu capify is provided by capistrano package.

capistrano is:

Capistrano is great for automating tasks via SSH on remote servers, like software installation, application deployment, configuration management, ad hoc server monitoring, and more. Ideal for system administrators, whether professional or incidental. Easy to customize. Its configuration files use the Ruby programming language syntax, but you don’t need to know Ruby to do most things with Capistrano.

Capistrano is easy to extend. It’s written in the Ruby programming language, and may be extended easily by writing additional Ruby modules.

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

sudo apt-get -y install capistrano

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

You can also use apt command to install capistrano.

sudo apt -y install capistrano

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

sudo aptitude install capistrano

Summary

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