Installing dev packages
-
Hello,
Disclaimer: newbie to UT and UBPorts, though experienced with Fedora and SailFish OS
Context: Vollaphone running OTA-15, developper mode on
Requirement: willing to use my Vollaphone as a probe for cellular coverage, similarly to what I have been doing for 5+ years with Jolla and Sony Xperia devices running SailFish OS. In that respect, trying to get developement packages (buid-essential, automake, autoconf, libtool, libssl-dev, etc) and curl package up and running.
Issue #1: "sudo apt update" fails in Terminal. I understand from Forum Topic #5747 that it's by design. Can anyone confirm?
Issue #2: installing packages through Libertine fails as well. I understand from the forum there are issues with Libertine. Can anyone confirm?
Issue #3: eventually, what would be the way forward?
Thx in advance for your kind help,
LS -
@lsrb said in Installing dev packages:
Issue #1: "sudo apt update" fails in Terminal. I understand from Forum Topic #5747 that it's by design. Can anyone confirm?
Yes i confirm. Systeme files are read only, however, if you know what's you're doing, you can make it read/write using Ubuntu Touch Tweak Tool from open store.
Issue #2: installing packages through Libertine fails as well. I understand from the forum there are issues with Libertine. Can anyone confirm?
I don't know very well Libertine, but sure there are some issue, but not only that could be yours, i think i've red that not all packages are availables through libertine.
Issue #3: eventually, what would be the way forward?
IF you know how to deal with linux files system, simpliest way is to make system files r/w like said above, and install what you need through apt.
Be aware that doing this, you get out the normal working of the system, and from then you should not do OTA updates, as it will erase what you did, and maybe could brake something.Making uTouch system r/w is not endorsed nor supported by ubports, do it at your own risks.
-
Libertine is working well for me with the Volla, although only some apps will successfully install and be somewhat usable (although usually clunky) with the small display (since the Volla does not support sending to external dislay yet).
Apps that I have tested and have been proven ok with Libertine in Volla are:
abiword, aisleriot, gedit, geary, gthumb, gtick, hardinfo, medit, mypaint, screenfetch, xournal.Gimp can be installed and works, but its gui is really unsuitable for a phone form factor.
Firefox 84 that is in the default repos crashes, but Firefox-esr 78 works.
The Midori, Qupzilla, and Epiphany-browser (aka Gnome Web) all crash or do not properly function.
Best regards,
Steve Berson -
@lsrb I may be misunderstanding what you are trying to accomplish but you do not develop directly on the phone. You develop using Clickable which uses a pre-setup docker image containing a build environment for the phone. You then install any other packages you want in the docker image via the clickable.json file or more traditional build methods. Clickable then allows you to compile them for armhf, arm64 and amd64 for debugging on the desktop without ever having to push it to the device or have separate dependencies for each device architecture.
-
@antidroid the set-up I have been using is running as a shell script triggering dbus-send and curl commands. Since there is a Terminal app, I am trying to adapt the shell script to Ubuntu Touch.
BR,
LS -
@keneda said in Installing dev packages:
@lsrb said in Installing dev packages:
Issue #1: "sudo apt update" fails in Terminal. I understand from Forum Topic #5747 that it's by design. Can anyone confirm?
Yes i confirm. Systeme files are read only, however, if you know what's you're doing, you can make it read/write using Ubuntu Touch Tweak Tool from open store.
Thx for the tip. curl package successfully installed. No system complaint so far. Will see how it turns out when OTA-16 is rolled out next month.
-
@lsrb said in Installing dev packages:
Will see how it turns out when OTA-16 is rolled out next month.
All should be overwritted
-
@keneda Based on your input, this is my expectation as well. Though, I reset the device through System Settings expecting curl to be wiped out, only to find it back after reset. I am confused. Is it not a full Factory Reset?
-
@lsrb said in Installing dev packages:
I am confused. Is it not a full Factory Reset?
Only devs can tell what exactly should do a "factory reset", i never did this, my MX4 is my daily driver since 2015, i never reseted it.
-
@lsrb It would be after an OTA that you will lose your modifications. An over the air update works by downloading an entire read only image and replacing the current one. All of your user directories are safe but not the root file system below home/phablet.