Spack is a package manager like the good old port systems from BSD or macports. It offers high flexibility regarding building variances of packages, the creation of environmens (like conda) and is designed for big software trees on HPC systems. But it also works very nicely on regular Linux workstations. for getting CDO, just do the following steps

  • clone the repo:
    git clone
  • load spack itself:
    cd spack && . ./share/spack/
  • let spack find out something about your system compiler
    spack compiler find
  • build cdo with all bells and whistles
    spack install cdo
  • load the cdo package to your session:
     spack load cdo

Dive into spack HERE