XMind-Linux-Installer icon indicating copy to clipboard operation
XMind-Linux-Installer copied to clipboard

dinos 80152 small additon in how to install guide

Open hkale0000 opened this issue 6 years ago • 1 comments

Hi Dinos, Please add this to your code else it gives error

echo "[setup] Installing dependencies...."
sudo apt-get install default-jre libgtk2.0-0 libwebkitgtk-1.0-0 lame libc6 libglib2.0-0

Also following need to be added if we get error while installing dependencies so clean and update

sudo rm /var/lib/apt/lists/* -vf
sudo apt-get clean
sudo apt-get update

If the required directory is not found and gets following error:

Reading package lists… Done Building dependency tree Reading state information… Error! E: Unable to parse package file /var/lib/apt/extended_states (1)

sudo mv /var/lib/apt/extended_states /var/lib/apt/extended_states_tmp

Finally post installation when :

XMind starts but then is aborted just before starting to run

Add following line to following

cd  /opt/xmind/XMind_amd64/
sudo gedit XMind.ini

And append following: --add-modules=java.se.ee OR

-vmargs
--add-modules=java.se.ee
-Dosgi.requiredJavaVersion=1.8
-Xms256m
-Xmx1024m 

I faced above issues and referred above docs here: []( https://askubuntu.com/questions/802415/apt-get-install-not-working-e-read-error-read-5-input-output-error

http://support.xmind.net/customer/portal/questions/17144128-xmind-starts-but-then-is-aborted-just-before-starting-to-run

https://sathyasays.com/2009/11/08/how-to-fix-e-unable-to-parse-package-file-varlibaptextended_states-1-error-in-synaptic-or-apt-get/)

hkale0000 avatar Aug 18 '18 15:08 hkale0000

Hi hkale0000:

This part is already in my bash.

echo "[setup] Installing dependencies...."
sudo apt-get install default-jre libgtk2.0-0 libwebkitgtk-1.0-0 lame libc6 libglib2.0-0

And I'll add the solution of dependencies install error that you provide on README, I think let users decide to clean and update apt-get by themselves is better than write in bash.

For XMind.ini I'll add Java edition and version in bash but let JRE set JVM memory, so it will appends these 2 lines.

--add-modules=java.se.ee
-Dosgi.requiredJavaVersion=1.8

Thanks for your suggestion! it's really helpful and makes this bash better!

dinos80152 avatar Aug 21 '18 10:08 dinos80152