You can install a recent version of libgdiplus by adding the Mono repository to your system. NET 6 and requires setting the runtime configuration switch.
Because is no longer supported on Linux, this only works on. NET app uses the assembly, libgdiplus will also need to be installed.
The following snippet demonstrates installing the zlib1g library: sudo apt install zlib1g The latest 7.0 release is always listed at .NET 7.0 Releases.