Thursday, 6 October 2011

Installing Libre Office in Backtrack 5R1



Below are two possible options for installing LibreOffice in Backtrack 5R1


Using the PPA installation of LibreOffice


root@bt:~# add-apt-repository ppa:libreoffice/ppa
root@bt:~# apt-get update
root@bt:~# apt-get install libreoffice 


Downloading the install package from the LibreOffice website and installing manually


Download the main install package from the LibreOffice website ( http://www.libreoffice.org/download ) and if need your required language version to a temporary folder. In my case /root/Downloads


Extract the main install file. In this example the install file.


tar zxvf LibO_3.4.2_Linux_x86_install-deb_en-US.tar.gz


Optionial extract your local language pack. In my case en-GB


tar zxvf LibO_3.4.3_Linux_x86_langpack-deb_en-GB.tar.gz


Install the main package


root@bt:~# cd Downloads/LibO_3.4.2_Linux_x86_install-deb_en-US
root@bt:~/Download/LibO_3.4.2_Linux_x86_install-deb_en-US# cd DEBS
root@bt:~/Download/LibO_3.4.2_Linux_x86_install-deb_en-US/DEBS# sudo dpkg -i *.deb


Install the Menu items


root@bt:~/Downloads/LibO_3.4.2_Linux_x86_install-deb_en-US/DEBS# cd desktop-integration
root@bt:~/Downloads/LibO_3.4.2_Linux_x86_install-deb_en-US/DEBS/desktop-integration# sudo dpkg -i *.deb


Optional install the language pack.


root@bt:~# cd Downloads/LibO_3.4.3_Linux_x86_langpack-deb_en-GB
root@bt:~/Download/LibO_3.4.3_Linux_x86_langpack-deb_en-GB# cd DEBS
root@bt:~/Download/LibO_3.4.3_Linux_x86_langpack-deb_en-GB/DEBS# sudo dpkg -i *.deb


LibreOffice is now installed. Enjoy