Thanks for posting about this. I have had a problem running one piece of software which relies on the newer instructions, but otherwise Linux trucks along better than anything on my old computers. I hope that other Linux distros don't follow this path soon.
There's a tool, but you can also just grep the output of /proc/cpuinfo for whether the cpu supports avx2
https://github.com/HenrikBengtsson/x86-64-level
You might be ok on that i7:
https://en.wikipedia.org/wiki/Advanced_Vector_Extensions#:~:text=the%20packed%20input.-,CPUs%20with%20AVX2,-%5Bedit%5D