metastore command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
metastore: command not found
or when using sudo you get the following error message
sudo: metastore: command not found
Solutions to metastore: command not found
How To Fix metastore: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu metastore is provided by metastore package.
metastore is:
metastore is a tool to store the metadata of files/directories/links in a file tree to a separate file and to later compare and apply the stored metadata to said file tree.
The tool was written as a supplement to git which does not store all metadata, making it unsuitable for e.g. storing /etc in a repo.
metastore can also be helpful in a backup script if you want to create a tarball of a file tree and make sure that “everything” (e.g. xattrs, mtime, owner, group) is stored along with the files.
To fix this problem, we can install more using the command below.
sudo apt-get -y install metastore
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install metastore.
sudo apt -y install metastore
Or if you have aptitude installed you can use the following command.
sudo aptitude install metastore
Summary
In this tutorial we learn how to fix metastore command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.