LoginSignup
0
0

More than 5 years have passed since last update.

root権限なしでGraphvizをインストールする.

Last updated at Posted at 2017-09-04

root権限がない環境でGraphviz1をインストールする方法です.

作業手順

mkdir ~/usr
wget http://www.graphviz.org/pub/graphviz/stable/SOURCES/graphviz-2.40.1.tar.gz
tar xvzf graphviz-2.40.1.tar.gz
cd graphviz-2.40.1
./configure --prefix=$HOME/usr
make
make install

動作検証

hello.dotとしてdotファイルを作成する.

graph g {
    "hello world"
}

下記コマンドでグラフを作成する.

~/usr/bin/dot -T png hell.dot -o hello.png

無事hello.pngができていれば成功です.

image.png

References

0
0
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
0
0