I have installed Oracle 10g xe from a deb file on linux, and then started to configure it using this terminal command
sudo /etc/init.d/oracle-xe configure
For Oracle XE 18c on Oracle Linux (7.7 in this case), the installation can be restarted by executing the following command as root:
root
/etc/init.d/oracle-xe-18c delete
Restart the installation with the same command that was issued initially:
/etc/init.d/oracle-xe-18c configure