You can install Notepad++ on Linux using an unofficial Snap package with the command "sudo snap install notepad-plus-plus".
If the mention of algebra conjures bad memories of math classes, a Python library called SymPy could change your mind about ...