How to uninstall Libreoffice 4 in Ubuntu

Hi,

I installed libreoffice4.0.deb in Ubuntu 12.10.

Now I’d like to revert back to “official” libreoffice package from Ubuntu Software. So I want to remove libreoffice4.0 package. I tried :

dpkg -r libreoffice4.0*
dpkg : erreur : --remove requiert un nom de paquet légal. « libreoffice4.0* » ne l est pas ; nom de paquet illégal dans la spécification « libreoffice4.0* » : caractère « * » non autorisé (seuls les lettres, les chiffres et « -+._ » le sont)

Do you have any idea about the right procedure ?

Thanks

Does this page help you uninstall LibreOffice?

http://www.libreoffice.org/get-help/installation/linux/
(Especially section: De-Installation of a Previous Version of Community-Supplied LibreOffice for Linux).

Hi @sulliwane, Did jorendc’s answer work for you?

Yes perfectly ! thanks a lot (sorry for the delay)