How to use Friendica with Pidgin

Friendica is a great decentralized social network. And the list of clients to use it that I’m aware of is getting longer, longer and longer. I just learned from the Friendica user AlfredツSK that you can use the well known Linux chat client Pidgin as a Friendica client. As with all the other clients I was posting tutorials here, it works through the StatusNet Api, that most Friendica servers provide. So, here comes another short tutorial, how to do it on Ubuntu/Debian systems (see the links below for instructions for other linux systems, Mac OSX and even Windows):