Can anyone help me to setup a local environment for Wordpress development

I’m learning wordpress development and I don’t have any server which my instructor has asked me to have like MAMP. Are there any alternatives to it? If yes please let me know. Also please let me knoe anything else you are using to learn wordpress.
I would also love to know what you have in your environment for the same.

what service are you using at the moment

I am also WordPress theme and plugin developer and I want to switch from Windows to Linux. My problem is how to setup something like laragon, XAMPP solutions to Linux. I have tested Vagrant which is a very fair solution
Any other ideas?