Monday, April 9, 2012

Reinstall LibreOffice on Debian Linux

Uninstall

I tried to upgrade LibreOffice (LO). I uninstalled it by:

rm -r /opt/libreoffice3.5



Reinstall

I downloaded LibreOffice 3.5.2 for working on Debian Linux. I reinstalled LO by:
tar xfv LibO_3.5.2_Linux_x86_install-deb_en-US.tar.gz
cd LibO_3.5.2rc2_Linux_x86_install-deb_en-US/DEBS/
dpkg -i *.deb
cd desktop-integration/
dpkg -i *.deb


I got the error(1):
"libreoffice3.5-dict-en needs to be reinstalled, but I can't find a archive for it"
I could not use Synaptic Package Manager.


Uninstall
I uninstalled it again by:

rm -r /opt/libreoffice3.5


Reinstall
I reinstalled the previous version instead:


tar xfv LibO_3.5.1_Linux_x86_install-deb_en-US.tar.gz
cd LibO_3.5.1rc2_Linux_x86_install-deb_en-US/DEBS/
dpkg -i *.deb
cd desktop-integration/
dpkg -i *.deb
Uninstall
I uninstalled LO by using Synaptic Package Manager this time. The error(1) disappeared.




Reinstall
I reinstalled LO by:
tar xfv LibO_3.5.2_Linux_x86_install-deb_en-US.tar.gz
cd LibO_3.5.2rc2_Linux_x86_install-deb_en-US/DEBS/
dpkg -i *.deb
cd desktop-integration/
dpkg -i *.deb
LO worked!

Reminder

When upgrading LO, I should use Synaptic Package Manager to uninstall it before reinstalling it.

The proper way to uninstall LibreOffice should be using Synaptic Package Manager.

No comments: