Can not use the i2c and ttyAMA0 Raspberry Pi 4 with ubuntu mate 20.04

I wanted to use i2C and ttyAMA0, I installed Raspi-config, but it didn't work