7
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Macbookにhomebrewを使わないでgnuplotをインストールする

Posted at

macbookにgnuplotをインストールしました。
多くの記事ではAquaTermとX11をインストール後(インストール方法は簡単でわかりやすい記事がたくさんあるのでそちらを参考にしてください)、

$ brew install gnuplot -–with-aquaterm --with-x11

で難なくインストールが完了するようですが、稀に

Error: invalid option: -–with-aquaterm

とエラーが出てしまう人がいるみたいです。どうやらインストールしたはずのAquaTermがhomebrewから見えていないのが原因であるようですが、どうやったらhomebrewから見えるようになるのか自分は知らなかったため(初学者でお恥ずかしい限りです。ご存知の方教えていただけたら嬉しいです)、ソースからgnuplotをインストールすることにしました。

以下のページからgnuplotをダウンロードします
https://sourceforge.net/projects/gnuplot/files/gnuplot/

downloadsディレクトリにダウンロードされましたので、

$ cd ~/downloads/gnuplot-5.2.5
$ ./configure --with-readline=builtin --with-aquaterm
$ make
$ sudo make install

とします。これで無事gnuplotが使えるようになりました。

7
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?