How to remove python from Linux (Kali Linux) if i have installed from .tar.xz

I want to revome the first one
help how to remove

Why do you want to remove it in the first place?
Looks like the specific installation has been installed for your specific user profile which might be easy to uninstall using apt.

python3.11 [pip3.11] is not installing ipkenel