LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Do I have two versions of LibreOffice installed? (https://www.linuxquestions.org/questions/linux-newbie-8/do-i-have-two-versions-of-libreoffice-installed-4175533422/)

TristanDee 02-08-2015 08:23 AM

Do I have two versions of LibreOffice installed?
 
1 Attachment(s)
Hi everyone!

Having read about the latest LibreOffice version, I felt tempted to try it out. I uninstalled the default version on my Ubuntu machine and downloaded the .deb from the LibreOffice site and installed it. The new office has since worked without any trouble.

A few days later I decided to dump Unity and go back to Gnome. So I installed Ubuntu-Gnome-Desktop.

It was then that I noticed two versions of LibreOffice on the application dash (I think, because there are two sets of icons for each office application- see the attached screenshot).

Did Gnome install its own version of LibreOffice with it? Does it really have one? I don't know.

Whichever icon I use to launch the app, the office however always brings up the latest version. So, there's no problem in terms of application errors. As I thought there's no need to have an extra version of an app and eat up my space, I tried to uninstall through Aptitude, but it doesn't 'remove' LibreOffice.

Any advice, please! Thanks in advance.

btmiller 02-08-2015 10:25 AM

You may just have an extra dashbard icon. You should check exactly which LibreOffice versions are installed with your package manager. You can do this via the following command at the terminal:

Code:

sudo dpkg -l | grep -i libreoffice

veerain 02-08-2015 11:31 AM

You can also check running version of app in about menu button.

appacc 02-08-2015 03:44 PM

I know libre office is install with the kde desktop. So probably.

TristanDee 02-08-2015 04:47 PM

Quote:

Originally Posted by btmiller (Post 5313956)
Code:

sudo dpkg -l | grep -i libreoffice

The command yielded
PHP Code:

ii  libreoffice-avmedia-backend-gstreamer                       1:4.4.0~rc3-0ubuntu1~trusty1                                         amd64        GStreamer backend for LibreOffice
ii  libreoffice
-base-core                                       1:4.4.0~rc3-0ubuntu1~trusty1                                         amd64        office productivity suite -- shared library
ii  libreoffice
-calc                                            1:4.4.0~rc3-0ubuntu1~trusty1                                         amd64        office productivity suite -- spreadsheet
ii  libreoffice
-common                                          1:4.4.0~rc3-0ubuntu1~trusty1                                         all          office productivity suite -- arch-independent files
ii  libreoffice
-core                                            1:4.4.0~rc3-0ubuntu1~trusty1                                         amd64        office productivity suite -- arch-dependent files
ii  libreoffice
-draw                                            1:4.4.0~rc3-0ubuntu1~trusty1                                         amd64        office productivity suite -- drawing
ii  libreoffice
-gnome                                           1:4.4.0~rc3-0ubuntu1~trusty1                                         amd64        office productivity suite -- GNOME integration
ii  libreoffice
-gtk                                             1:4.4.0~rc3-0ubuntu1~trusty1                                         amd64        office productivity suite -- GTKintegration
ii  libreoffice
-impress                                         1:4.4.0~rc3-0ubuntu1~trusty1                                         amd64        office productivity suite -- presentation
ii  libreoffice
-math                                            1:4.4.0~rc3-0ubuntu1~trusty1                                         amd64        office productivity suite -- equation editor
ii  libreoffice
-ogltrans                                        1:4.4.0~rc3-0ubuntu1~trusty1                                         amd64        LibreOffice Impress extension for slide transitions using OpenGL
ii  libreoffice
-pdfimport                                       1:4.4.0~rc3-0ubuntu1~trusty1                                         amd64        PDF Import component for LibreOffice
ii  libreoffice
-presentation-minimizer                          1:4.4.0~rc3-0ubuntu1~trusty1                                         all          transitional package for the LibreOffice presentation minimizer
ii  libreoffice
-style-galaxy                                    1:4.4.0~rc3-0ubuntu1~trusty1                                         all          office productivity suite -- Galaxy (Default) symbol style
ii  libreoffice
-style-human                                     1:4.4.0~rc3-0ubuntu1~trusty1                                         all          office productivity suite -- Human symbol style
ii  libreoffice
-style-tango                                     1:4.4.0~rc3-0ubuntu1~trusty1                                         all          office productivity suite -- Tango symbol style
ii  libreoffice
-writer                                          1:4.4.0~rc3-0ubuntu1~trusty1                                         amd64        office productivity suite -- word processor
ii  libreoffice4.4                                              4.4.0.3
-3                                                            amd64        Brand module for LibreOffice 4.4 .0.3
ii  libreoffice4.4
-base                                         4.4.0.3-3                                                            amd64        Base brand module for LibreOffice 4.4 .0.3
ii  libreoffice4.4
-calc                                         4.4.0.3-3                                                            amd64        Calc brand module for LibreOffice 4.4 .0.3
ii  libreoffice4.4
-debian-menus                                 4.4.0-3                                                              all          LibreOffice 4.4 desktop integration
ii  libreoffice4.4
-dict-en                                      4.4.0.3-3                                                            amd64        En dictionary for LibreOffice 4.4 .0.3
ii  libreoffice4.4
-dict-es                                      4.4.0.3-3                                                            amd64        Es dictionary for LibreOffice 4.4 .0.3
ii  libreoffice4.4
-dict-fr                                      4.4.0.3-3                                                            amd64        Fr dictionary for LibreOffice 4.4 .0.3
ii  libreoffice4.4
-draw                                         4.4.0.3-3                                                            amd64        Draw brand module for LibreOffice 4.4 .0.3
ii  libreoffice4.4
-en-us                                        4.4.0.3-3                                                            amd64        Brand language module for LibreOffice 4.4 .0.3
ii  libreoffice4.4
-impress                                      4.4.0.3-3                                                            amd64        Impress brand module for LibreOffice 4.4 .0.3
ii  libreoffice4.4
-math                                         4.4.0.3-3                                                            amd64        Math brand module for LibreOffice 4.4 .0.3
ii  libreoffice4.4
-ure                                          4.4.0.3-3                                                            amd64        UNO Runtime Environment .0.3
ii  libreoffice4.4
-writer                                       4.4.0.3-3                                                            amd64        Writer brand module for LibreOffice 4.4 .0.3
ii  uno
-libs3                                                   4.4.0~rc3-0ubuntu1~trusty1                                           amd64        LibreOffice UNO runtime environment -- public shared libraries 

I've omitted a few lines from the result that contained libraries. Apart from those, it looks to me like there are two versions, no? One is 4.4.0~rc3, and another is 4.4.0.3-3.

And veerain, I had already checked from the "About" menu, clicking anyone of the icons launches version 4.4.0.3 -- only their build IDs are different. The flat icons bring up Build ID: de093506bcdc5fafd9023ee680b8c60e3e0645d7, while the Numix round icon launches Build ID: 40m0(Build:3).

How can I remove one of them!

RockDoctor 02-08-2015 07:14 PM

Code:

sudo apt-get remove libreoffice4.4
or
Code:

apt-get remove libreoffice-common
would be a good start, depending on which version of libreoffice you want to get rid of. Being lazy, I'd just pull up synaptic, decide which version I want to get rid of, and delete all files associated with that version.

veerain 02-08-2015 10:38 PM

I say you remove the app which is rc3 (release candidate).

TristanDee 02-09-2015 01:24 AM

Thanks RockDoctor for mentioning the Synaptic :) But you say that's the way for the lazy! I'd say it was more tedious, but it actually gave me the peace of mind that every candidate of the package that I didn't want was removed.

And yes, veerain, I removed the rc, although it took away the beautiful Numix icon for LibreOffice -- now that rectangular default icon sits on the launcher, but I can live with that!

This was probably a simple problem to resolve, but I learned about a great tool in the discussion: the command
Code:

sudo dpkg -l | grep -i <application-name>
Thank you btmiller.

Cheers!


All times are GMT -5. The time now is 12:52 AM.