Q: Uninstall php from fedora 24 I want to uninstall php from my VM that is Fedora 24
Php version is 5.6.31(cli)
I tried the following commands to uninstall:
sudo apt-get remove php

Above gave the output as: 

Reading Package Lists... Done
  Building Dependency Tree... Done
  E: Couldn't find package php5

I have tried another command: 
sudo apt-get purge --auto-remove php

But it also didn't work
Please help
And Sorry if I misstated anything I am new to Linux
