mkrc command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
mkrc: command not found
or when using sudo you get the following error message
sudo: mkrc: command not found
Solutions to mkrc: command not found
How To Fix mkrc: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu mkrc is provided by rcm package.
rcm is:
rcm is a suite of tools to manage rc files (dotfiles). The tools keep dotfiles in a single directory, managing symlinks to them from (or copies of them in) other directories. rcm supports tagging rc files and splitting them by hostname. It also can generate a bootstrapping script for use a new machine.
To fix this problem, we can install more using the command below.
sudo apt-get -y install rcm
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install rcm.
sudo apt -y install rcm
Or if you have aptitude installed you can use the following command.
sudo aptitude install rcm
Summary
In this tutorial we learn how to fix mkrc command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.