A Polish gunman likely influenced by far-right ideology killed six people in the main square of the southern city of Krakow before police shot and arrested him, officials said on Saturday, adding that three more bodies were found in his home.