Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


On 02/11/2013 01:48 PM, Marc Paré wrote:
Le 2013-02-11 13:05, Dan Lewis a écrit :

There are a variety of ways to install LO for Debian OS's. Some are
harder than others, and some are easier.
What no one has mentioned is the use of script files. They will do much
of the work for you. Planning how to install the Deb files is important.
If you have LO from your OS, you need to use Synaptic (Step#1 mentioned
above.) But this is the only time you need to do this. dpkg (installs
the Deb files) writes the new files over the existing files. There is no
need to remove them.
Extract the installation folder and always place it in the same
location. (This is important for the contents of the script file.)

Example of the script file:
#!/bin/sh
cd /home/dan/Downloads/LO/LibO_3.6.5.2_Linux_x86-64_install-deb_en-US/DEBS/
sudo dpkg -i *.deb
cd desktop-integration
sudo dpkg -i *.deb
This looks like a lot of typing, but it is not really. Besides much of
it is used over and over again. The third line is the longest. "cd
/home/dan/Downloads/LO/" is the location for the installation folder
that you extracted. "LibO_3.6.5.2_Linux_x86-64_install-deb_en-US" is the
name of that folder.
I do not like to type long names like the name of the installation
folder, so I look for a short cut. I use the file browser (Nautilus) to
go to this folder's location, I can right click on the folder and select
Properties. There at the top is the folder's name highlighted. Ctrl+C
copies the name, and I paste it into the third line. I also erase the
name of the previous folder. Another method: erase the number of the
previous LO version and type in the new number. In this case, replace
3.6.5.2 with 4.0.0.3.
What this does: installs the Deb files and desktop integration items.
The script file needs to be executable when it was first created. To do
this right click the script file, select Properties -> Permissions.
Click the box labelled "Allow executing the file as a program."
The location of the script file might be important also.
So actual steps to install 4.0.0.3:
1) Download the file to /home/dan/Downloads/LO/.
2) Extract the downloaded file to the same location.
3) Update the third line of the script file using either method using
gedit.
4) In the file browser, double click the script file.
5) Click the button "Run in Terminal".
6) Type your password.
7) Close the terminal.
The first two steps involve only clicks. Step 3 can involve only using
the mouse, or typing 4 digits and 3 periods. Only step 6 involves typing
with the rest done by mouse clicks.

--Dan


Yes, but a newcomer to Linux who wished to install LibreOffice on her/his distro would not know this, and hopefully, would just do what most people would do and unpack the compressed files and double-click the .deb's or .rpm's ... or select all of them - right-click and choose to open with the file manager.

I don't believe we are doing our users any service by suggesting all of these convoluted ways of installing. Let's promote the easy and straight forward. it really simple.

Cheers,

Marc
All well and good, but the simple way that you suggest will present problems for the newcomer on Debian OS's. The desktop-integration file will not install if the LO that came with the OS install CD remains: it must be removed. Without doing this, you can not right click on a file and select a LO version to open the file. We used to use Synaptic to remove an installed program or install a program from the Ubuntu repositories. A few years ago Ubuntu no longer included this package manager when it went to using the Unity desktop. (Synaptic was a part of the gnome desktop package.) In its place, Ubuntu introduced the Ubuntu Software Center. It appears that programs can also be removed using it, but only if they came from the Ubuntu repositories. Right now I have LO 3.6.5.2 and 4.0.0.3 installed from the website. Neither of these are listed in Ubuntu Software Center, so it can not be used to remove them. I just checked out your first paragraph. What you wrote does not work for installing LO in Ubuntu. (It probably will not work for any of the Debian OS's, but I only have Ubuntu and can not check the others.) The only thing that works is to think about the specific steps that must be followed and determine how to do them either on the command line or using a script. You may want to call these convoluted, but at least they work.

--Dan

--
For unsubscribe instructions e-mail to: users+help@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.