Dcm2niix is a popular tool for converting medical images in the complicated DICOM format to the NIfTI format preferred by scientists. I am grateful for the maintainers of this Ubuntu repository. Unfortunately, the package is broken on modern versions of Ubuntu. The reason is that the package believes that yaml is required, but this is only required for the rarely used dcm2niix_batch variant. It is not required by dcm2niix at all.
There are two ways to build dcm2niix, neither creates dcm2niix_batch by default. The code below does have dependencies for CharLS (JPEG-LS) and OpenJPEG (JPEG2000). Both are rare variations of dicom: git clone https://github.com/rordenlab/dcm2niix.git cd dcm2niix mkdir build && cd build cmake -DZLIB_IMPLEMENTATION=Cloudflare -DUSE_JPEGLS=ON -DUSE_OPENJPEG=ON .. make Alternatively, dcm2niix can be compiled with make. This has minimal dependencies, but does not support the rare compression formats: git clone https://github.com/rordenlab/dcm2niix.git cd dcm2niix/console make —————————— Error with current dcm2niix package on Ubuntu: sudo apt-get install -y dcm2niix Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: dcm2niix : Depends: libyaml-cpp0.5v5 but it is not installable
-- Ubuntu-motu mailing list Ubuntu-motu@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-motu