commander command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
commander: command not found
or when using sudo you get the following error message
sudo: commander: command not found
Solutions to commander: command not found
How To Fix commander: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu commander is provided by ruby-commander package.
ruby-commander is:
“Commander” bridges the gap between other terminal related libraries you know and love (OptionParser, HighLine), while providing many new features, and an elegant API.
Features: * Easier than baking cookies * Parses options using OptionParser * Auto-populates struct with options: ( no more { |v| options[:recursive] = v } ) * Auto-generates help documentation via pluggable help formatters * Optional default command when none is present * Global / Command level options * Packaged with two help formatters (Terminal, TerminalCompact) * Imports the highline gem for interacting with the terminal * Adds additional user interaction functionality * Highly customizable progress bar with intuitive, simple usage * Multi-word command name support * Sexy paging for long bodies of text * Command aliasing * Use the ‘commander’ executable to initialize a commander driven program
To fix this problem, we can install more using the command below.
sudo apt-get -y install ruby-commander
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install ruby-commander.
sudo apt -y install ruby-commander
Or if you have aptitude installed you can use the following command.
sudo aptitude install ruby-commander
Summary
In this tutorial we learn how to fix commander command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.