root権限なしでGraphvizをインストールする.
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ができていれば成功です.
References
Author And Source
この問題について(root権限なしでGraphvizをインストールする.), 我々は、より多くの情報をここで見つけました https://qiita.com/namakemono/items/d71a302d8db394ed7089著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .