in reply to Number::Format fails to install

Couldn't untar Number-Format-1.75.tar: 'Cannot allocate memory'

It seems that your system is very low on memory. Maybe (maybe) installing the module through a tool with a smaller memory footprint might work. For example you can try to use App::cpanm / https://cpanmin.us to install the module automatically.

If that still fails due to not enough memory being available, you can still do the installation steps manually. See the included README file of the distribution on how to install it.

If these manual steps still fail due to not enough memory being available, you will have to build the module on a different machine and then copy the appropriate resulting files to your target machine, but that should be an approach of last resort.

If you are using the system perl, instead of installing modules from CPAN consider installing the prepackaged modules as provided by your OS / distribution vendor. For example, Debian-derived distributions usually follow the naming convention libmodule-name-perl, so in your case maybe a kind Debian packager provides a package libnumber-format-perl for your distribution.