git-ftp command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
git-ftp: command not found
or when using sudo you get the following error message
sudo: git-ftp: command not found
Solutions to git-ftp: command not found
How To Fix git-ftp: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu git-ftp is provided by git-ftp package.
git-ftp is:
git-ftp is a shell script for uploading Git tracked files to a FTP server. By default, it uploads only those files which have changed since the last upload. This saves time and bandwidth. It can even work with different branches. See manpage for more options.
To fix this problem, we can install more using the command below.
sudo apt-get -y install git-ftp
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install git-ftp.
sudo apt -y install git-ftp
Or if you have aptitude installed you can use the following command.
sudo aptitude install git-ftp
Summary
In this tutorial we learn how to fix git-ftp command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.