Tiny Core Base > TCB Q&A Forum
Repo
marcopolo1981:
Hi all.
I was just wondering if it was possible to download the full repo so that it can be accessed without internet.
I know each package can be installed once in the live environment, but I only have wireless and TC doesn't want to connect to anything.
Is there an apt-on-cd equivelant for this distro?
TIA
Mark
gerald_clark:
The application browser has a local install option that can install from any mounted device.
perthie:
--- Quote from: marcopolo1981 on November 03, 2009, 10:34:09 AM ---I was just wondering if it was possible to download the full repo so that it can be accessed without internet.
--- End quote ---
I wanted to try this myself, but I couldn't find a list of all the extensions in the repo. So I made one as follows:
1. Point your browser to ftp://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/2.x/tcz/
2. Select all the text and copy it to a file named templist.
3. Open templist and delete the first four lines.
4. Run this command: cat templist | cut -f 1 > extlist
This will make a file named extlist containing a complete list of all the files in the repo.
5. To download them in a batch, use this little script:
#!/bin/sh
LIST=`cat extlist`
for L in $LIST; do
wget ftp://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/2.x/tcz/$L
done
OR
If you don't need the support files (.list, .info, .md5.txt), ignore Steps 1-4 and use this script instead:
#!/bin/sh
tce-fetch.sh info.lst
LIST=`cat info.lst`
for L in $LIST; do
wget ftp://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/2.x/tcz/$L
wget ftp://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/2.x/tcz/$L.dep 2> /dev/null
done
gerald_clark:
Here is my getrepo.
Put it in the directory you want to save your repo, and run it.
--- Code: ---#!/bin/bash
getrepo() {
echo "getting $1$2"
lftp -e "open $1 && mirror --delete -c $3 $2 && exit"
}
MIRROR=distro.ibiblio.org/pub/linux/distributions/tinycorelinux
mkdir 2.x 2>/dev/null
cd 2.x
getrepo "ftp://$MIRROR/2.x/" "tcz" "-x src -x temp"
getrepo "ftp://$MIRROR/2.x/" "release"
getrepo "ftp://$MIRROR/2.x/" "release_candidates"
getrepo "ftp://$MIRROR/2.x/" "archive"
--- End code ---
Guy:
--- Quote ---I was just wondering if it was possible to download the full repo so that it can be accessed without internet.
I know each package can be installed once in the live environment, but I only have wireless and TC doesn't want to connect to anything.
--- End quote ---
You can install Tiny Core without being connected to the internet.
[removed due to policy violation]/install.html
You can install programs without being connected to the internet.
[removed due to policy violation]/install-programs.html
If you use this method, you only need to install extension(s) you need to connect to the internet, to get it working. Then you can use the regular method for everything else.
Navigation
[0] Message Index
[#] Next page
Go to full version