Diff for "JigdoDownloadHowto"


Differences between revisions 10 and 35 (spanning 25 versions)
Revision 10 as of 2007-03-18 14:05:49
Size: 2939
Editor: abo-123-249-68
Comment: installation command correction
Revision 35 as of 2022-08-08 20:08:47
Size: 4120
Editor: arraybolt3
Comment: Edited out a redundancy I just created.
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
||<tablestyle="float:right; font-size: 0.9em; width:40%; background:#F1F1ED; margin: 0 0 1em 1em;" style="padding:0.5em;">'''Contents'''[[BR]][[TableOfContents(2)]]|| ||<tablestyle="float:right; font-size: 0.9em; width:40%; background:#F1F1ED; margin: 0 0 1em 1em;" style="padding:0.5em;"><<TableOfContents(2)>>||

== Notice ==

Jigdo is no longer used for the latest Ubuntu images. It has been replaced by zsync, which does much the same job. If you're interested in downloading daily ISO files for Ubuntu and keeping them up-to-date efficiently, refer to [[ZsyncCdImage]].
Line 4: Line 8:
Jigdo (JIGsaw-DOwnload) can be used to efficiently download daily CD builds or update existing .iso images without the need to re-download the entire CD image. It simply checks for differences or updates between an existing CD image (on your system) and the latest released image. Jigdo (JIGsaw-DOwnload) can be used to efficiently download daily alternate CD builds or update existing alternate .iso images without the need to re-download the entire CD image. It simply checks for differences or updates between an existing CD image (on your system) and the latest released image.
Line 9: Line 13:
sudo aptitude install jigit jigdo jigdo-file sudo apt-get install jigdo-file
Line 12: Line 16:
== Use & Example using Ubuntu 6.04 (Dapper Drake) == == Use & Example downloading Ubuntu 12.04 (Precise Pangolin) ==
Line 24: Line 29:
Copyright (C) 2001-2004 | jigdo@ Copyright (C) 2001-2005 | jigdo@
Line 33: Line 38:
'''jigdo''': jigdo: 
Line 36: Line 41:
In this situation we'll use [http://cdimage.ubuntulinux.org/daily/current/dapper-install-i386.jigdo Current Daily Build] (copy link-location & paste into prompt above) In this situation we'll use [[http://cdimage.ubuntu.com/precise/daily/current/precise-alternate-i386.jigdo|Alternate install CD for PC (Intel x86) computers]] (copy link-location & paste into prompt above)
Line 39: Line 44:
Jigdo will then download a copy of the .jigdo file and prompt you for any previous images you have to base the download from. Here you can point Jigdo to an existing burned copy of the CD image. (ie; /media/cdrom) Jigdo will then download a copy of the .jigdo file and prompt you for any previous images you have to base the download from. Here you can point Jigdo to an existing burned copy of the CD image, or loop-mounted ISO image (see MountIso). (eg. /media/cdrom or /media/cdimage)
Line 51: Line 56:
If you didn't burn the old image to a CD, you can loop-mount it (see MountIso)
{{{
sudo mkdir /media/cdimage
sudo mount -o loop precise-alternate-i386.iso /media/cdimage
}}}
Line 56: Line 67:
Copied input files to temporary file `dapper-install-i386.iso.tmp' - repeat command and supply more files to continue Copied input files to temporary file `precise-alternate-i386.iso.tmp' - repeat command and supply more files to continue
Line 63: Line 74:
=== Update Precise Pangolin daily alternate iso image, terminal commands ===

To upgrade from an already dl Precise Pangolin iso image with less jigdo-lite confirmation use the terminal commands below:
{{{
sudo mkdir /media/cdimage
mv precise-alternate-i386.iso precise-alternate-i386.iso.old
sudo mount -o loop precise-alternate-i386.iso.old /media/cdimage
jigdo-lite --scan /media/cdimage --noask http://cdimage.ubuntu.com/daily/current/precise-alternate-i386.jigdo
sudo umount /media/cdimage; sudo rm precise-alternate-i386.iso.old
}}}
Line 64: Line 86:
 * ["BurningIsoHowto"] Instructions on Burning the finished CD image

CategoryDocumentation
 * [[BurningIsoHowto]] Instructions on Burning the finished CD image
 * [[MountIso]] Loop mounting a CD image without burning it
 * [[ZsyncCdImage]] Update iso image using zsync

Notice

Jigdo is no longer used for the latest Ubuntu images. It has been replaced by zsync, which does much the same job. If you're interested in downloading daily ISO files for Ubuntu and keeping them up-to-date efficiently, refer to ZsyncCdImage.

Definition

Jigdo (JIGsaw-DOwnload) can be used to efficiently download daily alternate CD builds or update existing alternate .iso images without the need to re-download the entire CD image. It simply checks for differences or updates between an existing CD image (on your system) and the latest released image.

Installation

Install the required packages for Jigdo.

sudo apt-get install jigdo-file

Use & Example downloading Ubuntu 12.04 (Precise Pangolin)

Start the program from the terminal:

jigdo-lite

Supply the .jigdo file

The program then asks you for the URL to the .jigdo template you want to download.

Jigsaw Download "lite"
Copyright (C) 2001-2005  |  jigdo@
Richard Atterer          |  atterer.net
Getting mirror information from /etc/apt/sources.list

-----------------------------------------------------------------
To resume a half-finished download, enter name of .jigdo file.
To start a new download, enter URL of .jigdo file.
You can also enter several URLs/filenames, separated with spaces,
or enumerate in {}, e.g. `http://server/cd-{1_NONUS,2,3}.jigdo'
jigdo: 

In this situation we'll use Alternate install CD for PC (Intel x86) computers (copy link-location & paste into prompt above)

Supply previous CD image

Jigdo will then download a copy of the .jigdo file and prompt you for any previous images you have to base the download from. Here you can point Jigdo to an existing burned copy of the CD image, or loop-mounted ISO image (see MountIso). (eg. /media/cdrom or /media/cdimage)

If you already have a previous version of the CD you are
downloading, jigdo can re-use files on the old CD that are also
present in the new image, and you do not need to download them
again. Mount the old CD ROM and enter the path it is mounted under
(e.g. `/mnt/cdrom').
Alternatively, just press enter if you want to start downloading
the remaining files.

If you didn't burn the old image to a CD, you can loop-mount it (see MountIso)

sudo mkdir /media/cdimage
sudo mount -o loop precise-alternate-i386.iso /media/cdimage

Comparing files

Jigdo then scans the existing files & compares them with the latest copies from the .jigdo template.

Found xxxx of the xxxx files required by the template
Copied input files to temporary file `precise-alternate-i386.iso.tmp' - repeat command and supply more files to continue

At this point you can include any additional sources you might have (optional) or press ENTER to continue to the next step.

If you have no additional sources you can press ENTER twice and it will download the remaining packages that it needs. This, again, significantly cuts down on bandwidth and download time & easily keeps you up to date on the latest daily builds.

Update Precise Pangolin daily alternate iso image, terminal commands

To upgrade from an already dl Precise Pangolin iso image with less jigdo-lite confirmation use the terminal commands below:

sudo mkdir /media/cdimage
mv precise-alternate-i386.iso precise-alternate-i386.iso.old
sudo mount -o loop precise-alternate-i386.iso.old /media/cdimage
jigdo-lite --scan /media/cdimage --noask http://cdimage.ubuntu.com/daily/current/precise-alternate-i386.jigdo
sudo umount /media/cdimage; sudo rm precise-alternate-i386.iso.old

JigdoDownloadHowto (last edited 2022-08-08 20:08:47 by arraybolt3)