UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    How to add new programs to apt

    Scheduled Pinned Locked Moved Unsolved Support
    12 Posts 5 Posters 1.1k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • M Offline
        metty @stanwood
        last edited by

        @stanwood Thanks... It's a pity that this is exactly the kind of thing I find so cool about Linux. That you have a packet manager, and the programs can use each other.
        Is a program via the Openstore also accessible in the console?
        So is there an other way to install for example pass on my device?

        TotalSonicT 1 Reply Last reply Reply Quote 1
        • TotalSonicT Offline
          TotalSonic @metty
          last edited by

          @metty - you can create a Libertine container (either via the Terminal, or the Libertine gui in the System Settings), then download into your Downloads folder a deb built for Ubuntu 16.04 (either arm64, or armhf if you are using an older 32bit device) - and then install it using either the Terminal or the Libertine gui.

          Info here - http://docs.ubports.com/en/latest/userguide/dailyuse/libertine.html

          Best regards,
          Steve Berson

          M 1 Reply Last reply Reply Quote 2
          • M Offline
            metty @TotalSonic
            last edited by metty

            @totalsonic Thanks steve! I will try that.

            1 Reply Last reply Reply Quote 0
            • N Offline
              nero355 @stanwood
              last edited by nero355

              @stanwood said in How to add new programs to apt:

              @metty Ubuntu Touch doesn't work the same way as Ubuntu.
              It is strongly not recommended to use apt to install software. (as it won't work and may brick your device)
              Rather use the openstore, or use a libertine container.

              To be honest I think it's really a shame that after all these years PostmarketOS seems to be the only option that offers a full blown Linux experience in combination with a phone instead of Ubuntu Touch which was the perfect candidate to offer that experience! 😢

              My phones :

              • BQ Aquaris E5 HD Ubuntu Phone Edition - Ubuntu Touch 16.04 LTS
              • ZUK Z2 Pro - ZUI Android 8.x
              • Xiaomi Mi 9T - Jolla SailFish 3.4.x Community Build

              P.S. : I am NOT a developer! ;)

              1 Reply Last reply Reply Quote 0
              • 6 Offline
                6mv @stanwood
                last edited by

                Hi @stanwood.

                Can you tell me how to do this? I have no idea, unfortunately, yet.
                I am trying to install firefox and signal and a video recording app.
                Ta,
                Alex

                stanwoodS 1 Reply Last reply Reply Quote 0
                • stanwoodS Offline
                  stanwood @6mv
                  last edited by

                  @6mv To start, go into settings => System => Libertine => Get started. Name your container and define a password if you wish.

                  Installation might take some time.

                  Currently Ubuntu Touch is still using Xenial (16.04) repositories.

                  Please read carefully the documentation:

                  https://docs.ubports.com/en/latest/userguide/dailyuse/libertine.html

                  Redmi Note 9S Stable
                  If God has a computer, it must be a GNU/Linux

                  6 1 Reply Last reply Reply Quote 0
                  • 6 Offline
                    6mv @stanwood
                    last edited by

                    Thanks @stanwood.
                    Can't make any sense. App options don't work, don't have a clue what these commands can be run. What is container name?

                    stanwoodS 1 Reply Last reply Reply Quote 0
                    • stanwoodS Offline
                      stanwood @6mv
                      last edited by

                      @6mv said in How to add new programs to apt:

                      Thanks @stanwood.
                      What is container name?

                      The name you want to give to your container (ex: Entertainment, Private, Professional tools, or whatever you like)

                      Btw, as I'm not using desktop apps on my device, maybe other members would better help than me....

                      Redmi Note 9S Stable
                      If God has a computer, it must be a GNU/Linux

                      M 1 Reply Last reply Reply Quote 0
                      • M Offline
                        metty @stanwood
                        last edited by metty

                        @stanwood What I did is now:

                        #!/bin/bash
                        # create the container:
                        libertine-container-manager create -i pcapps -n pcapps
                        # install pass
                        libertine-container-manager install-package -p pass
                        

                        I copyed also all my encrypted passwords to /home/phablet/.password-store
                        Then executed:

                        libertine-launch -i pcapps pass
                        

                        Now I got the following:

                        ERROR: ld.so: object 'libtls-padding.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
                        ERROR: ld.so: object 'libtls-padding.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
                        : DISPLAY environment variable not set!
                        ERROR: ld.so: object 'libtls-padding.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
                        Error: password store is empty. Try "pass init".
                        

                        Also I tried to copy the passwords to:

                        ~/.cache/libertine-container/pcapps/rootfs/home/
                        

                        No success.. Where do I have to copy them? 👽 Or in other words: Where is the home which sees the program in the container?

                        M 1 Reply Last reply Reply Quote 0
                        • M Offline
                          metty @metty
                          last edited by

                          @metty
                          I haven't gotten that far, and I'm not yet able to use my passwords with Unix Pass on my Ubuntu Touch device, which currently forces me to always have two phones with me.

                          Is there something I am doing wrong? I was able to initialize the program with pass, but I can't generate and save passwords. Its generating one but the list remains empty. Among many 'libtls-padding.so' errors.

                          @stanwood You write: It is strongly not recommended to use apt to install software. (as it won't work and may brick your device)
                          But back to the main topic. How do I do it? Even if it may brick my device. Better than no device. That would be the case if a such a simple thing like pass do not work on a ubuntu-phone.

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post