<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=6951&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Install packages / software to an offline machine...]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=6951</link>
		<description><![CDATA[The most recent posts in Install packages / software to an offline machine....]]></description>
		<lastBuildDate>Wed, 04 Dec 2024 09:32:21 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Install packages / software to an offline machine...]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=53256#p53256</link>
			<description><![CDATA[<p>@steve_v, yes apparrently the local package install has been a feature since APT 1.1 (released in 2015). You have to specify the full path or it searches a remote repository.&#160; &#160;I didn&#039;t know about that one - dpkg always worked for me though I suppose.</p>]]></description>
			<author><![CDATA[dummy@example.com (blackhole)]]></author>
			<pubDate>Wed, 04 Dec 2024 09:32:21 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=53256#p53256</guid>
		</item>
		<item>
			<title><![CDATA[Re: Install packages / software to an offline machine...]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=53234#p53234</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>So that means I have to do an apt-cache depends ( and download the dependencies ) for each dependence of the desired program ? 😭</p></div></blockquote></div><p>That&#039;s what I do, but as Steve_V rightly said if you have an active connection apt can do it for you. </p><p>There is a way to have apt resolve depends using local packages, and that&#039;s if you have set up an offline repo of your own.</p><p> I did this years ago when gnome 2 was transitioning to gawdawful 3, I downed the entire repo including all gnome 2 packages and set myself up an offline repo in case I ever wanted more programs in the gnome 2 system I was using at the time.</p>]]></description>
			<author><![CDATA[dummy@example.com (greenjeans)]]></author>
			<pubDate>Tue, 03 Dec 2024 15:18:16 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=53234#p53234</guid>
		</item>
		<item>
			<title><![CDATA[Re: Install packages / software to an offline machine...]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=53228#p53228</link>
			<description><![CDATA[<div class="quotebox"><cite>blackhole wrote:</cite><blockquote><div><p>You cannot use apt / apt-get / aptitude to install a deb file directly.</p></div></blockquote></div><p>AFAIK aptitude can&#039;t install from a file, but apt/apt-get has supported this for years. It&#039;ll even resolve dependencies for local packages (but not <em>using</em> local packages, at least not automatically, same as dpkg).</p>]]></description>
			<author><![CDATA[dummy@example.com (steve_v)]]></author>
			<pubDate>Tue, 03 Dec 2024 11:12:43 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=53228#p53228</guid>
		</item>
		<item>
			<title><![CDATA[Re: Install packages / software to an offline machine...]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=53225#p53225</link>
			<description><![CDATA[<p>Thank you <a href="https://dev1galaxy.org/profile.php?id=5884" rel="nofollow">blackhole</a> &amp; <a href="https://dev1galaxy.org/profile.php?id=4683" rel="nofollow">greenjeans</a></p><p>So that means I have to do an <span class="bbc">apt-cache depends</span> ( and download the dependencies ) for each dependence of the desired program ? 😭</p>]]></description>
			<author><![CDATA[dummy@example.com (SpongeBOB)]]></author>
			<pubDate>Tue, 03 Dec 2024 07:32:39 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=53225#p53225</guid>
		</item>
		<item>
			<title><![CDATA[Re: Install packages / software to an offline machine...]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=53211#p53211</link>
			<description><![CDATA[<p>^^^^The above reply by blackhole is how I have always done offline installs of .deb packages myself. Just got to check that list of depends and make sure you got &#039;em all, if so, this is by far the fastest way to install.</p>]]></description>
			<author><![CDATA[dummy@example.com (greenjeans)]]></author>
			<pubDate>Mon, 02 Dec 2024 17:26:01 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=53211#p53211</guid>
		</item>
		<item>
			<title><![CDATA[Re: Install packages / software to an offline machine...]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=53210#p53210</link>
			<description><![CDATA[<p><span class="bbs">You cannot use apt / apt-get / aptitude to install a deb file directly.</span></p><p><span class="bbs">The</span> One such tool for this is the package manager, dpkg.</p><p>To install offline, get the packages, including all of the dependencies along with the dependencies of the &quot;recommends&quot;, if you feel you will need those as well (you most likely will), and put them all in one directory within your $HOME, cd to that directory, then:</p><div class="codebox"><pre><code># dpkg -i *deb</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (blackhole)]]></author>
			<pubDate>Mon, 02 Dec 2024 16:09:45 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=53210#p53210</guid>
		</item>
		<item>
			<title><![CDATA[Install packages / software to an offline machine...]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=53209#p53209</link>
			<description><![CDATA[<p>Hi,</p><p>I would like to easily install some software/packages to an offline rpi <a href="https://arm-files.devuan.org/RaspberryPi%20Latest%20Builds/rpi-4-devuan-daedalus-6.1.93-arm64-ext4-2024-12-02-0302.zip" rel="nofollow">devuan</a></p><p>I&#039;ve heard of <span class="bbc">apt-offline</span> that seem good for this purpose.<br />obviously it need to be installed to the offline machine.</p><p>so on the online machine I did</p><div class="codebox"><pre><code>$ apt-cache depends apt-offline
apt-offline
  Depends: &lt;python3:any&gt;
    python3
  Depends: apt
  Depends: less
  Depends: python3-magic
  Recommends: debian-archive-keyring
  Recommends: python3-debianbts
  Recommends: python3-apt</code></pre></div><p>then to get the <strong>.deb</strong> files,&#160; and move them the offline machine.</p><div class="codebox"><pre><code>$ apt-get download python3-magic apt-offline</code></pre></div><p>once the deb file on the offline machine I did:</p><div class="codebox"><pre><code>$ apt install /path/python3-magic_2%3a0.4.20-3_all.deb
success #I don&#039;t remember the ouput by heart :)

$ apt install /path/apt-offline_1.8.2-2_all.deb
#error, see here after</code></pre></div><p><span class="bbc">apt</span> wanted to install automatically 9 other packages (iso-codes python-apt-common - python3-apt python3-debianbts etc... )<br />Of course as this machine is offline, it failed...</p><p>but why now, it want to dw other packages that are not listed with <span class="bbc">apt-cache depends</span> ??????</p><p>Thanks.</p>]]></description>
			<author><![CDATA[dummy@example.com (SpongeBOB)]]></author>
			<pubDate>Mon, 02 Dec 2024 11:32:44 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=53209#p53209</guid>
		</item>
	</channel>
</rss>
