One time I was angry with my friend so I removed linux from his computer and installed windows
Did you choose to do that to get back at him?
I really hate him for showing off with his linux. It was kind of revenge to insult him back.
Being annoyed at him showing off is fine but you shouldn't do something to him or his property for the sake of revenge. People will get what's coming to them and now you've given him a reason to seek revenge on you. Just creating a cycle.
I don't give a shit. All the stuff that I owned went to shit when the space bar broke on the laptop. It was only a month old.
It's wrong to damage property that belongs to other people. Doing this will lead to an increase in violence. Instead, it's important to discuss how you feel with someone and give them time to improve.