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
In my case (Oracle XE 18c on Ubuntu), I had to remove the last line from /etc/oratab
/etc/oratab