Tiny Core Base > CorePlus

Help for Newbie: offline installation of tcz packages in texmode

<< < (3/3)

Tambry:
my life got very busy lately...but at least I installed Tiny Core on a USB Stick. Attached you see the installation options used - and it boots nicely.
I tried to get all needed info from the 'Book' but i have to confess that it confused me more than it enlightened me. So I now come back with my question:
The installation (as I said: in CLI and without internet) is done by tce-load, right? and I will take the corresponding package (for example 'nano.tcz') from http://tinycorelinux.net/15.x/x86_64/tcz/? How will dependencies be handled?

Rich:
Hi Tambry

--- Quote from: Tambry on September 19, 2024, 03:22:58 PM --- ... The installation (as I said: in CLI and without internet) is done by tce-load, right? ...
--- End quote ---


--- Code: ---tce-load -i nano
--- End code ---
This installs nano from your tce/optional directory. That's a copy of nano
that you already downloaded.


--- Code: ---tce-load -w nano
--- End code ---
This downloads nano from our repository into your tce/optional directory.
You need an internet connection for that.


--- Code: ---tce-load -wi nano
--- End code ---
This:
1. Downloads nano if it's not present in your tce/optional directory.
2. Installs nano if it's present in your tce/optional directory.
3. Adds  nano.tcz  to your  onboot.lst  file if not already present.


--- Quote --- ... How will dependencies be handled?
--- End quote ---
tce-load resolves dependencies by fetching  ExtensionName.tcz.dep  if it
exists. For each entry in that file, it checks if a  .dep  file exists and then
downloads it. It does the same for all  .dep  files to determine which
extensions need to be downloaded/installed.

Tambry:
Hi Rich, thanks for your assistance...

--- Quote from: Rich on September 19, 2024, 05:12:31 PM ---
--- Code: ---tce-load -i nano
--- End code ---

--- End quote ---
...gives "nano.tcz not found!"


--- Quote ---
--- Code: ---tce-load -w nano
--- End code ---

--- End quote ---
...tries to download nano.tcz and then wget complains about a bad address of the repo...obviously because I am in textmode only without internet


--- Quote ---
--- Code: ---tce-load -wi nano
--- End code ---

--- End quote ---
...same as before


I read the instructions twice and still dont know what the tce/optional directory is and what it does.
My aim was just to have a small, text-based Linux installation on a USB drive where I can install the necessary packages, configure the NICs, SAMBA, mdadm and ssh-server :( But the learning curve of TC is massive

    [Edit]: Fixed code tags.  Rich

Rich:
Hi Tambry

--- Quote from: Tambry on September 22, 2024, 12:47:39 PM --- ... wget complains about a bad address of the repo...obviously because I am in textmode only without internet ...
--- End quote ---
Textmode has nothing to do with it.

Check that the repo address is correct:

--- Code: ---tc@E310:~$ cat /opt/tcemirror
http://repo.tinycorelinux.net/
tc@E310:~$
--- End code ---

If it's not, then do this:

--- Code: ---echo "http://repo.tinycorelinux.net/" > /opt/tcemirror
--- End code ---

And run a backup:

--- Code: ---filetool.sh -b
--- End code ---

Next, if your machine has a network connector, get a cable and
connect it to your router. Then reboot:

--- Code: ---exitcheck.sh reboot
--- End code ---

You should now have an internet connection:

--- Code: ---tc@E310:~$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:13:20:c4:4a:20 
          inet addr:192.168.1.35  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::213:20ff:fec4:4a20/64 Scope:Link
          inet6 addr: 2600:4040:930f:de00:213:20ff:fec4:4a20/64 Scope:Global
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:7653910 errors:0 dropped:2 overruns:0 frame:0
          TX packets:5420023 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:935731320 (892.3 MiB)  TX bytes:1132410628 (1.0 GiB)

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:157 errors:0 dropped:0 overruns:0 frame:0
          TX packets:157 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:16921 (16.5 KiB)  TX bytes:16921 (16.5 KiB)

tc@E310:~$
--- End code ---
If you see  Bcast  your network card is running:

--- Quote ---inet addr:192.168.1.35  Bcast:192.168.1.255  Mask:255.255.255.0
--- End quote ---

You should now be able to install nano.

I just reviewed your original post:

--- Quote from: Tambry on September 09, 2024, 02:59:58 PM --- ... This lead me to Tiny Core and I can install it with the Core Plus CD, use the GUI, enable my USB-WiFi and download and install all needed packages. This showed me that TC can run on the NAS. ...
--- End quote ---
If you had things working, that is where you should start.


--- Quote --- ... To learn, I would like to repeat the installation but with no GUI and no Internet  (ie not using the Appbrowser). ...
--- End quote ---
Those are 2 different things:
The  Apps  browser is basically a GUI wrapped around  tce-load.
An Internet connection is required regardless of whether you use Apps or tce-load.


--- Quote --- ... How/Where can I download the required tcz files from the repository? Can I then just put them on a USB disk, mount it and install with tce-load from it?
--- End quote ---
If you had CorePlus running on your NAS, you could install  tc-install-GUI.tcz  and
use that to install a text only version to a USB drive. See here:
http://tinycorelinux.net/install.html#5_

You should select  Core Only  and check all 3 boxes under  Wireless.

Navigation

[0] Message Index

[*] Previous page

Go to full version