个人非常喜欢freemind软件,该软件在ubuntu19.10上不能直接使用sudo apt-get install freemind命令直接安装,很不方便。而使用源码方式安装,里面却有很多坑,为此折腾了几个小时。面记录下面以备后查

环境

系统:ubuntu19.10-x64

软件:

  • ant: Apache Ant(TM) version 1.10.6 compiled on July 11 2019
  • freemind: freemind-src-1.0.1.tar.gz
  • java:openjdk version “1.8.0_232”

1、安装前先安装必须软件,sudo apt-get install ant libcanberra-gtk-module, 下载 freemind-src-1.0.1.tar.gz,并解压到 Document 目录下,如下

  1. albter@tyrone:~/Documents/freemind$ ls
  2. accessories doc images Resources_bg.properties Resources_gl.properties Resources_pl.properties Resources_vi.properties
  3. build.xml eclipe_templates lib Resources_ca.properties Resources_hr.properties Resources_pt_BR.properties Resources_zh_CN.properties
  4. check_for_duplicate_resources.sh freemind license Resources_cs.properties Resources_hu.properties Resources_pt_PT.properties Resources_zh_TW.properties
  5. de freemind_actions.xsd mac_file_association.xslt Resources_da.properties Resources_id.properties Resources_ro.properties tests
  6. dictionaries.properties freemind.bat mindmap_menus.xml Resources_de.properties Resources_it.properties Resources_ru.properties version.properties
  7. dictionary_de.ortho freemind.properties mkdmg.sh Resources_el.properties Resources_ja.properties Resources_se.properties windows-launcher
  8. dictionary_en.ortho freemind.sh patterns_updater.xslt Resources_en.properties Resources_ko.properties Resources_sk.properties
  9. dictionary_es.ortho freemindw.bat patterns.xml Resources_es.properties Resources_lt.properties Resources_sl.properties
  10. dictionary_fr.ortho freemind.xsd plugins Resources_et.properties Resources_nb.properties Resources_sr.properties
  11. dictionary_nl.ortho history.txt readme.txt Resources_eu.properties Resources_nl.properties Resources_tr.properties
  12. dictionary_ru.ortho html Resources_ar.properties Resources_fr.properties Resources_nn.properties Resources_uk_UA.properties

 

 

 

 注意在使用README里面的步骤时不要加sudo,也就是直接在该目录下执行

  • chmod +x *.sh    # 赋予该目录下的sh文件执行权限
  • ant dist
  • ant post
  • ant run    # 运行freemind

2、执行ant dist后会在~/Document下生成bin文件夹,情况如下

  1. albter@tyrone:~/Documents/bin$ ls
  2. classes dist

版权声明:本文为tianzong2019原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://www.cnblogs.com/tianzong2019/p/12107093.html