rustdoc-stripper command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
rustdoc-stripper: command not found
or when using sudo you get the following error message
sudo: rustdoc-stripper: command not found
Solutions to rustdoc-stripper: command not found
How To Fix rustdoc-stripper: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu rustdoc-stripper is provided by rustdoc-stripper package.
rustdoc-stripper is:
rustdoc-stripper is a tool used to remove rustdoc comments from your code and save them in a comments.cmts file if you want to regenerate them.
This package contains the following binaries built from the Rust crate “rustdoc-stripper”:
- rustdoc-stripper
To fix this problem, we can install more using the command below.
sudo apt-get -y install rustdoc-stripper
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install rustdoc-stripper.
sudo apt -y install rustdoc-stripper
Or if you have aptitude installed you can use the following command.
sudo aptitude install rustdoc-stripper
Summary
In this tutorial we learn how to fix rustdoc-stripper command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.