rbenv command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
rbenv: command not found
or when using sudo you get the following error message
sudo: rbenv: command not found
Solutions to rbenv: command not found
How To Fix rbenv: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu rbenv is provided by rbenv package.
rbenv is:
rbenv lets you easily switch between multiple versions of Ruby. It’s simple, unobtrusive, and follows the UNIX tradition of single-purpose tools that do one thing well.
To fix this problem, we can install more using the command below.
sudo apt-get -y install rbenv
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install rbenv.
sudo apt -y install rbenv
Or if you have aptitude installed you can use the following command.
sudo aptitude install rbenv
Summary
In this tutorial we learn how to fix rbenv command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.