Monday, April 29, 2024
10
rated 0 times [  10] [ 0]  / answers: 1 / hits: 3381  / 3 Years ago, tue, september 28, 2021, 4:41:05

Because of a problem reported here, possibly a bug, I have to use LibreOffice 3.5.



But I would like to keep an eye on the latest version, which might even solve that problem.



I would like to use the latest 4.x version beside 3.5. (not in a virtual box or in wine)






That is: I have already installed 3.5 from a deb package. How to install now the 4.x version without conflicts?
I imagine I could uninstall 3.5 and put 4.0 in place and then try to install 3.5 separately. But how?


More From » installation

 Answers
4

This is based on this tutorial, recommended by Glutanimate in a comment to the question for making a 'local' installation of a specific version.



I will consider only the case of the deb files package (there are multiple such files archived in a package).




  • To get the latest versions go here.


  • To get other versions go here. (I found about this address from here.)


  • Unpack the archive. You'll get a folder, and in it another called 'DEBS' with many deb files.


  • Create a folder called 'install' (optional name) inside the 'DEBS' folder.


  • Open a terminal window inside the 'install' folder. In that terminal, run:




for i in ../*.deb; do dpkg-deb -x $i . ; done



A new folder named "opt" is thus created there with several other folders and files that contain the entire LibreOffice installation.



If you don't want your existing LO configuration to be affected by the parallel installation you will have to change the user profile location of the new install.



To do so open up the bootstraprc file located at ./install/opt/libreoffice/program/ in a text editor. You might have to change the file permissions first to be able to read and write to the file (right click on file → Properties → Permissions). Then change the UserInstallation entry to:



UserInstallation=$ORIGIN/..


To run Writer find and execute something like DEBS/install/opt/libreoffice4.0/program/swriter. The others (sdraw, smath, scalc, simpress etc) are in the same directory.






In this way, multiple versions of LibreOffice can be used in parallel, even opened at the same time.


[#30791] Wednesday, September 29, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
velelf

Total Points: 395
Total Questions: 115
Total Answers: 107

Location: Sudan
Member since Mon, Jun 1, 2020
4 Years ago
;