ArcaOS, being based on OS/2 with RPM package support via the Unix Compatibility Subsystem (kLIBC), uses the Arca Noae Package Manager (ANPM) for installing software. ANPM is a graphical tool that interfaces with YUM and RPM repositories tailored for OS/2 ecosystems (e.g., Netlabs). However, ImageMagick—a suite for image processing and conversion—is not available in the standard ArcaOS or Netlabs repositories.
Since no pre-built RPM for OS/2/ArcaOS was found, the recommended approach is to compile ImageMagick from source using the available development tools in the OS/2 ecosystem. This requires the GNU toolchain (GCC, make, etc.), which can be installed via ANPM. Below are step-by-step instructions.
Install ANPM if not already present:
Install development tools via ANPM:
gcc (GNU Compiler Collection).make (GNU Make).libstdc++ (C++ standard library).pkgconfig (pkg-config for dependency detection).Verify Unix Subsystem:
CONFIG.SYS has SET LIBPATHSTRICT=T and proper kLIBC paths (ANPM handles this during installs).gcc --version and make --version. If they work, proceed.Download the Source:
wget (install via ANPM if needed: search for wget) to download the latest stable source tarball from the official site:wget https://imagemagick.org/archive/releases/ImageMagick-7.1.1-32.tar.xz
tar and xz via ANPM if not present):tar -xJf ImageMagick-7.1.1-32.tar.xz
cd ImageMagick-7.1.1-32
Configure the Build:
./configure --without-x --without-perl --prefix=/usr/local
--without-x: Builds CLI tools only (e.g., convert, identify), no GUI.--without-perl: Skips Perl bindings if not needed.--prefix=/usr/local: Installs to a standard Unix-like path under your UNIXROOT (default: C:\UNIX\ or similar; ANPM sets this).libjpeg, libpng) and the configure script will detect them via pkg-config.Build and Install:
make
make install
make fails, try gmake (GNU Make alias).Verify Installation:
/usr/local/bin to your PATH if needed (edit CONFIG.SYS or use ANPM's path tools).convert --version
libtiff for TIFF). Search ANPM for "lib" packages and install as needed before ./configure.display, install XFree86 via ANPM (xfree86) and remove --without-x.gcc via ANPM.UNIXROOT is set correctly (check ANPM settings)./pub/os2/apps/graphics. Search for "imagemagick" there, but expect older versions./usr/local files manually or use make uninstall from the source dir.If you encounter errors (e.g., during configure), provide the output for further troubleshooting. This process leverages ArcaOS's strong Unix compatibility for a native build.