XMind In OpenSUSE

Installation

Install with deb package

Xmind does not provide a rpm package for Fedora user. you can install xmind in Fedora with debian deb package.
A: download xmind deb package from ‘http://www.xmind.net/downloads/
B: uncompress deb package with ar: “ar -x xmind-x.x.x.xx.deb”
C: Now we get 2 tar.gz package call ‘control.tar.gz’ and ‘data.tar.gz’
D: untar data.tar.gz: “tar xf data.tar.gz”
E: got a ‘usr’ dir in $PWD, cd $PWD/usr/local dir, copy ‘xmind’ dir to ‘/opt/‘, copy ‘share’ dir to ‘/usr’
F: untar control.tar.gz: “tar xf control.tar.gz”
G: got a shell script called ‘postinst’, execute ‘postinst’: “sh postinst”
H: edit ‘/usr/share/applications/xmind.desktop’, change ‘/usr/local’ to ‘/opt’.
I: Done, enjoy your xmind.

Make a RPM Package (Alien)

Install Alien (Need to jump on the Kamikaz Repo of the openSUSE factory):

1
2
3
zypper addrepo http://download.opensuse.org/repositories/home:KAMiKAZOW/openSUSE_Leap_42.1/home:KAMiKAZOW.repo
zypper refresh
zypper install alien

Then convert deb to rpm:

1
2
3
# alien -r --scripts
sudo alien -r -c xmind-7-update1-linux_amd64.deb
sudo zypper in xmind-7-update1-linux_amd64.rpm

TIPS1
if this situation occurs:

1
2
Package build failed. Here's the log of the command (cd xmind-3.6.1; rpmbuild --buildroot='/home/hwangjr/xmind-3.6.1' -bb --target x86_64 'xmind-3.6.1-2.spec'):
sh: rpmbuild: command not found

then:

1
zypper install rpmbuild

TIPS2
Apart from differences in desktop environments, one fundamental difference between Debian and Red Hat derived distributions (including SuSE) is whereas 64-bit libraries are installed under /lib and /usr/lib in Debian, they’re under /lib64 and /usr/lib64 in Red Hat. As a result some packages may refuse to install because they’re looking in the wrong place for their dependencies. This wasn’t an issue with Xmind because of its implementation as an Eclipse workbench application, and Red Hat’s locating of its 64-bit java binaries under /usr/lib/jvm.

TIPS3
if this occurs while installation:

1
2
3
Problem: nothing provides osgi(org.eclipse.ui.themes) needed by xmind-3.6.1-2.x86_64
Solution 1: do not install xmind-3.6.1-2.x86_64
Solution 2: break xmind-3.6.1-2.x86_64 by ignoring some of its dependencies

just ignore it ~

REF

Install Xmind in Fedora with deb package
Converting a deb into rpm using alien on openSUSE – Through out the tunnel
alien invasions: making an xmind rpm | onemoretech
Thorsten Grösch - openSUSE & xmind: converting deb packages to rpm
Installing XMind7 - where do I find osgi? - FedoraForum.org