Tiny Core Linux
Tiny Core Extensions => TCE Corepure64 => Topic started by: gam on January 15, 2021, 01:10:54 AM
-
The pavucontrol.tcz.tree has many extensions and libs . How to install all of them in one time?
-
Hi, charity!
tce-load -i pavucontrol
will install all the dependencies recursively. Dependencies are listed in Your /etc/sysconfig/tcedir/optional/pavucontrol.tcz.dep.
-
In case you're looking for a shell solution
. /etc/init.d/tc-functions
getMirror
wget ${MIRROR}/pavucontrol.tcz.tree
for file in $(cat pavucontrol.tcz.tree); do
[ -f "$file" ] || wget ${MIRROR}/${file} ${MIRROR}/${file}.md5.txt ${MIRROR}/${file}.dep
done
-
Hi charity
To download only:
tce-load -w pavucontrol
To install an already downloaded extension:
tce-load -i pavucontrol
To download, install, and add to onboot.lst:
tce-load -wi pavucontrol
To download, install, and not add to onboot.lst:
tce-load -wil pavucontrol
-
Hi polikuo
Some of those .tree files contain many duplicate entries. Reducing the list first may be faster than testing
for the same files over and over again:
. /etc/init.d/tc-functions
getMirror
wget ${MIRROR}/pavucontrol.tcz.tree
# awk '$1=$1' removes all whitespaces, sort -u sorts alphabetically and removes duplicate entries.
awk '$1=$1' pavucontrol.tcz.tree | sort -u > Extension.list
for file in $(cat Extension.list); do
[ -f "$file" ] || wget ${MIRROR}/${file} ${MIRROR}/${file}.md5.txt ${MIRROR}/${file}.dep
done
-
Thanks