Homebrew alternative?

Silverblue is all about flatpaks for the desktop experience, but for the command line, look at toolbox — or as we’re now spelling it, to make search more possible, toolbx.

This gives you a command-line environment into which you can install official Fedora packages with DNF:

$ toolbox enter
last: cannot open /var/run/utmp: No such file or directory
toolbox:~$ sudo dnf install exa fzf
Last metadata expiration check: 0:00:41 ago on Sat 04 Dec 2021 10:56:37 AM EST.
Dependencies resolved.
================================================================================
 Package             Architecture   Version               Repository       Size
================================================================================
Installing:
 exa                 x86_64         0.10.1-2.fc35         fedora          340 k
 fzf                 x86_64         0.28.0-1.fc35         updates         1.1 M
Installing dependencies:
 http-parser         x86_64         2.9.4-5.fc35          fedora           37 k
 libgit2             x86_64         1.1.0-5.fc35          fedora          462 k
 libssh2             x86_64         1.10.0-1.fc35         fedora          117 k

Transaction Summary
================================================================================
Install  5 Packages

Total download size: 2.0 M
Installed size: 5.5 M
Is this ok [y/N]: y
Downloading Packages:
[...]
Complete!
toolbox:~$ 

If you don’t have a toolbox already set up, toolbox enter will ask if you want to create one. Say yes, and it’ll download and launch the latest container image. You may get errors about “locale” — run sudo dnf -y install glibc-langpack-en inside the container to fix.[1]

I’m also not sure what the /var/run/utmp message is there, or if it’s something specific to my system. I’ll investigate. :slight_smile:


  1. How to set the locales in a toolbox? - #6 by bkhl ↩︎

2 Likes