Telegram-desktop

Forum Forums New users New Users and General Questions Telegram-desktop

  • This topic has 12 replies, 3 voices, and was last updated Dec 28-11:25 am by olsztyn.
Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #90007
    Member
    blur13

      Hi!

      Is it possible to add Telegram-desktop to the antiX 21 package installer? Its available in MX 21, and I’ve installed it on antiX 21 from the MX repo and it seems to work just fine. The version available in bullseye backports is a bit dated.

      #90009
      Forum Admin
      anticapitalista
        Helpful
        Up
        0
        ::

        What extra libs (if any) are needed if installing on antiX?

        Philosophers have interpreted the world in many ways; the point is to change it.

        antiX with runit - leaner and meaner.

        #90015
        Member
        blur13
          Helpful
          Up
          0
          ::

          To answer that I created a live USB of antix 21 full, used antix Updater, and then downloaded the package from the ftp server.

          $ sudo apt install ./telegram-desktop_4.0.2+ds-2~mx21+1_amd64.deb
          Reading package lists… Done
          Building dependency tree… Done
          Reading state information… Done
          Note, selecting ‘telegram-desktop’ instead of ‘./telegram-desktop_4.0.2+ds-2~mx21+1_amd64.deb’
          The following packages were automatically installed and are no longer required:
          gir1.2-polkit-1.0 libpolkit-agent-1-0 libpolkit-gobject-1-0
          libpolkit-gobject-elogind-1-0
          Use ‘sudo apt autoremove’ to remove them.
          The following additional packages will be installed:
          bubblewrap fonts-open-sans libabsl20200923 libgstreamer-gl1.0-0
          libjavascriptcoregtk-4.0-18 libmanette-0.2-0 libminizip1 libmng1 libopengl0
          libqt5waylandclient5 librlottie0-1 libwebkit2gtk-4.0-37 libwpe-1.0-1
          libwpebackend-fdo-1.0-1 libxcb-record0 libxcb-screensaver0
          qt5-image-formats-plugins xdg-dbus-proxy
          Recommended packages:
          gstreamer1.0-gl xdg-desktop-portal-gtk gstreamer1.0-plugins-bad
          The following NEW packages will be installed:
          bubblewrap fonts-open-sans libabsl20200923 libgstreamer-gl1.0-0
          libjavascriptcoregtk-4.0-18 libmanette-0.2-0 libminizip1 libmng1 libopengl0
          libqt5waylandclient5 librlottie0-1 libwebkit2gtk-4.0-37 libwpe-1.0-1
          libwpebackend-fdo-1.0-1 libxcb-record0 libxcb-screensaver0
          qt5-image-formats-plugins telegram-desktop xdg-dbus-proxy
          0 upgraded, 19 newly installed, 0 to remove and 0 not upgraded.
          Need to get 25.3 MB/53.5 MB of archives.
          After this operation, 185 MB of additional disk space will be used.
          Do you want to continue? [Y/n]

          I went ahead with the installation, including rec packages, and it works. The resulting memory footprint when running telegram this way is, according to ps_mem, 298.9 MiB. Running the statically linked binary provided by telegram from their website uses 424.4 MiB. Thats a big deal on an old computer with 750 MiB of ram.

          • This reply was modified 7 months ago by blur13. Reason: tested the install
          #90018
          Forum Admin
          anticapitalista
            Helpful
            Up
            0
            ::

            Thanks @blur13

            I have added the debs to antiX repo and they should appear soon in Package Installer

            Philosophers have interpreted the world in many ways; the point is to change it.

            antiX with runit - leaner and meaner.

            #90021
            Member
            blur13
              Helpful
              Up
              0
              ::

              @anticapitalista thank you!

              #90059
              Member
              olsztyn
                Helpful
                Up
                0
                ::

                If I am not confusing something here I think that installation of the additional set of libs can avoided by downloading the latest version (4.2) directly from Telegram and just decompressing folder. Telegram would be started by execution (mouse right-click Execute) of telegram file.
                This is the way I have it currently but will test also installing directly when the files become available in the repo. Currently the version is 3.1 I think…

                Live antiX Boot Options (Previously posted by Xecure):
                https://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_Parameters

                #90077
                Member
                blur13
                  Helpful
                  Up
                  0
                  ::

                  Thats true. Thats the way I have it on one of my antix 19 installs. What I’ve noticed is that the amount of memory used by such “statically linked” binaries (ie all the libraries are included at compile time) is much greater (about 33% more). That also seems to be true of Firefox.

                  https://support.mozilla.org/en-US/kb/install-firefox-linux

                  “Install from your distribution package manager (Recommended)

                  To install Firefox using your distribution package manager, please refer to your Linux distribution’s documentation.

                  This method is recommended because it ensures Firefox and all the required libraries are installed and configured optimally for your distribution.”

                  And from an efficiency standpoint it seems redundant that all programs should be statically linked. But I’m really not an expert.

                  https://stackoverflow.com/questions/311882/what-do-statically-linked-and-dynamically-linked-mean

                  #90166
                  Member
                  blur13
                    Helpful
                    Up
                    0
                    ::

                    @anticapitalista

                    FYI, I can’t find Telegram in the package installer or in the antix repos. Unsure what “soon” means in these circumstances but I thought I would let you know.

                    #90168
                    Forum Admin
                    anticapitalista
                      Helpful
                      Up
                      0
                      ::

                      http://repo.antixlinux.com/bullseye/pool/main/t/telegram-desktop/

                      Philosophers have interpreted the world in many ways; the point is to change it.

                      antiX with runit - leaner and meaner.

                      #90170
                      Member
                      blur13
                        Helpful
                        Up
                        0
                        ::

                        I see, thank you!

                        I’ve been checking my local ftp

                        http://ftp.acc.umu.se/mirror/mxlinux.org/packages/antix/bullseye/pool/main/t/

                        but I assume it will get there eventually.

                        #90180
                        Member
                        blur13
                          Helpful
                          Up
                          0
                          ::

                          Telegram-desktop installed flawlessly today directly from the antiX 21 repos. Thank you!

                          #96289
                          Member
                          blur13
                            Helpful
                            Up
                            0
                            ::

                            UPDATE

                            It seems that the debian bullseye backports version of Telegram Desktop now closely mirrors the latest release available. At least for the last couple of releases the debian backports package has been promptly updated, whereas previously it would lag considerably. This is a welcome change, as having the latest version ensures full compatibility with other users on other platforms who are invariably using the latest version. Users of antix 21/22 can install from backports by using

                            apt install -t bullseye-backports telegram-desktop

                            There is also a universal linux binary provided by Telegram themselves, but using the debian version uses a lot less memory (see comparison above).

                            #96293
                            Member
                            olsztyn
                              Helpful
                              Up
                              0
                              ::

                              Users of antix 21/22 can install from backports by using
                              apt install -t bullseye-backports telegram-desktop

                              Thanks @blur13 for highlighting the difference – static vs. dynamic.
                              Just installed on my antiX22 SID. Appears to work fine. Telegram installed version is 4.4.1 +.

                              Live antiX Boot Options (Previously posted by Xecure):
                              https://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_Parameters

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