When I was using gnuplot on Mac, I wanted to add aquaterm, and after researching various things, I couldn't install gnuplot with homebrew if I re-installed gnuplot or reinstalled homebrew.
I want to put gnuplot on my Mac.

I've re-installed homebrew many times, but I get the following error.

Error message
brew install gnuplot
==>Searching for similarly named formulae ...
These similarly named formulae were found:
gnuplot gnuplot @ 4
To install one of them, run (for example):
  brew install gnuplot
Error: No available formula or cask with the name "gnuplot".
==>Searching taps on GitHub ...
Error: No formulae found in taps.
Corresponding source code
Source code
What I tried

Uninstall and install homebrew
brew install gnuplot

Supplementary information (FW/tool version, etc.)

mac OS Catalina 10.15.7

  • Answer # 1

    I was able to solve it myself.
    I was trying to solve it by uninstalling homebrew from the terminal with the command on the official homebrew site and reinstalling it, but this method does not completely delete the related files of homebrew and even if I reinstall it, the original tampering I couldn't solve it because my homebrew file hasn't changed.
    So I deleted all the directories and files under/usr/local and installed homebrew and it worked.