NeuroDebian on Arch
Hi all,
I am considering to switch Arch from Pop!_os. The only reason that I am hesitating is ; http://neuro.debian.net/ . I need to use these softwares, FreeSurfer and other stuff for my neuroimaging data. However, I am not sure whether it is possible to use neurodebian on Arch linux. I saw some posts for building packages by source code and etc. On theory it should work for this as well.
Any neuroimaging fellows using Arch and NeuroDebian on it?
About this post
- Posted
- Archived
- Score
- 7 · 89% up
- Kind
- Text
- ID
- ju2p17
18 comments
You can also run a container image of Debian in docker to run the software. That is if you don't find it in the AUR.
With Arch, you can have access to Arch User Repository. From my experience: if there is no official package, you can be 98% sure, that it is in the AUR.
Deleted before we saved it.
But specific packages can be there. Or in some other repository.
It kinda is afni, fsl, mvpa2
Freesurfer and FSL are definitely in the AUR. Just set up a Manjaro workstation and installed them a couple of weeks ago. The only issues I encountered are that the version of freesurfer in the AUR is out of date and installing Matlab on Arch-based distributions is unmitigated bum.
Also, don’t forget that nerodebian bundles some quite out of date software at the moment. I think they still use FSL version 5.
You may have to build it yourself. Here is a link to the github page where you should be able to get the source code that you will need. While they may only release Debian binaries, as long as you can get the source code you can build it anywhere.
https://github.com/neurodebian/neurodebian
Most likely this will be a .tar compressed file. You will need to unpack it and navigate to the unpacked folder in terminal and then usually "makepkg -si" to install it. I create a Build folder in Documents to perform these tasks in. Here are a couple more links to the Arch wiki pages for the tools you will need.
https://wiki.archlinux.org/index.php/Arch_Build_System
https://wiki.archlinux.org/index.php/Makepkg
As long as source code is available any program compatible with Linux should work on Arch.
Creating arch packages from Deb packages is react very straight forward. There are lots of examples in the AUR. Also if my memory isn't failing me there is a package that automatically creates arch packages from Deb packages. I would be surprised if you could not run the software you need. Set up an arch VM and give it a try. I'd be happy to if you needed help converting packages.
https://www.youtube.com/watch?v=0yh6k3A52Ek
I guess this is what you are talking about.
Neurodebian is basically installs everything with this code '" wget -O- http://neuro.debian.net/lists/focal.de-md.libre | sudo tee /etc/apt/sources.list.d/neurodebian.sources.list sudo apt-key adv --recv-keys --keyserver hkp://pool.sks-keyservers.net:80 0xA5D32F012649A5A9"
So if I use sudo debtap wget -O- http://neuro.debian.net/lists/focal.de-md.libre | sudo tee /etc/apt/sources.list.d/neurodebian.sources.list sudo apt-key adv --recv-keys --keyserver hkp://pool.sks-keyservers.net:80 0xA5D32F012649A5A9, will it work?
IF YES I AM ALSO GOING FOR ARCH AS WELL
No that adds the Deb souse for the packages into the Deb package manager. What you need to do is download the individual Deb packages and make pacman packers out of them.
The software I was thinking of earlier is debtap. Not sure how well it works, when I've had to do it I do it manually to make sure I get the dependencies correct.
You can be more generous than that!
the aur is your best bet if not you will have to build from source. freesurfer is in the aur.
Options are as follows:
Build from source, Check the AUR, hijack with bedrock (this may cause issues, but probably won't)