LoginSignup
1
5

More than 3 years have passed since last update.

gnuplotをwslで使用する方法

Last updated at Posted at 2020-06-27

WSLのinstall

コンパネを開く

・プログラム
・プログラムと機能
・Windowsの機能の有効かまたは無効化

Windows Subsystem for Linuxを有効☑にする。すぐに再起動が始まる。

MSのオンラインストアからUnunbtuを検索&インストールする。

Ubuntuを起動して、user name, pass wordを設定する。

Xサーバー

VcXsrvというソフトをインストールする。

実行ファイルを起動してデフォルト設定で完了まで「次へ」を押す

windows key + r
を押して,
shell:startup
と入力し、開いたフォルダに作成したファイルを入れてやる。
これで毎回windowが起動すると、Xserverが立ち上がるようになる。

Ubuntu側の設定

~/.bashrc
に以下を記述
DISPLAY=:00

gnuplotのinstall

下書コマンドでinstall

sudo apt-get install gnuplot-x11
もしくは
sudo apt-get install gnuplot

1
5
1

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
1
5