[Solved] How to install Libreoffice 6.1 from debian backports

Questions about software.
danielx
Posts: 23
Joined: 29 Aug 2018 15:51

[Solved] How to install Libreoffice 6.1 from debian backports

Postby danielx » 18 Sep 2018 13:58

Hi,

I'd like to install libreoffice 6.1, but on solidxk repository only libreoffice 5.2 is available.

So I added stretch-backports repository to my sources.list

Code: Select all

deb https://repository.solydxk.com/ solydxk-9 main upstream import 
deb http://deb.debian.org/debian/ stretch main contrib non-free 
deb http://security.debian.org/ stretch/updates main contrib non-free 
deb http://deb.debian.org/debian/ stretch-updates main contrib non-free 
deb http://ftp.debian.org/debian/ stretch-backports main 
and updated my system.

So, now, stretch-backports is available and I can see it in Synaptic. But libreoffice version is 5.2 yet, and NOT 6.1 as shown here:
https://packages.debian.org/stretch-bac ... ibreoffice


When I try

Code: Select all

apt-get install libreoffice
Lettura elenco dei pacchetti...
Generazione albero delle dipendenze...
Lettura informazioni sullo stato...
libreoffice is already the newest version (1:5.2.7-1+deb9u4).
0 aggiornati, 0 installati, 0 da rimuovere e 0 non aggiornati.

I got only the previous version. The same from Synaptic.

How can I update the libreoffice version? What am I doing wrong ?
Thank you

User avatar
Arjen Balfoort
Site Admin
Posts: 9426
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: How to install Libreoffice 6.1 from debian backports

Postby Arjen Balfoort » 18 Sep 2018 14:19

Change "http://ftp.debian.org/debian" to "http://ftp.us.debian.org/debian" and run these commands:

Code: Select all

apt update
apt install -t stretch-backports libreoffice


SolydXK needs you!
Development | Testing | Translations

nuts2u
Posts: 84
Joined: 03 Nov 2013 21:07

Re: How to install Libreoffice 6.1 from debian backports

Postby nuts2u » 18 Sep 2018 16:49

Install LibreOffice using flatpak. You always get the latest version. Runs in a sandbox mode on your system.


Liberalism is the art of standing on your head,
then telling everyone around you that they're upside-down.

kurotsugi
Posts: 2261
Joined: 09 Jan 2014 00:17

Re: How to install Libreoffice 6.1 from debian backports

Postby kurotsugi » 19 Sep 2018 11:54

you missed "-t stretch-backports" option. this option is a kind of "security code" so that user won't accidentally flooded with packages from backports. this command only need to be executed once. after installing new LO you can manage/update your system as usual.

danielx
Posts: 23
Joined: 29 Aug 2018 15:51

Re: How to install Libreoffice 6.1 from debian backports

Postby danielx » 20 Sep 2018 22:30

What a stupid error, missing option. Thank you. But I didn't follow this way.

I searched for informations about flatpak and flathub and I liked so much the idea of abstraction upon the Linux distros and of sandboxes.
I ready installed flatpak and now I'm using it for every available software I need.

Thank you for your suggestion.

nuts2u
Posts: 84
Joined: 03 Nov 2013 21:07

Re: [Solved] How to install Libreoffice 6.1 from debian backports

Postby nuts2u » 20 Sep 2018 23:09

Danielx,
Glad to see you researched flatpak. It really is the future way to use/install software. Linux Mint LMDE 3 already has flatpak support in their Sotware Manager. Hopefully the SolydxK team will build support into SolydXK in the future. The SolydXK devs are really smart/sharp and I'm sure they will provide support before too long


Liberalism is the art of standing on your head,
then telling everyone around you that they're upside-down.

kurotsugi
Posts: 2261
Joined: 09 Jan 2014 00:17

Re: [Solved] How to install Libreoffice 6.1 from debian backports

Postby kurotsugi » 21 Sep 2018 09:53

being a distro agnostik, I think implementing flatpak won't be difficult. however, coming from gnome project, I'm not sure if it could integrated well with KDE. that being said, I'd also like to see solydxk support flatpak.

User avatar
Arjen Balfoort
Site Admin
Posts: 9426
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: [Solved] How to install Libreoffice 6.1 from debian backports

Postby Arjen Balfoort » 21 Sep 2018 13:13

