- Download LibO_*_Linux_x86_install-rpm_en-US.tar.gz
- Unpack it
- From the desktop-integration directory, put the freedesktop rpm into the RPMS directory
- Delete the desktop-integration directory
- Code: Select all
cd LibO_3.3.0beta3_20101115_Linux_x86_install-rpm_en-US/RPMS
sudo apt-get install rpm2cpio
find . -name "*rpm" -exec sh -c 'rpm2cpio {} | cpio -idv' \;
rm -rf *rpm
mv usr/ opt/libreoffice/
cd opt/libreoffice/
cp ./share/xdg/startcenter.desktop .
rm -rf usr/share/applications/
cp -r share/xdg usr/share/applications
cp ./usr/share/icons/hicolor/48x48/apps/libreoffice-startcenter.png .
cp /Applications/Selfmade/AppRun .
Edit usr/bin/libreoffice:
- Code: Select all
#!/bin/sh
exec ../program/soffice "$@"
Finally, run RPMS/opt/libreoffice through AppImageAssistant
