Joined: 17 Sep 2006 Posts: 1448 Location: Australia
Posted: Sun 22 Mar 2015, 21:04 Post subject:
Libreoffice 4.4.1 and other debs Subject description: Not a how to but just a bit of fun
I've been running a few deb and rpm distro's lately and have installed Libreoffice 4.4.1 on them using the included Readme file once you unzip the tar.gz file.
For debian based systems the readme says to open a terminal inside the folder containing the libreoffice deb files and run the following command
sudo dpkg -i *.deb
Now Puppy 5.7 is based on ubuntu packages so what if we open a terminal inside the folder containing the libreoffice deb files and type in sudo dpkg -i *.deb inside puppy to see what happens?
Well we get an error saying /var/lib/dpkg/status can be found. Alright so dpkg must be a folder and status a file. Lets create a folder called dpkg inside the lib folder and a blank file inside the newly created dpkg folder
and run sudo dpkg -i *.deb or dpkg -i *.deb as we really don't need sudo as we are already running as root.
Oh we get another error Boo Hoo there isn't a info folder inside dpkg what are we going to do?
Lets put a info folder inside dpkg and see what happens?
Hurray the debs are extracted and libreoffice setup inside the /opt folder.
A look around the file system shows files have been created in /usr/local | /usr/lib | /usr/share
We find the .desktop files needed for the menu in /usr/local/share/applications To be safe I link the .desktop files inside to /usr/share/applications where Puppy will look for them.
I now open the terminal inside the /usr/sbin folder and run the command ./fixmenus and restart jwm to make them appear in the menu.
I click one and Libreoffice starts but we get the message /root/%U does not exist
To fix this go to /opt/libreoffice4.4/share/xdg as we need to edit all .desktop files inside and remove %U after libreoffice4.4 --writer in the exec= line
For example exec=libreoffice4.4 --writer %U becomes exec=libreoffice4.4 --writer
we have deleted %U from the line.
Now click save and do the same thing for all the other .desktop files
Again open the terminal inside the /usr/sbin folder and run the command ./fixmenus and restart jwm to make the new correct libreoffice menu options appear in the menu and you should be able to use libreoffice.
What this shows is with a little bit of fiddling around and experimenting you can get apps working in puppy from debian.
I posted this to make you experiment and not a how to install the latest version of Libreoffice from their website. _________________ Legacy OS 2.1 LTS Released! Install me on a new! EXT2 Partition with 500Mb of swap and I'll be happy.
Legacy OS 4 Released! Install to newer legacy hardware / early EeePC's
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum