Archlinux removing python2 from the repositories

You can use the command above sudo pacman -Rc python2 and see if it wants to remove anything else before accepting the removal.

Alternatively, you can use pactree -r python2

3 Likes