I'm not convinced why it would be necessary for a distribution like SolydXK, which focuses on security and stability, to introduce a security risk. Till, a user on a blog describes my reservations very well: http://www.proli.net/2016/06/25/gnulinu ... ent-118611


SolydXK needs you!
Development | Testing | Translations

nuts2u
Posts: 84
Joined: 03 Nov 2013 21:07

Re: [Solved] How to install Libreoffice 6.1 from debian backports

Postby nuts2u » 21 Sep 2018 18:26

Lets say I want to try out a KDE application on my pristine SoyldX installation. I pick out the app using synaptic andf it tells me it will download 17 additional KDE dependency's need to install and run the app . I go ahead and say ok, all this KDE dependency's are downloaded and installed in my pristine SolydX. I later on decide I do not like the KDE app, so I choose to delete it. I use apt and purge the KDE app, then to make sure the KDE dependecy's are also removed I run apt autoremove and answer yes to remove more found KDE dependency's. However can I really be sure all of those pesky KDE dependency's have truly been removed. If I am using Timeshift, and made a snapshot before I installed the KDE app, then I can just restore my system to it's previous state using Timeshift. If I have not installed my system using BTRFS the the rsync Timeshift restore will take awhile, but if I have a BTRFS snapshot, the restore is instant. All I need to do is reboot and there is my pristine SolydX system. Or I can install the app using Flatpak, it is downloaded and run in a sandbox, so my SolydX system is not filled with KDE dependency's at all, security is guaranteed via the sandbox status. I decide I do not like the app, therefore I delete the app using Flatpak and my system is still in it's pristine state because it was never modified in the first place.

With this being said Arjen is the owner and developer/maintainer of SoyldXK, he alone makes the final decision as to whether to support Flatpak or not. If he is not comfortable with Flatpak so be it. SolydXK is a rock soild Linux distribution, Arjen and his team put a lot of time and effort into maintaining and supporting SolydXK.


Liberalism is the art of standing on your head,
then telling everyone around you that they're upside-down.

kurotsugi
Posts: 2261
Joined: 09 Jan 2014 00:17

Re: [Solved] How to install Libreoffice 6.1 from debian backports

Postby kurotsugi » 23 Sep 2018 10:11

comparing the old package bundling method with flatpak would be like comparing an apple with...burgers :lol:

anyway, Till seems doesn't understand how sandboxing works yet and the differences between flatpak and the old package bundling method. taken from debian's wiki
The Flatpack system (previously known as xdg-app) uses a set of sandboxing technologies like OSTree and Linux cgroups to distribute software in a cross-distribution manner. These technologies isolate the Flatpak applications from each other and from the rest of the system, giving the user security benefits compared to downloading and installing unrestricted packages on their machine.
the biggest advantage of flatpak is probably this part
It has a concept of runtimes that applications can target to get a reliable and stable platform, independent of the underlying distribution. With runtimes, application developers can focus on their core work without needing to package lower level components and libraries while still having the control on their packaging and release cycle.
though, realistically, there's no real advantage of using flatpak yet. the repo already provided most of the packages while using flatpak actually add more job for the developers. using apt is probably the current best option for both user and developer.

that being said, things might changed. especially since flatpak is still young. add flatpak support isn't hard. simply add flatpak packages and it's dependency, done. on my system it is only 1,374 KB so it won't hurt the iso size much.

danielx
Posts: 23
Joined: 29 Aug 2018 15:51

Re: [Solved] How to install Libreoffice 6.1 from debian backports

Postby danielx » 18 Apr 2019 13:16

After some months of using flatpak, I have some issue with it. I have these app installed:

Code: Select all

flatpak list --app --columns=application,version,branch
Application                             Version         Branch
com.calibre_ebook.calibre               3.40.1          stable
com.notepadqq.Notepadqq                 1.4.8           stable
com.transmissionbt.Transmission         2.94            stable
eu.scarpetta.PDFMixTool                 0.3.4           stable
io.atom.Atom                            1.36.0          stable
me.kozec.syncthingtk                                    stable
net.sourceforge.chromium-bsu                            stable
net.sourceforge.mars-game                               stable
org.avidemux.Avidemux                   2.7.3           stable
org.codeblocks.codeblocks               17.12           stable
org.gnome.Evince                                        stable
org.gnome.gedit                                         stable
org.gnome.meld                          3.20.1          stable
org.inkscape.Inkscape                   0.92.4          stable
org.kde.kolourpaint                                     stable
org.libreoffice.LibreOffice             6.2.2.2         stable
org.remmina.Remmina                                     stable
org.supertuxproject.SuperTux            0.6.0           stable
org.videolan.VLC                                        stable
but checking the runtime installed: i found these:

