Ubuntu Libreoffice

Hey guys

I'm back after what seems like ages! anyway encountered a problem which
is probably due to inexperience but anyhow.

I was wondering if there was a simple way to compile a Tar ball version
of LO on ubuntu? I've searched all documentation but its doing my head
in!

Cheers

Thanks! I'm guess that the "SUDO DPKG" command is meaning to extract the
files? i keep thinking there was something about a autogen.sh script (I
was reading about this somewhere on a compiling tuitorial) Doesn't LO
have such a thing?

Oops!!!!! I should have mentioned that I'm running Ubuntu 12.10. Also, if you are using Unity, click on the Dash button after the install and type Libre and then drag any of the LibreOffice components to the launcher that you would like to have there.

Don

You are most welcome, Anthony. I ran across this method about 4 years ago to be able to update OpenOffice back then. Once you get past the basics of the terminal, I'm not knowledgeable.

Don

Hello-

Are you simply trying to install the latest release of LibreOffice or are you just interested in compiling it?

dpkg is the debian package manager so no that command doesn't extract it, it installs the binary to your system.

There really is no need to compile it if you are planning on using it for normal every day use.

If you really want to compile then I would suggest you watch this video that was just created for this purpose:
http://www.youtube.com/watch?v=2gIqOOajdYQ&hd=1

:slight_smile:

Hi Anthony,

You could try looking here :

http://www.libreoffice.org/developers-2/

Alex

Hi :slight_smile:
I think there is some confusion here.

Compile means something specific in OpenSource and is not the same as "get together" or "acquire".  Compile means taking the raw source code and installing that onto your system.  It's nice to watch the newly made youTube video to help with that but this whole process is waaaay more than most people will ever need to do.

It's much easier to get the Debian-family installer from

http://www.libreoffice.org/download/
and then these instructions to unzip/unpack it and then install it.

http://wiki.documentfoundation.org/Installing_LibreOffice_on_Linux
If you want to create your own installer from the source code then i think that's called something like, doing your own "build" and hopefully this link might help
http://wiki.documentfoundation.org/Development/Native_Build
Again this is waaaay more than most people will ever need.  Mostly these days LO is installed by default on most fresh new Gnu&Linux systems or grab it from the repos using the package manager.

Gnu&Linux distro fall neatly into about 6-8 different families.  Many of the newer ones are in the Debian family including ones such as Mint, Ubuntu.  There's also a Redhat family, Slackware family.  Even different families often use the same installers so there are only about 4 different installers needed to cover all the different distros.

You really don't need to create a differrent installer for each different release of each different distro.  That's the kind of craziness that hardware manufacturers seem to think in their ignorance = or at least the excuse that often gets used by people who should know better.

As i understand it the main advantage of compiling the code from scratch is that it streamlines your version of LO and tailors it to your specific set of hardware.  So it should run faster and is just more cool when you mention it to your mates.  Unless you compiled your own version of Ubuntu then you really don't need to go this route.  Ubuntu is not really designed to be compiled from scratch.  It's meant to be an easy install where everything magically works without havign to do much.  There are other distros that are much better for this sort of thing, such as Arch, Tiny Core, Slackware and they have loads of help geared towards helping people compile pretty much anything they want.

Regards from
Tom :slight_smile:

here is my "simple" way to help with the typing errors I sometime get. My fingers seem to love to press the wrong letters.

copy the compressed download file to you home folder, using you file manager/browser. Nautilus, Dolphin, or whatever you default "file browser" is.

This is the file I use for 64-bit Ubuntu 12.04. "LibO_3.6.4_Linux_x86-64_install-deb_en-US.tar.gz"

Next you right-click on it in you file manager to uncompress it. Use the default "Archive Manager", or Ark, or whatever is your default archiver manager/un-compressor.

That will create the folder with the long name, At this point I do something a little different to ease my typing skills. I right-click on the folder and rename it to "LibO" to ease my typing its long name in the Terminal. That way you do not have such a long set of characters to type in for the folder's name in the Terminal.

In Terminal or "Konsole", etc., I type:

cd LibO
cd DEBS
sudo dpkg -i *.deb
cd desktop-integration
sudo dpkg -i *.deb

Then do the same steps for the help and language packs, as needed, except for the "cd desktop-integration" part.

You do not need to rename the folders, but I do that to stop errors in my typing of the "long" name of the folder. I know there are some other ways of doing this, but for me it is the simplest way for installing LO on Ubuntu.

The only hard part is removing LO 3.5.7 before I install LO 3.6.4. I keep forgetting the Terminal commands and need to use the Synaptic Package Manager to find and remove the LO packages.

Of course, I then make sure I reinstall all of the extensions I want, just to make sure they are there for me.

Hi :slight_smile:
Ahhh, tabbed auto-complete is really helpful.

On a unix-based command-line, so that's any Gnu&Linux just start typing a command or pathname or file-name and after about 2 or 3 characters press the tab key.  It then lists all the relevant things that start with those 2 or 3 characters and copies everything you have typed so far onto a new line so that you can ignore all the suggestions and carry on typing if you want.  If there is only 1 suggestion then it just fills in all the rest for you.  Errr, i dunno how to select say the 5th option except by using the mouse to copy&paste.  The keyboard short-cut for paste doesn't work but mouse paste is always good :slight_smile:

Regards from
Tom :slight_smile:

A shorter option is as follows:
1 Download the appropriate file(s)
2 tar zxvf ./<wherever you downloaded to>/<downloaded '.tar./gz' file>
3 sudo dpkg -iR ./<as above>/<extracted installation directory>/DEBS

The 'R' option, as suggested by it's character, invokes a recursive operation on all .deb files in all sub-directories, thus avoiding the redundant operation on the desktop integration stuff.

Peter HB

Its good to see that there are now .DEB packages for installation
because for awhile there wasn't. I'm thankful for all the suggestions,
it just seems I need to get a good grounding in Terminal theory now. I'm
glad I made the change over to Ubuntu as there is so much more support
out there for it when compared to other distros. I'm only having some
compatibility issues with it at the moment (My android phone is not
being detected even though I have done so much config for it lol)

Further more I am running 12.10 but with GNOME as my default shell. I
had a friend remove alot of the unity elements as in my opinion its just
so messy and hard to work with!