Got Stuck When Installing Octave in High Sierra I've tried to install Octave using homebrew by using this command:
brew install octave.
But after make sign, I got stuck and nothing happened more than a half hour.

➜  ~ brew install octave
==&gt; Installing dependencies for octave: gcc, veclibfort, arpack, jpeg, libtiff, little-cms2, ghostscript, epstool, fftw, cmake, jasper, netpbm, fig2dev, fltk, freetype, fontconfig, gl2ps, glpk, webp, gd, lua, gnuplot, graphicsmagick, szip, hdf5, flac, libogg, libvorbis, libsndfile, pcre, portaudio, plotutils, xz, imagemagick, pstoedit, qhull, qrupdate, metis, suite-sparse
==&gt; Installing octave dependency: gcc
==&gt; Downloading https://ftp.gnu.org/gnu/gcc/gcc-8.1.0/gcc-8
Already downloaded: /Users/asrulsibaoel/Library/Caches/Homebrew/gcc-8.1.0.tar.xz
==&gt; ../configure --build=x86_64-apple-darwin17.4.0 --prefix
==&gt; make


How can I solve this?
The installation appears to be waiting on installing gcc. Take the following measures one by one.


If the installation is still stuck at make, cancel it by pressing Control + c.
Enter brew cleanup --prune=0 to clear the local cache.
Enter brew update followed by brew upgrade to update the local cache of package repository.
Run brew config and check the output corresponding to CLT: key. It should shaw the version of installed Command Line Tools. If it says NA, install Command Line Tools by executing xcode-select --install.
Once Command Line Tools are done installing, confirm by observing the output of brew config.
Reattempt installation of Octave by running brew install octave.