Code: Select all

flatpak list --runtime --columns=ref,size
Ref                                                         Installed size
com.transmissionbt.Transmission.Locale/x86_64/stable         39.4 kB
me.kozec.syncthingtk.Locale/x86_64/stable                    13.3 kB
net.sourceforge.chromium_bsu.Locale/x86_64/stable            19.5 kB
org.codeblocks.codeblocks.Locale/x86_64/stable              142.3 kB
org.freedesktop.Platform/x86_64/1.6                           1.1 GB
org.freedesktop.Platform/x86_64/18.08                       815.2 MB
org.freedesktop.Platform.VAAPI.Intel/x86_64/1.6               8.7 MB
org.freedesktop.Platform.VAAPI.Intel/x86_64/18.08             8.2 MB
org.freedesktop.Platform.ffmpeg/x86_64/1.6                    7.7 MB
org.freedesktop.Platform.html5-codecs/x86_64/18.08           14.7 MB
org.freedesktop.Sdk/x86_64/1.6                                1.9 GB
org.freedesktop.Sdk/x86_64/18.08                              1.8 GB
org.gnome.Evince.Locale/x86_64/stable                        36.4 kB
org.gnome.Platform/x86_64/3.30                              992.2 MB
org.gnome.Platform/x86_64/3.32                                1.0 GB
org.gnome.gedit.Locale/x86_64/stable                        107.0 kB
org.gnome.meld.Locale/x86_64/stable                          59.4 kB
org.inkscape.Inkscape.Locale/x86_64/stable                  886.8 kB
org.kde.KStyle.Adwaita/x86_64/5.11                            1.3 MB
org.kde.KStyle.Adwaita/x86_64/5.12                           14.2 MB
org.kde.Platform/x86_64/5.11                                  1.4 GB
org.kde.Platform/x86_64/5.12                                  1.2 GB
org.kde.kolourpaint.Locale/x86_64/stable                    217.6 kB
org.libreoffice.LibreOffice.Locale/x86_64/stable              2.8 MB
org.remmina.Remmina.Locale/x86_64/stable                     71.2 kB
org.videolan.VLC.Locale/x86_64/stable                       624.6 kB

So I have org.kde.Platform duplicated, org.gnome.Platform duplicated, org.freedesktop.Platform duplicated (from master and a branch ??) .

I think I have too much platforms installed, and too much space filled.
I didn't realized an app could reference a org.gnome.Platform/x86_64/3.30 and another app could reference a org.gnome.Platform/x86_64/3.32.

Maybe I will switch to snapcraft...

User avatar
ilu
Posts: 2658
Joined: 09 Oct 2013 12:45

Re: [Solved] How to install Libreoffice 6.1 from debian backports

Postby ilu » 19 Apr 2019 05:22

Flatpak and snap will always carry ALL needed dependencies. That can very very well be the whole KDE/GNOME desktop in every thinkable version. Whatever the developer thinks is needed. Or whatever he wants you to have. Or whatever malware anybody else injected.
Getting software from repositories is one of the main security strong points of Linux but obviously people work hard to transport MS Win troubles to Linux. :roll: Sigh.

Open a new thread if it's not tightly connected to LibreOffice. Maybe somebody else can help sorting that out. Supporting flatpak/snap is a nightmare I will not suffer.

kurotsugi
Posts: 2261
Joined: 09 Jan 2014 00:17

Re: [Solved] How to install Libreoffice 6.1 from debian backports

Postby kurotsugi » 20 Apr 2019 10:06

snap is using same methodology so I doubt it will fix your issue. the containering methodology implies that if two differet package depends on different version of another package, the dependencies will got installed twice for each version. it's a common thing used in windows so it actually not an issue. the used method actually has it's own benefit compared to linux common method


Return to “Software”

Who is online

Users browsing this forum: No registered users and 6 guests