I think It’s a problem of my Linux version. I tried Kicad in a virtual machine using the same Ubuntu version that I have installed, using my own computer as host. It works! I can read the libraries from Github. Both version of Kicad are the same, indeed.
It’s not a proxy problem because then Kicad, in the guest machine, couldn’t connect to github.
I’m going to investigate this problem.