Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi,
I want to install Xmind 8. All I have is a install script and no istructions how to use it. Also I would like to know what it does before I install it.
comments:
I have openjdk 11 installed. Do I really need to install openjdk-8-jre?
Where is the program installed? I remember before I have had this program and I had problems with it and ended up installing it under my home folder to alleviate the problems. Is there a way to fix so it installs in my home folder this time as well?
script:
Code:
#!/bin/bash
set -e
SCRIPT_NAME="$0"
SCRIPT_DIR="$(cd "$(dirname "$SCRIPT_NAME")" && pwd)"
echo "[setup] Installing dependencies...."
apt-get install openjdk-8-jre libgtk2.0-0 libwebkitgtk-1.0-0 lame libc6 libglib2.0-0
FONTS_DIR="$SCRIPT_DIR/fonts"
if [ -d "$FONTS_DIR" ]; then
echo "[setup] Installing custom fonts...."
mkdir -p /usr/share/fonts/truetype/xmind
rsync -av "$FONTS_DIR/" /usr/share/fonts/truetype/xmind/
fc-cache -f
else
echo "[setup] WARNING: Custom fonts for XMind are not found."
fi
echo "[setup] Done."
Hi,
I want to install Xmind 8. All I have is a install script and no istructions how to use it.
Did you read the documentation on their website?
Quote:
Also I would like to know what it does before I install it.
comments:
I have openjdk 11 installed. Do I really need to install openjdk-8-jre?
Where is the program installed? I remember before I have had this program and I had problems with it and ended up installing it under my home folder to alleviate the problems. Is there a way to fix so it installs in my home folder this time as well? script:
Code:
#!/bin/bash
set -e
SCRIPT_NAME="$0"
SCRIPT_DIR="$(cd "$(dirname "$SCRIPT_NAME")" && pwd)"
echo "[setup] Installing dependencies...."
apt-get install openjdk-8-jre libgtk2.0-0 libwebkitgtk-1.0-0 lame libc6 libglib2.0-0
FONTS_DIR="$SCRIPT_DIR/fonts"
if [ -d "$FONTS_DIR" ]; then
echo "[setup] Installing custom fonts...."
mkdir -p /usr/share/fonts/truetype/xmind
rsync -av "$FONTS_DIR/" /usr/share/fonts/truetype/xmind/
fc-cache -f
else
echo "[setup] WARNING: Custom fonts for XMind are not found."
fi
echo "[setup] Done."
Confused about this entire question, mainly because the latest Xmind is available as both a snap package, and as a Debian RPM..why load the old version?
And the script you posted can't be much more simple. All it's doing is installing any GTK packages it may need, the older version of JRE (that it NEEDS to run), and loading fonts. The program itself is a binary.
Hehehe... they have really succeeded in their marketing.
To my knowledge, and I have been using Xmind since 2013, there is two versions. https://support.xmind.net/hc/en-us/a...d-XMind-8-Pro- (summation from xmind themself)
One is called Xmind 8. It is the one that they were developing for some time perhaps 10-15 years, 8 being the version number of it.
Then perhaps 2019 they started to develop a light version with a lot of bling but less substance that they called xmind zen.
Very sleek. I think they plan on generating more money with it because it is a subscription.
They push it hard. making it available in snap and so on.
It was even hard for me to get xmind 8 to download. I could not find it on their homepage, needed to google it.
So no it is not an old version. I would say, to my knowledge if they have not updated xmind zen (now called xmind 2021) a lot it is like comparing wordpad and word, word being Xmind 8.
I have not found any documentation on their webpage. Before they had a mindmap of how to do it in linux. It had some errors so after a whole day of trying to install it I got it to work the last time.
Yes some of it was straight forward. but I did not want to spend a whole day trying to install it and I do not understand:
Code:
set -e
SCRIPT_NAME="$0"
SCRIPT_DIR="$(cd "$(dirname "$SCRIPT_NAME")" && pwd)"
Last edited by Johannes33; 08-17-2021 at 04:18 PM.
Hehehe... they have really succeeded in their marketing.
No, they just have a website.
Quote:
To my knowledge, and I have been using Xmind since 2013, there is two versions. https://support.xmind.net/hc/en-us/a...d-XMind-8-Pro- (summation from xmind themself)
One is called Xmind 8. It is the one that they were developing for some time perhaps 10-15 years, 8 being the version number of it. Then perhaps 2019 they started to develop a light version with a lot of bling but less substance that they called xmind zen. Very sleek. I think they plan on generating more money with it because it is a subscription.
And according to their website, Xmind8 was ALSO a subscription-available. Same software, just updated, still free to use as far as I can see.
Quote:
They push it hard. making it available in snap and so on.
...and with RPM's, versus pre-compiled binaries. Both of which are easier to install.
Quote:
It was even hard for me to get xmind 8 to download. I could not find it on their homepage, needed to google it.
That's hard to believe, since just scrolling down on their webpage clearly has an "Xmind 8 (classic)" link, which has both a free-download and a "Buy now" link.
Quote:
So no it is not an old version. I would say, to my knowledge if they have not updated xmind zen (now called xmind 2021) a lot it is like comparing wordpad and word, word being Xmind 8.
While it's updated, it is NOT their current version.
Quote:
I have not found any documentation on their webpage.
They have an entire support forum, along with FAQ's, user guides, etc. on their site.
Quote:
Before they had a mindmap of how to do it in linux. It had some errors so after a whole day of trying to install it I got it to work the last time. Yes some of it was straight forward. but I did not want to spend a whole day trying to install it and I do not understand:
Code:
set -e
SCRIPT_NAME="$0"
SCRIPT_DIR="$(cd "$(dirname "$SCRIPT_NAME")" && pwd)"
After working with Linux for six years, basic shell scripting should be something you've at least looked at. Any bash scripting guide can tell you the 'set -e" stops execution if a command or pipeline has an error. The other two are setting variables.
Again, all that script does is download some packages, and copy fonts. Again, their latest version is in RPM, DEB, and Snap packages...installable with a single command. Can't get much simpler.
I have openjdk 11 installed. Do I really need to install openjdk-8-jre?
Speaking generally, software written for a v8 JVM might still run on a v11 JVM, but is not guaranteed because there have been breaking changes (details here).
Nothing wrong with having both 8 and 11 installed.
I did not want to spend a whole day trying to install it and I do not understand:
Code:
set -e
SCRIPT_NAME="$0"
SCRIPT_DIR="$(cd "$(dirname "$SCRIPT_NAME")" && pwd)"
Neither do I, so you are very lucky that I encountered this construct before - it makes very sure that SCRIPT_DIR is the directory where the current script resides, and cd's into it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.