@hottea looks like this aspect of Slicer is permanently borked for system-level installs. See bug report here: https://github.com/Slicer/Slicer/issues/5546
It looks like we'd have to figure out a way to deal with extensions and extension updates through the PKGBUILD too due to these changes.
To other users looking to get around this while still managing Slicer with pacman
: you can modify the install path in the PKGBUILD to put it where ever you like in your ~
and then chown
it to belong to your user account. (As a side note, that approach is also a good way to deal with Anaconda on Arch so you may already be familiar with the idea).
Pinned Comments
hottea commented on 2024-02-27 00:45 (UTC)
This pkg is build by upstream with
Slicer_STORE_SETTINGS_IN_APPLICATION_HOME_DIR=ON
, we just repack the binary. The settings and extensions files are stored in the application home dir (aka/opt/
here). If you need to modify the settings or install extensions, try 3dslicer, which is built from the source withSlicer_STORE_SETTINGS_IN_APPLICATION_HOME_DIR=OFF
, so ordinary user could save their application settings and extensions files in user home dir.