No, a teacher bringing a gun to school in Sweden would be ostrasized.
You are unlikely to be let in to most establishments if You are wearing guns openly.
Acceptable use of guns is for hunting, and for going to a practice ground or a competition.
To be allowed to own a hunting weapon, you must go through an education for hunters.
To own a weapon for gun competitions, you must be a member of an approved gun association.
You must also show that You are able to use it safely.
In all cases, You must also be approved by the police, which You do not get if you have a recent "history".
You are not allowed to carry even knifes without good reason.
I would guess that rules are pretty similar in Norway.
In Pakistan you also need a carry permit, though bringing gun to university, college or school is not allowed.
In Switzerland, all members of the Army have their weapon at home,
but I would be very surprised if they carried it around in peacetime,