WordPress can also run on many hosting environments. These just need to meet the requirements. These are described here: https://wordpress.org/about/requirements/
So you would need to see how you can meet these requirements in your environment. I am not familiar with Linux Mint, but I suspect you will need to install a web server such as Apache or nginx, PHP, and MariaDB or MySQL as a database system. The Linux Mint community will certainly be able to tell you how to do this: https://community.linuxmint.com/
Once the requirements are met, you can proceed as described here: https://learn.wordpress.org/lesson/wordpress-installation/
Yes you can absolutely install WordPress (WP) on Linux Mint 22.2!
Since Mint is based on Ubuntu, you can follow the same general process as you would for an Ubuntu LAMP stack (Linux, Apache, MySQL/MariaDB, PHP).
You either go with LAMP stack, like @threadi and @zaraalim explained above, or (especially for development purpose) I’d suggest to go with WP + Docker like @jluizsouzadev explained above.
Also – thanks for mentioning my article @jluizsouzadev
yep, you can totally install wordpress on linux mint 22.2. the easiest way is to set up a local server stack like lamp (linux, apache, mysql, php), then download wordpress, move it to your web directory, and run the installer through your browser. there are lots of step by step guides online that walk you through each part, and it shouldn’t take too long once your server is set up