I am missing simplexml on my ubuntu machine but I can’t download it

Question:

so I get the following error while installing Pterodactyl panel:

but then when doing sudo apt-get install -y php-simplexml

it gives me this:

what can I do?

I’m new to ubuntu and have no clue of what to do

Answer:

As error says, You should explicitly select one to install.

Search for php version on your machine by

then use that version to install the package

Thanks to @bassxzero for noticing php version.

Source:

I am missing simplexml on my ubuntu machine but I can’t download it by licensed under CC BY-SA | With most appropriate answer!

Leave a Reply