Exporting to Alac or Wavpack 24-bit in Linux

This might be something folks need from time to time. After much horsing around finally got to work it out especially with 24-bit
Of course ffmpeg need be installed

audacity >> Export >> External Program >>
[16-bit]

ffmpeg -i - -acodec alac "%f"

[24-bit]

ffmpeg -i - -c:a alac -sample_fmt s32p "%f"

[16-bit]

ffmpeg -i -  -c:a wavpack  "%f"

[24-bit]

ffmpeg -i -  -c:a wavpack -sample_fmt s32p "%f"