Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: pq5190362 on February 10, 2015, 01:28:23 PM

Title: Browsing repo on the web?
Post by: pq5190362 on February 10, 2015, 01:28:23 PM
Hello,

the Ubuntu, Debian and Arch repositories (for example) can be browsed on the web, see for example:

http://packages.ubuntu.com/
https://packages.debian.org/
https://www.archlinux.org/packages/

Can this also be done with the Core repositories?

And if yes: How / Where?

Regards
Title: Re: Browsing repo on the web?
Post by: curaga on February 10, 2015, 01:59:21 PM
Pick a mirror from http://wiki.tinycorelinux.net/wiki:mirrors and add /6.x/ to the link, for example. There is no online search like those I'm afraid.
Title: Re: Browsing repo on the web?
Post by: CentralWare on February 11, 2015, 11:55:04 PM
@pq: Depending on the version you're after, the following applies:

The "tcz" directory is the location of "packages" (or extensions as it's called here.)
The "x.x" directory is a version number such as 4.x, 5.x or 6.x
The "x86" directory is platform specific; if using 64 bit, the platform directory would be x86_64 and more recently corepure64

http://www.tinycorelinux.net/6.x/x86/tcz would show you a list of extensions for version 6.x on x86 platform.
ARM, x86, x64 (pure) and x86_64 (64b kernel, 32b extensions) along with a ton of other content can be found.
Suggestion: First, read the wiki (Tiny Core Linux Concepts - link at the top of this page) to get a feel of what's what.  Once you have the concept of how the pieces fit together, then choose a version you want to "browse" and append that to the tinycorelinux.net site name as shown above and go from there.  When downloading (instead of just browsing) please hit a mirror with the same conceptual directory structure.

The "best" way if you're new to TC (in my opinion) is to nab a copy of TinyCore or CorePlus, burn the CD and boot it.  Then just use the Apps program to browse with as it gives a lot more detail as opposed to just browsing thousands of file names on the web.  If you've already done this but want a CLI method to pull in files, the program tce-ab is a command-line version of Apps allowing a basic search feature.  If you already know the package's name and simply want to install it by command line, tce-load -wi package.tcz does the trick.  If that's still not enough (such as if you're writing a program and need a more "direct" approach) the following applies:
Code: [Select]
wget http://www.tinycorelinux.net/4.x/x86/tcz/filename.tcz
wget http://www.tinycorelinux.net/4.x/x86/tcz/filename.tcz.dep
wget http://www.tinycorelinux.net/4.x/x86/tcz/filename.tcz.info
wget http://www.tinycorelinux.net/4.x/x86/tcz/filename.tcz.tree
* Again, please use a mirror near you for this
 Hope this helps!
Title: Re: Browsing repo on the web?
Post by: Lee on February 12, 2015, 09:43:15 AM
Just a reminder: the graphical "Apps" tool, the console "tce-ab" tool and the "tce-load -wi" command all resolve dependencies according to the extension's .tcz.dep file.

With wget this is not the case - you would have to parse the .tcz.dep files and explicitly wget each dependency (along with its .tcz.dep file, if any) and repeat until all deps are satisfied.  It can be done using wget, but if you are on a running Core system, there's no real downside to using one of the Core-specific tools.
Title: Re: Browsing repo on the web?
Post by: CentralWare on February 12, 2015, 11:14:56 AM
@Lee: Thanks for the revision! :)
note: .tree is usually more helpful than .dep when tending to dependencies (when available)
Title: Re: Browsing repo on the web?
Post by: coreplayer2 on February 14, 2015, 01:07:49 AM
tce-ab  used at the command line is my all time favorite of extension down-loaders
Title: Re: Browsing repo on the web?
Post by: beerstein on February 20, 2015, 10:59:54 AM
question:
How can I download or try to install a 5.x extension from a running Core 6.x version?
I am assuming that when runnung piCore 6.0 that the app browser shows only 6.x repos.
Title: Re: Browsing repo on the web?
Post by: Rich on February 20, 2015, 11:35:19 AM
Hi beerstein
Use  wget  as shown in reply #2
Title: Re: Browsing repo on the web?
Post by: bmarkus on February 20, 2015, 11:39:19 AM
question:
How can I download or try to install a 5.x extension from a running Core 6.x version?
I am assuming that when runnung piCore 6.0 that the app browser shows only 6.x repos.

Which extension you need from 5.x repo?
Title: Re: Browsing repo on the web?
Post by: beerstein on February 20, 2015, 02:19:15 PM
I was looking for pcmanFM and mtpaint
Title: Re: Browsing repo on the web?
Post by: pq5190362 on April 15, 2015, 04:22:02 PM
Related:

http://forum.tinycorelinux.net/index.php/topic,18294.0.html
http://forum.tinycorelinux.net/index.php/topic,18295.0.html
Title: Re: Browsing repo on the web?
Post by: NewUser on April 15, 2015, 06:58:47 PM
Check out this thread (http://forum.tinycorelinux.net/index.php/topic,18294.0.html).