Hello,
I'm using a short script when I download the Slackware-(current) packages.
Since it works for me I want to share it. I've added a configurationfile, so anyone can adapt it to his/her requirements.
Note: I don't want to prevent anyone from buying the official DVD, but maybe you'll find it usefull to download the packages when performing a fresh install of current.
Advantage of the script is that one has less downloadsize and one can exclude package-series from downloading (in the conf-file).
Here is the configfile, it has to be saved as "getslack.conf" in the same directory as the script.
Code:
# getslack.conf
# written by markush -- markus_hutmacher@web.de
# chosing a mirror
# NOTE THAT ONLY FTP-SERVERS WILL WORK YET
# Choose an FTP-mirror near your location
mirror=ftp://ftp.gwdg.de/pub/linux/slackware/slackware64-13.37/
# choosing the architecture, 32 or 64
arch=64
# choosing the package-series to download
# possible packages are: a ap d e f k kde l n t tcl x xap y
packages="a ap d e f k kde l n t tcl x xap y"
# choose your language/country
# for example de, fr --- this is used in order to choose the correct packages of the
# kdei series
country=de
and here the script, on my computer it resides as "getslack.sh"
Code:
#!/bin/bash
# written by markush -- markus_hutmacher@web.de
echo "sourcing the getslack.conf file"
. ./getslack.conf
# configure the mirror
echo "finding out which mirror to use"
echo $mirror
# creating the download-directory
echo "creating the download-directory"
mkdir slackware$arch
cd slackware$arch
# Download the packages
for i in `echo $packages`
do
echo "creating directory $i"
mkdir $i
echo "entering directory $i"
cd $i
echo "downloading series $i"
echo "downloading ..."
wget -nv $mirror/slackware$arch/$i/*
cd ..
done
# download the packages of the kdei-series
if [ -n "$country" ]
then
echo "creating directory kdei"
mkdir kdei
echo "entering directory kdei"
cd kdei
echo "downloading the packages for kdei"
wget -nv $mirror/slackware$arch/kdei/*-$country[_-]*
fi
cd ../..
For the installation I use the bootable usb-image or create a minimal install-CD (CD1 without any packages) like here
ftp://ftp.gwdg.de/pub/linux/slackwar...nux/README.TXT explained.
I hope this will be useful.
Markus