WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Browsing repo on the web?  (Read 4545 times)

Offline pq5190362

  • Sr. Member
  • ****
  • Posts: 286
Browsing repo on the web?
« 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

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11048
Re: Browsing repo on the web?
« Reply #1 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.
The only barriers that can stop you are the ones you create yourself.

Offline CentralWare

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 770
Re: Browsing repo on the web?
« Reply #2 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!

Offline Lee

  • Hero Member
  • *****
  • Posts: 645
    • My Core wiki user page
Re: Browsing repo on the web?
« Reply #3 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.
32 bit core4.7.7, Xprogs, Xorg-7.6, wbar, jwm  |  - Testing -
PPR, data persistence through filetool.sh          |  32 bit core 8.0 alpha 1
USB Flash drive, one partition, ext2, grub4dos  | Otherwise similar

Offline CentralWare

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 770
Re: Browsing repo on the web?
« Reply #4 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)

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Browsing repo on the web?
« Reply #5 on: February 14, 2015, 01:07:49 AM »
tce-ab  used at the command line is my all time favorite of extension down-loaders

Offline beerstein

  • Hero Member
  • *****
  • Posts: 530
Re: Browsing repo on the web?
« Reply #6 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.
t(w)o be(ers) or not t(w)o be(ers) that is the question

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11675
Re: Browsing repo on the web?
« Reply #7 on: February 20, 2015, 11:35:19 AM »
Hi beerstein
Use  wget  as shown in reply #2

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Browsing repo on the web?
« Reply #8 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?
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline beerstein

  • Hero Member
  • *****
  • Posts: 530
Re: Browsing repo on the web?
« Reply #9 on: February 20, 2015, 02:19:15 PM »
I was looking for pcmanFM and mtpaint
t(w)o be(ers) or not t(w)o be(ers) that is the question


Offline NewUser

  • Full Member
  • ***
  • Posts: 169
Re: Browsing repo on the web?
« Reply #11 on: April 15, 2015, 06:58:47 PM »
Check out this thread.