How To Install octave-mcxlab on Fedora 36

In this tutorial we learn how to install octave-mcxlab in Fedora 36. octave-mcxlab is MCXLAB - A GPU Monte Carlo 3-D photon transport simulator for MATLAB/Octave

Introduction

In this tutorial we learn how to install octave-mcxlab on Fedora 36.

What is octave-mcxlab

Monte Carlo eXtreme OpenCL (MCX-CL) is a fast photon transport simulation software for 3D heterogeneous turbid media, accelerated by GPUs. MCXLAB-CL is the native MEX version of MCX-CL for Matlab and GNU Octave. It contains the entire MCX-CL code into a MEX function which can be called directly inside Matlab or Octave. The input and output files in MCX are replaced by convenient in-memory struct variables in MCXLAB-CL, thus, making it much easier to use and interact. Matlab/Octave also provides convenient plotting and data analysis functions. With MCXLAB-CL, your analysis can be streamlined and speed-up without involving disk files.

We can use yum or dnf to install octave-mcxlab on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install octave-mcxlab.

Install octave-mcxlab on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install octave-mcxlab using dnf by running the following command:

sudo dnf -y install octave-mcxlab

Install octave-mcxlab on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install octave-mcxlab using yum by running the following command:

sudo yum -y install octave-mcxlab

How To Uninstall octave-mcxlab on Fedora 36

To uninstall only the octave-mcxlab package we can use the following command:

sudo dnf remove octave-mcxlab

octave-mcxlab Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/6a
/usr/lib/.build-id/6a/17aa036a3bcada41198641f22b6157a55c9dba
/usr/share/doc/octave-mcxlab
/usr/share/doc/octave-mcxlab/AUTHORS.txt
/usr/share/doc/octave-mcxlab/README.txt
/usr/share/doc/octave-mcxlab/examples
/usr/share/doc/octave-mcxlab/examples/colin27_v3.mat
/usr/share/doc/octave-mcxlab/examples/demo_4layer_head.m
/usr/share/doc/octave-mcxlab/examples/demo_colin27_atlas.m
/usr/share/doc/octave-mcxlab/examples/demo_continuous_mua_mus.m
/usr/share/doc/octave-mcxlab/examples/demo_digimouse_sfdi.m
/usr/share/doc/octave-mcxlab/examples/demo_fullhead_atlas.m
/usr/share/doc/octave-mcxlab/examples/demo_infinite_slab_cyclic_bc.m
/usr/share/doc/octave-mcxlab/examples/demo_lambertian_exit_angle.m
/usr/share/doc/octave-mcxlab/examples/demo_mcxlab_2d.m
/usr/share/doc/octave-mcxlab/examples/demo_mcxlab_basic.m
/usr/share/doc/octave-mcxlab/examples/demo_mcxlab_replay.m
/usr/share/doc/octave-mcxlab/examples/demo_mcxlab_srctype.m
/usr/share/doc/octave-mcxlab/examples/demo_mcxlabcl_basic.m
/usr/share/doc/octave-mcxlab/examples/demo_mcxyz_skinvessel.m
/usr/share/doc/octave-mcxlab/examples/demo_photon_sharing.m
/usr/share/doc/octave-mcxlab/examples/demo_qtest_subpixel.m
/usr/share/doc/octave-mcxlab/examples/demo_replay_timedomain.m
/usr/share/doc/octave-mcxlab/examples/demo_replay_vs_pmc_timedomain.m
/usr/share/doc/octave-mcxlab/examples/demo_sphere_cube_subpixel.m
/usr/share/doc/octave-mcxlab/examples/demo_test_csf.m
/usr/share/doc/octave-mcxlab/examples/demo_validation_heterogeneous.m
/usr/share/doc/octave-mcxlab/examples/demo_validation_homogeneous.m
/usr/share/doc/octave-mcxlab/examples/digimouse.mat
/usr/share/doc/octave-mcxlab/examples/fullhead_atlas.mat
/usr/share/doc/octave-mcxlab/examples/mcx_gpu_benchmarks.m
/usr/share/doc/octave-mcxlab/examples/mcx_gpu_contest.m
/usr/share/doc/octave-mcxlab/examples/mcxyz_skinvessel.mat
/usr/share/licenses/octave-mcxlab
/usr/share/licenses/octave-mcxlab/LICENSE.txt
/usr/share/octave/packages/mcxlab-0.9.5
/usr/share/octave/packages/mcxlab-0.9.5/cwdiffusion.m
/usr/share/octave/packages/mcxlab-0.9.5/doc-cache
/usr/share/octave/packages/mcxlab-0.9.5/getdistance.m
/usr/share/octave/packages/mcxlab-0.9.5/hobbysplines.m
/usr/share/octave/packages/mcxlab-0.9.5/image3i.m
/usr/share/octave/packages/mcxlab-0.9.5/islicer.m
/usr/share/octave/packages/mcxlab-0.9.5/json2mcx.m
/usr/share/octave/packages/mcxlab-0.9.5/loadmc2.m
/usr/share/octave/packages/mcxlab-0.9.5/loadmch.m
/usr/share/octave/packages/mcxlab-0.9.5/mcx2json.m
/usr/share/octave/packages/mcxlab-0.9.5/mcxcl.mex
/usr/share/octave/packages/mcxlab-0.9.5/mcxdcsg1.m
/usr/share/octave/packages/mcxlab-0.9.5/mcxdetphoton.m
/usr/share/octave/packages/mcxlab-0.9.5/mcxdettime.m
/usr/share/octave/packages/mcxlab-0.9.5/mcxdettpsf.m
/usr/share/octave/packages/mcxlab-0.9.5/mcxdetweight.m
/usr/share/octave/packages/mcxlab-0.9.5/mcxfluence2energy.m
/usr/share/octave/packages/mcxlab-0.9.5/mcxlabcl.m
/usr/share/octave/packages/mcxlab-0.9.5/mcxloadfile.m
/usr/share/octave/packages/mcxlab-0.9.5/mcxloadnii.m
/usr/share/octave/packages/mcxlab-0.9.5/mcxmeanpath.m
/usr/share/octave/packages/mcxlab-0.9.5/mcxmeanscat.m
/usr/share/octave/packages/mcxlab-0.9.5/mcxplotphotons.m
/usr/share/octave/packages/mcxlab-0.9.5/mcxplotvol.m
/usr/share/octave/packages/mcxlab-0.9.5/normalizemcx.m
/usr/share/octave/packages/mcxlab-0.9.5/packinfo
/usr/share/octave/packages/mcxlab-0.9.5/packinfo/COPYING
/usr/share/octave/packages/mcxlab-0.9.5/packinfo/DESCRIPTION
/usr/share/octave/packages/mcxlab-0.9.5/packinfo/INDEX
/usr/share/octave/packages/mcxlab-0.9.5/packinfo/on_uninstall.m
/usr/share/octave/packages/mcxlab-0.9.5/serialcorr.m
/usr/share/octave/packages/mcxlab-0.9.5/slice3i.m
/usr/share/octave/packages/mcxlab-0.9.5/stacked_bar3.m
/usr/share/octave/packages/mcxlab-0.9.5/tddiffusion.m

References

Summary

In this tutorial we learn how to install octave-mcxlab on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).