<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[[Solved] How to download and install Apps from OpenStore via CLI?]]></title><description><![CDATA[<p dir="auto">I want to write a small bash script which can be used to auto-configure my Ubuntu Touch devices after resets to factory defaults.</p>
<p dir="auto">Is there any option available to download and install newest versions of desired apps from OpenStore via command line interface (CLI)? For example, how to install Dekko 2 via CLI?</p>
<p dir="auto">Maybe something like...</p>
<ul>
<li><code>wget https://open-store.io/api/v3/apps/dekko2.dekkan/download/xenial/dekko2_armhf.click</code></li>
<li><code>pkcon install-local --allow-untrusted /Downloads/dekko2_armhf.click</code></li>
</ul>
]]></description><link>https://forums.ubports.com/topic/1929/solved-how-to-download-and-install-apps-from-openstore-via-cli</link><generator>RSS for Node</generator><lastBuildDate>Sun, 14 Jun 2026 13:00:38 GMT</lastBuildDate><atom:link href="https://forums.ubports.com/topic/1929.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 01 Nov 2018 22:53:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [Solved] How to download and install Apps from OpenStore via CLI? on Fri, 02 Nov 2018 19:00:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/custello" aria-label="Profile: custello">@<bdi>custello</bdi></a> said in <a href="/post/14328">How to download and install Apps from OpenStore via CLI?</a>:</p>
<blockquote>
<p dir="auto">Funny fact: The <code>index.html</code> file has exactly 6.53 MB (what would be the same size as Dekko's <code>.click</code> package). Maybe <code>wget</code> just renamed the downloaded file as <code>index.html</code>?</p>
</blockquote>
<p dir="auto">Thanks to <a class="plugin-mentions-user plugin-mentions-a" href="/user/ingo" aria-label="Profile: Ingo">@<bdi>Ingo</bdi></a>'s knowledge, this is partly true! <code>wget</code> will ignore the response headers, because this is an experimental feature at that time. Therefore <code>wget</code> uses a standard name for the downloaded file, and this one will be a classic <code>index.html</code>. <img src="https://forums.ubports.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=bd2c1f0ef09" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":-)" alt="🙂" /></p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dobey" aria-label="Profile: dobey">@<bdi>dobey</bdi></a> said in <a href="/post/14339">How to download and install Apps from OpenStore via CLI?</a>:</p>
<blockquote>
<p dir="auto">The --allow-untrusted is required, because by simply downloading a click directly, you are missing the additional metadata, and are not verifying that what was downloaded, is trusted.</p>
</blockquote>
<p dir="auto">Okay, thanks a lot!</p>
<p dir="auto"><strong>So the final (working) command should be:</strong></p>
<ul>
<li><code>wget https://open-store.io/api/v3/apps/dekko2.dekkan/download/xenial/ -O /home/phablet/Downloads/dekko2.dekkan_armhf.click</code></li>
</ul>
<p dir="auto">Afterwards:</p>
<ul>
<li><code>pkcon install-local --allow-untrusted /home/phablet/Downloads/*.click</code></li>
</ul>
]]></description><link>https://forums.ubports.com/post/14341</link><guid isPermaLink="true">https://forums.ubports.com/post/14341</guid><dc:creator><![CDATA[Custello]]></dc:creator><pubDate>Fri, 02 Nov 2018 19:00:51 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] How to download and install Apps from OpenStore via CLI? on Fri, 02 Nov 2018 16:52:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/custello" aria-label="Profile: custello">@<bdi>custello</bdi></a> said in <a href="/post/14328">How to download and install Apps from OpenStore via CLI?</a>:</p>
<blockquote>
<p dir="auto">Do I need to use pkcon install-local --allow-untrusted or would it work without allow-antrusted as well?</p>
</blockquote>
<p dir="auto">The <code>--allow-untrusted</code> is required, because by simply downloading a click directly, you are missing the additional metadata, and are not verifying that what was downloaded, is trusted.</p>
]]></description><link>https://forums.ubports.com/post/14339</link><guid isPermaLink="true">https://forums.ubports.com/post/14339</guid><dc:creator><![CDATA[dobey]]></dc:creator><pubDate>Fri, 02 Nov 2018 16:52:54 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] How to download and install Apps from OpenStore via CLI? on Fri, 02 Nov 2018 09:37:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/doniks" aria-label="Profile: doniks">@<bdi>doniks</bdi></a> said in <a href="/post/14324">How to download and install Apps from OpenStore via CLI?</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/custello" aria-label="Profile: custello">@<bdi>custello</bdi></a> said in <a href="/post/14319">How to download and install Apps from OpenStore via CLI?</a>:</p>
<blockquote>
<p dir="auto">Maybe something like...</p>
</blockquote>
<p dir="auto">looks ok. does it work?</p>
</blockquote>
<ul>
<li>
<p dir="auto">Let's assume I always want to downoad the newest version of respective <code>.click</code>-packages. Therefore I can not use the URL of a specific version, but have to use the overall URL to the package. Hereby I am not sure if this attempt could work with <code>wget</code>, because the following user prompt appears when opening the URL <code>https://open-store.io/api/v3/apps/dekko2.dekkan/download/xenial/</code> in browser:</p>
<p dir="auto"><img src="/assets/uploads/files/1541148746124-screenshot-from-2018-11-02-08-51-44.png" alt="0_1541148744700_Screenshot from 2018-11-02 08-51-44.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">It seems that opening the URL in browser will forward the user to the actual file. I am not sure if <code>wget</code> could handle that request correctly, because the URL does not refer to the file directly. I've tried it in terminal, hereby <code>wget</code> mistakenly downloaded the <code>index.html</code>-file instead of the desired <code>.click</code>-file. <img src="https://forums.ubports.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=bd2c1f0ef09" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":-)" alt="🙂" /> Funny fact: The <code>index.html</code> file has exactly 6.53 MB (what would be the same size as Dekko's <code>.click</code> package). Maybe <code>wget</code> just renamed the downloaded file as <code>index.html</code>?</p>
</li>
<li>
<p dir="auto">Do I need to use <code>pkcon install-local --allow-untrusted</code> or would it work without <code>allow-antrusted</code> as well?</p>
</li>
</ul>
]]></description><link>https://forums.ubports.com/post/14328</link><guid isPermaLink="true">https://forums.ubports.com/post/14328</guid><dc:creator><![CDATA[Custello]]></dc:creator><pubDate>Fri, 02 Nov 2018 09:37:30 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] How to download and install Apps from OpenStore via CLI? on Fri, 02 Nov 2018 04:48:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/custello" aria-label="Profile: custello">@<bdi>custello</bdi></a> said in <a href="/post/14319">How to download and install Apps from OpenStore via CLI?</a>:</p>
<blockquote>
<p dir="auto">Maybe something like...</p>
</blockquote>
<p dir="auto">looks ok. does it work?</p>
]]></description><link>https://forums.ubports.com/post/14324</link><guid isPermaLink="true">https://forums.ubports.com/post/14324</guid><dc:creator><![CDATA[doniks]]></dc:creator><pubDate>Fri, 02 Nov 2018 04:48:26 GMT</pubDate></item></channel></rss>