15 July 2013

Ubuntu 13.04 : Manual installation of Libre Office 4

Download latest Libre Office from :
http://www.libreoffice.org/download

To install LibreOffice 4 you will need to remove all previous versions.
Run:
sudo apt-get remove --purge libreoffice-core libreoffice-common
sudo apt-get autoremove --purge

Extract the files:

cd to the Downloads directory: cd Downloads

Extract the tar.gz:

For 64 bit:
tar -xvzf LibreOffice_4.0.3_Linux_x86-64_deb.tar.gz

For 32 bit:
tar -xvzf LibreOffice_4.0.3_Linux_x86_deb.tar.gz

Install the program:

cd to the programs folder:

For 64 bit:
cd LibreOffice_4.0.3.3_Linux_x86-64_deb/DEBS

For 32 bit:
cd LibreOffice_4.0.3.3_Linux_x86_deb/DEBS

Install part one (for both 32 and 64 bit):
sudo dpkg -i *.deb

Install the desktop integration (again for 32 and 64 bit):
cd desktop-integration
sudo dpkg -i *.deb

You're done!


Ubuntu 13.04 64bit : Unable to install ia32-libs

If you are unable to install ia32-libs package on your fresh installation of Ubuntu 13.04 64bit, for installation of Skype, Teamviewer or Adobe Reader, than you should do :

- Switch Update server to Main, in System Settings / Software & Updates
- Check on all Install updates from option on Update tab

than do in Terminal :

sudo dpkg --add-architecture i386

sudo apt-get update
sudo apt-get install ia32-libs

02 July 2013

Increase php memory limit

If you get this error on OpenCart system 1.5x :

PHP Fatal Error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 32 bytes)

then

in system/startup.php add line

// Register Globals

ini_set('memory_limit','-1');