You are not logged in.

#1 2012-11-08 18:07:23

TuxLyn
Member
From: United States
Registered: 2011-10-26
Posts: 283

ArchDL -- Download Latest Arch Linux ISO Image from Mirror

Hey guys, here is my ArchISO script. To download latest version of iso image from a mirror. I will add more countries/mirros ones I have time. Right now there is only "United States" mirrors. Enjoy.

EDIT: Alright scrip now know as "ArchDL", and you can find it at
https://github.com/GoTux/Bash/blob/master/archdl.sh

Last edited by TuxLyn (2012-11-08 19:42:32)


::: Using Arch Linux Since October 25, 2011 :::
::: Tutorials: http://distrogeeks.com/ :::

Offline

#2 2012-11-08 18:58:39

ataraxia
Member
From: Pittsburgh
Registered: 2007-05-06
Posts: 1,553

Re: ArchDL -- Download Latest Arch Linux ISO Image from Mirror

You may want to consider a name change for this. "archiso" is actually the name of the software used to create these ISO images, and it's a package in [extra].

Offline

#3 2012-11-08 19:32:05

TuxLyn
Member
From: United States
Registered: 2011-10-26
Posts: 283

Re: ArchDL -- Download Latest Arch Linux ISO Image from Mirror

Woops my bad, I will change it. thanks ataraxia.

Last edited by TuxLyn (2012-11-08 19:42:15)


::: Using Arch Linux Since October 25, 2011 :::
::: Tutorials: http://distrogeeks.com/ :::

Offline

#4 2012-11-09 11:40:24

Pranavg1890
Member
From: Nagpur,India
Registered: 2012-09-07
Posts: 114

Re: ArchDL -- Download Latest Arch Linux ISO Image from Mirror

Hi can you add the option of installing it to usb also, cause it is the main problem right now. Many softwares which used to work with arch live cd  do not work from the time arch has switched to dual architecture cd.Also, to create a usb which can 
be used as a live usb and at same time can store other files requires great efforts. Please have a look at this wiki page for more information on how to do that:

https://wiki.archlinux.org/index.php/US … _USB_drive


Using Openbox + Tint2 + Idesk

Offline

#5 2012-12-19 10:04:35

TuxLyn
Member
From: United States
Registered: 2011-10-26
Posts: 283

Re: ArchDL -- Download Latest Arch Linux ISO Image from Mirror

@Pranavg1890, I'll see what I can do. Also, I've created wiki pages at github for all the scripts I released.


::: Using Arch Linux Since October 25, 2011 :::
::: Tutorials: http://distrogeeks.com/ :::

Offline

#6 2012-12-19 16:28:25

chris_l
Member
Registered: 2010-12-01
Posts: 390

Re: ArchDL -- Download Latest Arch Linux ISO Image from Mirror

TuxLyn wrote:

@Pranavg1890, I'll see what I can do. Also, I've created wiki pages at github for all the scripts I released.

Really? This script is to download the iso, right? so, maybe I'm wrong, but I think downloading the iso and install it to an usb has nothing to do.
Or are you going to create another script to do that?

Anyway, about the downloading script.

What if it parsed the download page, to get all links listed there? With something like:

curl -s 'https://www.archlinux.org/download/' |sed -n '/id="download-mirrors"/,/\/div/ {/href/ s/.*href="\([^"]*\).*/\1/p; /h5/ s/.*<h5.*> \([^<]*\).*/\1/p}'

You could get the list of links.

Also, check this: http://grulos.blogspot.mx/2007/10/find- … irror.html
Is an script to find the fastest mirror from a list of urls.

To be really useful the script, it would be better if it autoselected the fastest mirror for you, instead of waiting for you to tell it which mirror to use.

So, what you think?


"open source is about choice"
No.
Open source is about opening the source code complying with this conditions, period. The ability to choose among several packages is just a nice side effect.

Offline

#7 2012-12-19 16:41:16

TuxLyn
Member
From: United States
Registered: 2011-10-26
Posts: 283

Re: ArchDL -- Download Latest Arch Linux ISO Image from Mirror

@chris_I, Thanks for the comments, suggestions but if you have time, you're welcome to fork it on git and do it smile


::: Using Arch Linux Since October 25, 2011 :::
::: Tutorials: http://distrogeeks.com/ :::

Offline

#8 2013-07-18 01:49:12

TuxLyn
Member
From: United States
Registered: 2011-10-26
Posts: 283

Re: ArchDL -- Download Latest Arch Linux ISO Image from Mirror

I've removed this script for now, will code new one later.


::: Using Arch Linux Since October 25, 2011 :::
::: Tutorials: http://distrogeeks.com/ :::

Offline

Board footer

Powered by FluxBB