In WooCommerce -> Status I have message like that "Your server does not have the SoapClient class enabled - some gateway plugins which use SOAP may not work as expected." So I want to install SoapClient on my azure web service.
I try to do it over Azure SSH and bash. I have tried in several ways. I was closest to doing it because it was even installed with this command: pear install SOAP-0.14.0, but after reset server on azure. It still does not work.

When I perform this action twice I get this message, but when I do a reset I can install it again.
I also tried with sudo apt-get install php7.3-soap
Results from SSH:

Results from BASH:

I also tried with yum install php-soap but yum doesn't work on SSH and bash.
Additional information:

Would someone be able to tell me what I'm doing wrong? Thank you in advance.