The trouble began when the victim, a class 11 student, was allegedly fired upon by a chemist following an altercation killing him on the spot, they said.
Later an enraged mob tried to attack the chemist and fought a pitched battle with police, who arrived on the scene.
Some shops and vehicles were torched and several people, including some police personnel, sustained injuries in the violence, sources said.
Heavy security has been deployed in the area and the situation was under control, police said.