Tiny Core Extensions > TCE Tips & Tricks
Howto: Vivaldi, Opera and Chrome in TC 8.x
neonix:
--- Quote from: vinceASPECT on February 12, 2019, 07:35:57 AM ---Would any of this above stuff work on TCL 6.x...........?
--- End quote ---
Here is Vivaldi browser download script for TC 6.x86. Opera and Chrome support only x64 architecture. And because 64-bit software consume more RAM I prefer 32-bit. Some websites may not work because missing certificates.
--- Quote ---if not....how do i upgrade TCL 6.x to TCL 8.x (TCL currenty boots from a CD disc)
--- End quote ---
Usually when new version of TC coming up, I simply reinstall everything from scratch. Maybe there is simple solution but I'm not advance TC user.
--- Code: ---#!/bin/busybox ash
cd /home/tc
tce-load -iw gtk3
tce-load -iw dbus
tce-load -iw dbus-glib
tce-load -iw libcups
tce-load -iw nss
cd /home/tc
wget http://ftp.debian.org/debian/pool/main/g/gconf/libgconf-2-4_3.2.6-5_i386.deb
ar x libgconf-2-4_3.2.6-5_i386.deb
cd /
sudo tar fxJ /home/tc/data.tar.xz
cd /home/tc
sudo rm -f control.tar.xz
sudo rm -f data.tar.xz
sudo rm -f debian-binary
sudo rm -f libgconf-2-4_3.2.6-5_i386.deb
cd /tmp/
wget http://downloads.vivaldi.com/stable/vivaldi-stable_1.11.917.43-1_i386.deb
ar x vivaldi-stable_1.11.917.43-1_i386.deb
tar fxJ /tmp/data.tar.xz
rm -f _gpgbuilder
rm -f control.tar.gz
rm -f data.tar.xz
rm -f debian-binary
rm -f vivaldi-stable_1.11.917.43-1_i386.deb
wget http://security.ubuntu.com/ubuntu/pool/main/o/oxide-qt/oxideqt-codecs-extra_1.21.5-0ubuntu0.14.04.1_i386.deb
ar x oxideqt-codecs-extra_1.21.5-0ubuntu0.14.04.1_i386.deb
tar fxJ /tmp/data.tar.xz
rm -f control.tar.gz
rm -f data.tar.xz
rm -f debian-binary
rm -f oxideqt-codecs-extra_1.21.5-0ubuntu0.14.04.1_i386.deb
cd usr
cd lib
cd i386-linux-gnu
cd oxide-qt
sudo cp libffmpeg.so /tmp/opt/vivaldi/lib/
cd /tmp/
sudo rm -r usr
sudo ln -s /usr/lib/i386-linux-gnu/libgconf-2.so.4.1.5 /usr/lib/libgconf-2.so.4
sudo ln -s /tmp/opt/vivaldi/vivaldi-bin /usr/local/bin/vivaldi
cd /tmp/opt/vivaldi*
./vivaldi-bin
--- End code ---
mocore:
in the case of
--- Code: ---ar x libgconf-2-4_3.2.6-5_i386.deb
--- End code ---
it is possible to avoid extracting and removing unneeded files
with
--- Code: ---ar x ./libgconf-2-4_3.2.6-5_i386.deb data.tar.xz
--- End code ---
to extract only data.tar.xz file
the `ar x $deb data.tar.xz` could even be piped to stdout and into the tar command
that would only write needed file's to disk!
additionally using `tar -C $target_dir ` option to "Change to DIR before operation" will put the extracted files in the $target_dir.
eg
--- Code: --- ar -p -x ./libgconf-2-4_3.2.6-5_i386.deb data.tar.xz | sudo tar fxJ -C /
--- End code ---
neonix:
Here is script I use in TC 7.x86 with Chromium 34 which was the last version that works with non-SSE2 procesors.
--- Code: ---#for TC 7.x86
cd /tmp/
wget http://archive.ubuntu.com/ubuntu/pool/universe/c/chromium-browser/chromium-browser_34.0.1847.116-0ubuntu2_i386.deb
ar -x ./chromium-browser_34.0.1847.116-0ubuntu2_i386.deb data.tar.xz | sudo tar fxJ data.tar.xz -C /
rm data.tar.xz
rm *.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/c/chromium-browser/chromium-codecs-ffmpeg-extra_34.0.1847.116-0ubuntu2_i386.deb
ar -x ./chromium-codecs-ffmpeg-extra_34.0.1847.116-0ubuntu2_i386.deb data.tar.xz | sudo tar fxJ data.tar.xz -C /
rm data.tar.xz
rm *.deb
wget http://security.ubuntu.com/ubuntu/pool/main/libg/libgcrypt11/libgcrypt11_1.5.3-2ubuntu4.6_i386.deb
ar -x ./libgcrypt11_1.5.3-2ubuntu4.6_i386.deb data.tar.xz | sudo tar fxJ data.tar.xz -C /
rm data.tar.xz
rm *.deb
wget http://security.debian.org/debian-security/pool/updates/main/s/systemd/libudev1_215-17+deb8u11_i386.deb
ar -x ./libudev1_215-17+deb8u11_i386.deb data.tar.xz | sudo tar fxJ data.tar.xz -C /
rm data.tar.xz
rm *.deb
wget http://ftp.debian.org/debian/pool/main/g/gconf/libgconf-2-4_3.2.6-5_i386.deb
ar -x ./libgconf-2-4_3.2.6-5_i386.deb data.tar.xz | sudo tar fxJ data.tar.xz -C /
rm data.tar.xz
rm *.deb
tce-load -iw gnutls
tce-load -iw krb5
tce-load -iw libgnome-keyring
tce-load -iw libcap
tce-load -iw libXss
tce-load -iw libXcursor
tce-load -iw gtk2
tce-load -iw libXtst
tce-load -iw libffi5
tce-load -iw dbus-glib
tce-load -iw libasound
tce-load -iw nss
tce-load -iw libXcomposite
tce-load -iw libcups
sudo ln -s /usr/lib/chromium-browser/chromium-browser /usr/local/bin/chromium
sudo ln -s /usr/local/lib/libgnutls.so.28 /usr/lib/libgnutls.so.26
sudo ln -s /lib/i386-linux-gnu/libgcrypt.so.11.8.2 /usr/lib/libgcrypt.so.11
sudo ln -s /lib/i386-linux-gnu/libudev.so.1.5.0 /usr/lib/libudev.so.1
sudo ln -s /usr/lib/i386-linux-gnu/libgconf-2.so.4.1.5 /usr/lib/libgconf-2.so.4
--- End code ---
neonix:
Here is script for Chromium 57 which I use in TC 9.x86
--- Code: ---tce-load -iw libxslt.tcz
tce-load -iw libXcomposite.tcz
tce-load -iw libXcursor.tcz
tce-load -iw libXi.tcz
tce-load -iw libXtst.tcz
tce-load -iw nss.tcz
tce-load -iw libcups.tcz
tce-load -iw libpng12.tcz
tce-load -iw libXss.tcz
tce-load -iw libXrandr.tcz
tce-load -iw atk.tcz
tce-load -iw gtk2.tcz
tce-load -iw libxslt.tcz
tce-load -iw libasound.tcz
cd /tmp
wget http://ftp.debian.org/debian/pool/main/c/chromium-browser/chromium_57.0.2987.98-1~deb8u1_i386.deb
ar -x ./*.deb data.tar.xz | sudo tar fxJ data.tar.xz -C /
rm data.tar.xz
rm *.deb
wget http://http.kali.org/kali/pool/main/libw/libwebp/libwebp6_0.6.1-2_i386.deb
ar -x ./*.deb data.tar.xz | sudo tar fxJ data.tar.xz -C /
rm data.tar.xz
rm *.deb
sudo ln -s /usr/lib/i386-linux-gnu/libwebp.so.6.0.2 /usr/lib/libwebp.so.5
ar -x ./
data.tar.xz | sudo tar fxJ data.tar.xz -C /
rm data.tar.xz
rm *.deb
wget https://http.kali.org/kali/pool/main/libw/libwebp/libwebpdemux2_0.6.1-2_i386.deb
ar -x ./*.deb data.tar.xz | sudo tar fxJ data.tar.xz -C /
rm data.tar.xz
rm *.deb
sudo ln -s /usr/lib/i386-linux-gnu/libwebpdemux.so.2.0.3 /usr/lib/libwebpdemux.so.1
wget https://http.kali.org/kali/pool/main/libw/libwebp/libwebpmux3_0.6.1-2_i386.deb
ar -x ./*.deb data.tar.xz | sudo tar fxJ data.tar.xz -C /
sudo ln -s /usr/lib/i386-linux-gnu/libwebpmux.so.3.0.1 /usr/lib/libwebpmux.so.1
rm data.tar.xz
rm *.deb
sudo ln -s /usr/lib/chromium/chromium /usr/local/bin/chromium[/td]
--- End code ---
neonix:
Here is script for Chromium 73 which I use in TC 10.x86 (I don't know why, but "MSE & WebM VP9" is disabled when I use this version.) ???
--- Code: ---tce-load -iw gcc_libs.tcz
tce-load -iw libXcomposite.tcz
tce-load -iw libXcursor.tcz
tce-load -iw libXi.tcz
tce-load -iw libXtst.tcz
tce-load -iw icu62.tcz
tce-load -iw nss.tcz
tce-load -iw libcups.tcz
tce-load -iw libevent.tcz
tce-load -iw libXss.tcz
tce-load -iw libXrandr.tcz
tce-load -iw libvpx17.tcz
tce-load -iw libopus.tcz
tce-load -iw libpulseaudio.tcz
tce-load -iw libavcodec3.tcz
tce-load -iw libpci.tcz
tce-load -iw atk.tcz
tce-load -iw gtk2.tcz
tce-load -iw at-spi2-core.tcz
tce-load -iw libasound.tcz
tce-load -iw libavformat3.tcz
tce-load -iw libxslt.tcz
tce-load -iw pcre.tcz
sudo ln -s /usr/local/lib/libevent-2.1.so.6.0.2 /usr/lib/libevent-2.0.so.5
sudo ln -s /usr/local/lib/libvpx.so.5.0.0 /usr/lib/libvpx.so.4
sudo ln -s /usr/local/lib/libavcodec.so.57.107.100 /usr/lib/libavcodec.so.57
sudo ln -s /usr/local/lib/libavformat.so.57.83.100 /usr/lib/libavformat.so.57
cd /tmp
wget http://security.debian.org/debian-security/pool/updates/main/c/chromium/chromium_73.0.3683.75-1~deb9u1_i386.deb
ar -x ./*.deb data.tar.xz | sudo tar fxJ data.tar.xz -C /
rm data.tar.xz
rm *.deb
wget https://http.kali.org/kali/pool/main/libw/libwebp/libwebpdemux2_0.6.1-2_i386.deb
ar -x ./*.deb data.tar.xz | sudo tar fxJ data.tar.xz -C /
rm data.tar.xz
rm *.deb
sudo ln -s /usr/lib/i386-linux-gnu/libwebpdemux.so.2.0.3 /usr/lib/libwebpdemux.so.2
wget https://http.kali.org/kali/pool/main/libw/libwebp/libwebpmux3_0.6.1-2_i386.deb
ar -x ./*.deb data.tar.xz | sudo tar fxJ data.tar.xz -C /
rm data.tar.xz
rm *.deb
sudo ln -s /usr/lib/i386-linux-gnu/libwebpmux.so.3.0.1 /usr/lib/libwebpmux.so.2
wget http://http.kali.org/kali/pool/main/libw/libwebp/libwebp6_0.6.1-2_i386.deb
ar -x ./*.deb data.tar.xz | sudo tar fxJ data.tar.xz -C /
rm data.tar.xz
rm *.deb
sudo ln -s /usr/lib/i386-linux-gnu/libwebp.so.6.0.2 /usr/lib/libwebp.so.6
wget http://mirrors.kernel.org/ubuntu/pool/universe/r/re2/libre2-4_20180201+dfsg-2_i386.deb
ar -x ./*.deb data.tar.xz | sudo tar fxJ data.tar.xz -C /
rm data.tar.xz
rm *.deb
sudo ln -s /usr/lib/i386-linux-gnu/libre2.so.4.0.0 /usr/lib/libre2.so.3
wget http://mirrors.kernel.org/ubuntu/pool/main/s/snappy/libsnappy1v5_1.1.7-1_i386.deb
ar -x ./*.deb data.tar.xz | sudo tar fxJ data.tar.xz -C /
rm data.tar.xz
rm *.deb
sudo ln -s /usr/lib/i386-linux-gnu/libsnappy.so.1.1.7 /usr/lib/libsnappy.so.1
wget http://mirrors.kernel.org/ubuntu/pool/universe/m/minizip/libminizip1_1.1-8build1_i386.deb
ar -x ./*.deb data.tar.xz | sudo tar fxJ data.tar.xz -C /
rm data.tar.xz
rm *.deb
sudo ln -s /usr/lib/i386-linux-gnu/libminizip.so.1.0.0 /usr/lib/libminizip.so.1
wget http://mirrors.kernel.org/ubuntu/pool/universe/o/openjpeg2/libopenjp2-7_2.3.0-1_i386.deb
ar -x ./*.deb data.tar.xz | sudo tar fxJ data.tar.xz -C /
rm data.tar.xz
rm *.deb
sudo ln -s /usr/lib/i386-linux-gnu/libopenjp2.so.2.3.0 /usr/lib/libopenjp2.so.7
get http://ftp.debian.org/debian/pool/main/i/icu/libicu57_57.1-6+deb9u2_i386.deb
ar -x ./*.deb data.tar.xz | sudo tar fxJ data.tar.xz -C /
rm data.tar.xz
rm *.deb
wget http://ftp.debian.org/debian/pool/main/libj/libjpeg-turbo/libjpeg62-turbo_1.5.1-2_i386.deb
ar -x ./*.deb data.tar.xz | sudo tar fxJ data.tar.xz -C /
rm data.tar.xz
rm *.deb
sudo ln -s /usr/lib/i386-linux-gnu/libicuuc.so.57 /usr/lib/libicuuc.so.57
sudo ln -s /usr/lib/i386-linux-gnu/libjpeg.so.62.2.0 /usr/lib/libjpeg.so.62
sudo ln -s /usr/lib/i386-linux-gnu/libicui18n.so.57 /usr/lib/libicui18n.so.57
sudo ln -s /usr/lib/i386-linux-gnu/libicudata.so.57 /usr/lib/libicudata.so.57
/usr/lib/chromium/chromium --disable-seccomp-filter-sandbox
--- End code ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version