On item 1.
- Make sure to delete any local installation before trying with
apt install
- Make sure to read Announcement: ufl_legacy and legacy dolfin , i.e. stop importing
ufl
. Importufl_legacy
instead.
On item 1.
apt install
ufl
. Import ufl_legacy
instead.