How do I install flatpack or snap apps on antiX?

Forum Forums General Software How do I install flatpack or snap apps on antiX?

  • This topic has 11 replies, 5 voices, and was last updated Nov 19-7:57 pm by Anonymous.
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #71176
    Anonymous

      I’m trying to install telegram and it’s only for linux in snap and flatpack. Does
      anyone have experience on installing these kind of apps on antiX or MX?

      #71178
      Anonymous
        Helpful
        Up
        0
        ::

        my current main tower is running MX-21-fluxbox and have antiX 17-21 clients connected
        to it.

        #71204
        Member
        Xecure
          Helpful
          Up
          0
          ::

          Snaps require systemd, though Ubuntu claims it can work without it, but have never put effort into making it possible. Some people in Void have been working on getting it to work there, so if they get it working we may be able to follow their effort and make it work in antiX.

          For flatpaks, https://flatpak.org/setup/Debian/
          Step 1, 3 and 4 is enough. I will try it out and let you know.

          EDIT: It worked for me. I was able to install a flatpak from the terminal.

          • This reply was modified 1 year, 5 months ago by Xecure.

          antiX Live system enthusiast.
          General Live Boot Parameters for antiX.

          #71205
          Member
          PPC
            Helpful
            Up
            0
            ::

            It’s always a nice starting point looking around the forum! There’s a sticky post: https://www.antixforum.com/forums/topic/how-to-install-applications-2020-version/
            That talks about flatpaks and snaps…
            In short: snaps can’t be installed in antiX because they depend on systemd, which is not included in antiX. On MX-Linux, you can try booting it in Systemd mode and then install snaps
            Flatpaks can be installed in both antiX and MX-Linux.
            You do have to first install flatpack itself (using Synaptic or the terminal)
            sudo apt install flatpak

            Please note that, when you try to install a flatpak application for the first time you’ll have to download some dependencies (about half a Gb or so)

            In your particular case- can’t you install Telegram from the official link, over at: https://telegram.org/dl/desktop/linux ? (it’s the blue Linux button itself)
            Download the compressed file, using your file manager, extract the files that are inside it, then run the “Telegram” executable file, to start it, it worked here…
            P.

            EDIT: Damn, Xecure, I keep telling you: “Type slower!!!” You’re making me look bad 🙂

            • This reply was modified 1 year, 5 months ago by PPC.
            • This reply was modified 1 year, 5 months ago by PPC.
            #71208
            Member
            ModdIt
              Helpful
              Up
              0
              ::

              Not sure for older versions, for 21 deb available or.

              $ wget -O telegram.tar.xz https://telegram.org/dl/desktop/linux
              $ tar xf telegram.tar.xz
              $ sudo mv Telegram /opt/telegram
              $ sudo ln -sf /opt/telegram/Telegram /usr/bin/telegram

              • This reply was modified 1 year, 5 months ago by ModdIt.
              #71216
              Member
              PPC
                Helpful
                Up
                0
                ::

                @Moddit – I just tested on my antiX 19.4 64bits and it ran fine (I don’t have an account to test, but the App window came up just fine)
                @Linuxdady – doing what Moddit advised can be done straight from the command line, one command at a time (do not enter the “$” that on the start of each line, that just means you are running the commands from the terminal, as a normal user. You may have to enter your password when you enter the third line, that starts with “sudo”
                Those 2 last lines make sure that when you type “telegram” on the terminal or the “run” menu, you launch the app.
                If you want to get telegram on the menu, unfortunatly you’ll have to manually create a .desktop file for it…
                Run the commands Moddit mentioned first and then, from the terminal:

                cd /usr/share/application
                sudo touch telegram.desktop
                sudo geany /usr/share/application/telegram.desktop

                Inside geany text editor, paste this, and save the file:

                [Desktop Entry]
                Categories=Network
                Exec=telegram
                Icon=/usr/share/icons/papirus-antix/48×48/apps/org.telegram.desktop.png
                Name=telegram
                Type=Application

                Update the antiX menu and you should find “Telegram” on the menu (under Internet). You can use IceWm’s Toolbar Icon Manager to put the icon on the toolbar, if you so wish.

                • This reply was modified 1 year, 5 months ago by PPC.
                • This reply was modified 1 year, 5 months ago by PPC.
                #71220
                Member
                lyy
                  Helpful
                  Up
                  0
                  ::

                  I installed telegram-desktop through synaptic, it is working fine.

                  I’m using 21 runit.

                  #71223
                  Member
                  PPC
                    Helpful
                    Up
                    0
                    ::

                    @leoyoshiyang – It’s also available on the antiX 19 repository, but it’s version 1.5.11-1 . The version pulled in from the official website is 3.2.4 – that’s why I recommended downloading directly from their link… When we are using apps that connect via the web, it pays to have them as much up to date as possible…

                    P.

                    #71225
                    Member
                    lyy
                      Helpful
                      Up
                      0
                      ::

                      Oh I know that but since the OP didn’t mention he was seeking latest version, I thought that wasn’t important.

                      I assumed OP didn’t know about synaptic because some people don’t.

                      #71231
                      Member
                      PPC
                        Helpful
                        Up
                        0
                        ::

                        Oh I know that but since the OP didn’t mention he was seeking latest version, I thought that wasn’t important.

                        I assumed OP didn’t know about synaptic because some people don’t.

                        It’s a reasonable assumption! Thanks for pointing the Synaptic option, anyway- next time, folks will try installing from there first, and if the version of the app is too old or insecure, they can perform a manual installation, like Moddit and I talked about!

                        P.

                        #71243
                        Anonymous
                          Helpful
                          Up
                          0
                          ::

                          Thanks everyone,
                          It was late when I typed that. Snap was a no go because of systemd stuff and synaptic was an old version.
                          Today I installed flatpak.

                          sudo apt install flatpak

                          then added flathub repo

                          sudo flatpak remote-add –if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

                          then browsed flathub.org and it installed the latest telegram 3.2.5 and it works great.

                          #71244
                          Anonymous
                            Helpful
                            Up
                            0
                            ::

                            Thanks for the link to the thread PPC, last time I searched it was missing.

                          Viewing 12 posts - 1 through 12 (of 12 total)
                          • You must be logged in to reply to this topic.