What do people typically install in a stratum?
Ok, I just hijacked my Void system and brl fetched an Arch stratum.
In a post below, someone mentions a problem using the rather old-school Amiga-ish? file manager called Worker. So having added Arch, I can get access to official Arch binaries and build AUR package sources.... Before I go digging for probably broken old linux games or weird old window/file managers in AUR, what are some cool things specific to Arch AUR, not in official Void binary repos? |
Quote:
Quote:
Generally I recommend coming up with a Bedrock use case before installing it, rather than installing Bedrock then trying to find a use case. Bedrock does have some downsides, and so if you can't find anything it's probably a net loss. |
Well, I managed to remember some of the fun things I used to run from Arch/AUR which are unavailable in Void:
BasiliskII (m68k mac emulator), Dungeon Crawl Stone Soup (roguelike in Arch repos), The Urquan Masters (FOSS version of Starcon II in Arch repos), ti99sim (TI99/4A computer emulator), xcpc (Amstrad CPC emulator), xroar (Tandy Color/Dragon emulator). Most of this--except Dungeon Crawl, which is a big hairy mess on most distros--isn't super-hard to compile natively without resorting strata, but I wanted to try something new and lazy. It seems like there are too many AUR helpers now, but yay works ok. I had no big troubles compiling as long as I make sure to run yay specifying strat arch. (Unsurprisingly, yay won't run otherwise.) As you might guess, I'm messing around for fun or "pure research" if one must sound industrious. Security is not a concern on this dedicated experimentation laptop. I'm too far from sufficient understanding of Bedrock to even think about running it on a good computer used for important things. |
Quote:
[strikeout]Do you need do this because you have multiple arch-based strata and/or multiple strata providing yay and other parts involved and there's some kind of version mismatch?[/strikeout][Edit:no it wont be that, sleepy notion doesnt fit the evidence cited.] what's the output when you attempt to run yay without specifying with "strat arch" first? [edit: afterthought: if yay in PATH, PATH not clobbered by shell config, yay shud "just work", iirc] -------- To answer your title question, "What do people typically install in a stratum?": I can't really speak much to people in general, but for me... whatever wherever as needs arise. typically sticking to hijack/init stratum[void]'s packages where possible, especially for more init/de type stuffs. But by no means rigidly so. Whatever reasons on the fly package by package as to which strata will provide it for me. Though of course, availability plays prominently, and if there's only 1, then it's the 1 (and void's surprisingly well stocked, very little sought outside it). pmm's lovely to be able to search across multiple distro's repos to see which has what you're looking for. To offer an answer of a sort to the question in your thread content "what are some cool things specific to Arch AUR, not in official Void binary repos?": If I were feeling more sharp, I'd maybe script some kind of diff from pmm's (or native package managers') installed list commands to show what i have from aur that's not in void. Lacking that sharp feeling just now, instead I'll merely offer: Lots of things. Lots of shiny things, silly things, niche things. ;D (we'll see if i'm back with a little script and output after food & hydrating etc). It's easy to get lost in the bedrock honeymoon and want to install all the things, like being let loose in a candy store, all you can eat/carry, for free. After that excitement settles, it's back to just a utility meeting needs as they come up. + the gratitude of more being in reach. |
Quote:
|
Some more details about my system: I started with Void, ran the hijack script, and installed arch and debian in strata. I'm using Void's kernel and init scripts. Oh, and I didn't do anything special to install yay: I just downloaded the latest binary release from its github and ran it:
./yay -Syu and that gave me an error about a missing libalpm.so.whatever. I figured it was some Arch pacman-related lib and tried: strat arch ./yay -Syu and that worked fine, so I tried installing some fun stuff. (There were a few "build-essential"-but not called that-packages to be installed to get things building and everything seems fine.) |
Quote:
Part of what Bedrock has to do to make things work is wire up binary libraries to binary executables. If you install binary in a stratum-specific location (something like `/bedrock/strata/<stratum>/usr/bin` via a package manager or `/bedrock/strata/<stratum>/usr/local/bin` manually) and run it through the $PATH, Bedrock knows which stratum's libraries to associate. That's why `xbps-install` and `pacman` both just work without the need for `strat`. If you run a command from an arbitrary directory via `./` without `strat`, Bedrock has no hint about which stratum with which it is associated, and so Bedrock guesses the stratum of the calling process (which is usually a shell). In this case your shell came from Void, so Bedrock wired up Void's libraries when you ran `./yay`, which didn't work because it needed Arch's libraries. If you run `./yay` from a shell provided by Arch, it'd work. Using `strat` to tell Bedrock which set of libraries to use is the correct workflow if you do want to run a command via `./` that isn't from the calling process (i.e. shell)'s stratum. |
I figured it had something to do with the environment and wasn't too concerned. I like keeping stuff like yay out side the normal PATHs because it forces a little hesitation/thought before firing it off. At very least, I am less likely to accidentally run yay as root.
|
All times are GMT -5. The time now is 08:40 PM. |