Best "university towns" in Brazil

Hey, I’m an engineering student from Norway who want to do an exchange semester in Brazil. Do you have any cities that is known to be a good "university town", in terms of social student life and activities, some international students++. I’m planing on learning B2 Portuguese by that time, but the subjects and lectures must be in English. Any tips?

Thank you in advance!!