wget to download Ubuntu Repo
24,899
First you should find a fast mirror geographically near you, example se.archive.ubuntu.com (Sweden) or no.archive.ubuntu.com (Norway), just put your country code instead of se or no so you can download fast.
Then wget --recursive http://se.archive.ubuntu.com/ubuntu/
When you use the --recursive option wget fetches all files and everything in all the subdirectories.
However, the Ubuntu package repository is HUGE, so sure you have enough disk space.
Related videos on Youtube
Author by
Lexicon
Updated on September 18, 2022Comments
-
Lexicon over 1 year
I'm setting up an offline Ubuntu Repo and I need to download the Ubuntu repo using a windows machine. I have access to WGET.exe . What is the command to do this?
Thanks in Advance.
-
Uri Herrera over 12 yearsI don't know how wget works in widnows but in Ubuntu or Linux, you put it like this
wget andtheURLofthefile
, i suppose if Wget for windows allows you to put the URL of the files you want to download, well do that. -
Lexicon over 12 yearsunderstood, I guess the part that i'm not sure of is what do I want to download (URL) for 10.04 supporting an i386 host.
-
Anonymous over 12 yearsType
wget --help
orman wget
for information about wget. The Ubuntu repository is huge, it contains over 55000 packages. You can use the --recursive to download all files in all directories. -
Uri Herrera over 12 years@Anonymous he is Using Wget for Windows not in Ubuntu. Commands won't work.
-
Lexicon over 12 yearsThe commands are the same. help does work. I waned to know is what the address of the repository would be to download everything needed to support 10.04 i386 platform offline. for instance what would the command using wget in linux to do this? I can modify it to work in windows.
-
BlitZz over 12 years@UriHerrera wget should work the same on Windows, it's a command-line utility all the same.
-
Uri Herrera over 12 yearsAh true, just used it.
-
-
Lexicon over 12 yearswhere can I find a list of mirrors
-
Anonymous over 12 years@Lexicon, just use XX.archive.ubuntu.com where XX is a two-letter country code. See ISO 3166-1 alpha-2 country codes.
-
Anwar almost 12 years@Anonymous, Can you say how HUGE is Ubuntu repository.Just a curiosity
-
Anonymous almost 12 years@AnwarShah, around 40000 packages compiled for both 32-bit and 64-bit aswell as source code. Debian (of which Ubuntu is a derivative) is 73 CDs or 11 DVDs, so expect at least 50 gigabyte.
-
becko almost 10 yearsthat command also downloads icons, html pages, etc, that are not part of the repository. Is there a better command?
-
forgivenson about 7 yearsadding "-A rpm" seems to reject anything that isn't an rpm