Install libghc-diagrams-cairo-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libghc-diagrams-cairo-dev
Description:
Cairo backend for the diagrams drawing EDSL
A full-featured backend for rendering diagrams using the cairo rendering engine. To get started, see "Diagrams.Backend.Cairo.CmdLine". . This package provides a library for the Haskell programming language. See http://www.haskell.org/ for more information on Haskell.
Homepage: http://projects.haskell.org/diagrams
Version: 1.4-2build4
Section: universe/haskell