-2

How to fill apt-cache of all programs.
Download the entire Ubuntu Software center into apt cache for offline use.

sudo apt-get install --download-only *
  • Deb files.
  • Size Don't Matter
  • Binary 64x deb package (amd64), of the programs for LTS release Jammy Jellyfish is enough

How to Download entire Ubuntu Software Repository of programs, in to apt cache, for easy offline use when no internet connection is available ?

cd /var/cache/apt/archives/
ls

this list the packages. I would like to fill this up with every program there is. The entire software archive.

I tried

sudo apt-get install --download-only *

That should of done it.

An example is osdisk.com. It had 10 DVDs with the program deb files on it that gets copied in to the cache from the DVDs, ready for possibly installing one day or not.

Download the entire Ubuntu Software center into apt cache for offline use

Keryx the accepted answer is not the answer am after. Nor is APToncd. How can I install software or packages without Internet (offline)? Keryx

Working, easy and explainable is also part of the answer, Entirely explainable by the answerer and the entire software achieve not a couple of selected programs.

Last time: This would be the function i require

sudo apt-get install --download-only *
abc
  • 116

1 Answers1

4

Apt-mirror

sudo apt install apt-mirror

Create a Source list

sudo su

Remove wrong ones from the configure file

sed -i '17,27d' /etc/apt/mirror.list

Insert correct ones

echo " deb http://archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse deb http://archive.canonical.com/ubuntu/ jammy partner " >> /etc/apt/mirror.list

Start Mirroring

apt-mirror

Apt-mirror has finished downloading the archive. What now! where from here to use for offline installation?

abc
  • 116