Hi,
Just installed Magento 2 in a VirtualBox Centos machine with php 7.2.2 (also has php 5.5 but is using the correct version), 10.0.38-MariaDB.
When I try to run "bin/magento setup:di:compile" I get the error 'The directory %1 cannot be deleted' on several directories.
If I manually deleted them, it's the same thing. Also tried sudo, but same thing.
I was able to "php bin/magento setup:static-content:deploy -f" with the correct lang.
Also cache:clean works.
Thank you in advance.