Ask Your Question
2

How to can I use a .deb package (installing XMind)?

asked 2015-10-16 13:41:25 -0500

florian gravatar image

I'd like to install XMind, a wonderful mind mapping program. For Linux, the manufacturer provides only a .deb package which I downloaded and extracted but I have no clue how to run this Ubuntu/Debian tailored program under Fedora.

Any help is appreciated.

edit retag flag offensive close merge delete

Comments

alfC gravatar imagealfC ( 2015-10-16 17:22:44 -0500 )edit

Thanks @alfC. I figured out the the "portable package" works just fine without installation, I will stick to that and not mess around with alien and rpmrebuild. Cheers.

florian gravatar imageflorian ( 2015-10-19 11:43:38 -0500 )edit

3 Answers

Sort by ยป oldest newest most voted
0

answered 2015-10-16 13:52:45 -0500

florian gravatar image

In the meantime, I somewhat solved the problem by using their Portable Package . (Extracted, and then made ~/Downloads/xmind-portable-3.5.3.201506180105/XMind_Linux_64bit/XMind executable, deleted Windows, Mac, and Linux32bit folders). It works.

edit flag offensive delete link more
3

answered 2015-10-16 14:14:19 -0500

sideburns gravatar image

You can use the program alien from the standard Fedora repos to transform it into .rpm format. Be warned, however, that the resulting package may or may not install properly or work as expected. This is because there can be considerably more information inside a standard .rpm than there is in a .deb package. That doesn't mean that you shouldn't ever use the program, just that you should try to find a native .rpm when possible, and be aware of the risks involved if you must transform a .deb.

edit flag offensive delete link more

Comments

Thanks. I'll give it a try.

florian gravatar imageflorian ( 2015-10-16 15:21:40 -0500 )edit

@Florian I do not recommend you alien.

davidva gravatar imagedavidva ( 2015-10-16 16:54:46 -0500 )edit

Agreed, unless you have no other choice. That's why I included those warnings in my answer.

sideburns gravatar imagesideburns ( 2015-10-16 16:59:58 -0500 )edit

Since I have the choice of using there portable package which I only had to extract, and run the executable I am going to stick with that and not going to use alien. Thanks for your input anyways.

florian gravatar imageflorian ( 2015-10-19 11:42:21 -0500 )edit
1

answered 2016-03-09 08:17:48 -0500

I use these steps: http://it.alejandronewer.com/como-instalar-xmind-6-en-fedora/ There are in spanish, but technically the steps are:

mkdir xmind
mv xmind-7-update1-linux_amd64.deb
cd xmind
ar -x xmind-7-update1-linux_amd64.deb 
rm -f control.tar.gz debian-binary 
tar xf data.tar.gz 
rm data.tar.gz 
sudo mv usr/lib/xmind /opt/
sudo mv etc/XMind.ini /opt/xmind/
rmdir etc
sed -i 's/XMIND=\/usr\/lib\/Xmind/XMIND=\/opt\/xmind\/Xmind/' usr/bin/XMind
sudo mv usr/bin/XMind /usr/bin/
rmdir usr/bin
sudo cp -R usr/share/* /usr/share/
rm -R usr
ls
cd ..
rm -R xmind/

In the step where you use sed, you can simply edit the file and change the XMIND variable from:

XMIND=/usr/lib/xmind/XMind

To:

XMIND=/opt/xmind/XMind

This works with Fedora 23 and Xmind 7.

edit flag offensive delete link more

Comments

That probably works but you will have less work using their portable package that can just be executed after extraction - does not need an installation.

florian gravatar imageflorian ( 2016-03-09 08:52:28 -0500 )edit

I did not use portable apps, never. Use it at your own risk.

X3MBoy gravatar imageX3MBoy ( 2016-03-09 12:37:03 -0500 )edit

@X3MBoy You mean a portable app is less secure or poses a thread? In this case it's the same non-opensource executable as if extracting it from the .tar.gz from the .deb.

florian gravatar imageflorian ( 2016-03-09 13:52:08 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-10-16 13:41:25 -0500

Seen: 2,729 times

Last updated: Oct 16 '15