dot安装和使用
1.安裝
apt-get install graphviz如果報(bào)錯(cuò)說缺少依賴文件,則使用apt自動(dòng)安裝依賴項(xiàng)
apt-get -f install我在安裝中報(bào)錯(cuò):
dpkg: unrecoverable fatal error, aborting:fork failed: Cannot allocate memory重新執(zhí)行安裝命令時(shí),出現(xiàn)新錯(cuò)誤
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.按照提示執(zhí)行
dpkg --configure -a又報(bào)錯(cuò)
Errors were encountered while processing:graphviz:i386網(wǎng)上搜索后,嘗試如下解決
aptitude update報(bào)錯(cuò):
The program 'aptitude' is currently not installed. You can install it by typing: apt install aptitude根據(jù)提示,執(zhí)行
apt install aptitude報(bào)錯(cuò)
You might want to run 'apt-get -f install' to correct these:根據(jù)提示執(zhí)行
apt-get -f install完成,重新安裝 graphviz
apt-get install graphviz成功
?
可見,錯(cuò)誤原因是aptitude沒安裝。
?
2.使用
參考:https://zhuanlan.zhihu.com/p/21993254
https://www.tianmaying.com/tutorial/graphviz
The program 'aptitude' is currently not installed. You can install it by typing:apt install aptitude
?
轉(zhuǎn)載于:https://www.cnblogs.com/yangxinrui/p/10261450.html
總結(jié)
- 上一篇: 聊聊技术写作的个人体会
- 下一篇: Windows Server 2008