Persistent ?

I wanted to test kodi 18 alpha. Now I want to come back to stable version 17.3. I’ve executed this cmd:

sudo apt-get –purge autoremove kodi
and then I deleted .kodi in my home.

After that, I installed again kodi stable as following:
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:team-xbmc/ppa
sudo apt-get update
sudo apt-get install kodi
sudo apt-get install kodi-pvr-iptvsimple

but when I run kodi, my surprise was to see ever Kodi 18 alpha. It seems that there is something permanent. I don’t know
have you had any suggestion ?
Thanks
Lino