fastfetch icon indicating copy to clipboard operation
fastfetch copied to clipboard

[NOTICE] No unnecessary dependencies should be installed by default

Open CarterLi opened this issue 7 months ago • 2 comments

The ONLY dependencies of fastfetch are libc(glibc/musl) and yyjson. If you are forced to install some additional dependencies when your are installing fastfetch, please leave a comment below and it will be fixed. Thanks.

CarterLi avatar Apr 25 '25 11:04 CarterLi

On Alpine the only dependency is hwdata-pci.

I am using a fresh copy of minirootfs 3.21.3 x86 on iSH shell.

iPhone:~# apk add fastfetch
fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/main/x86/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/community/x86/APKINDEX.tar.gz
(1/2) Installing hwdata-pci (0.393-r0)
(2/2) Installing fastfetch (2.36.1-r0)
Executing busybox-1.37.0-r12.trigger
OK: 11 MiB in 17 packages
iPhone:~# cat /etc/os-release
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.21.3
PRETTY_NAME="Alpine Linux v3.21"
HOME_URL="https://alpinelinux.org/"
BUG_REPORT_URL="https://gitlab.alpinelinux.org/alpine/aports/-/issues"

darkexplosiveqwx avatar Apr 25 '25 13:04 darkexplosiveqwx

On Alpine the only dependency is hwdata-pci.

Oh yes. hwdata is a recommended dependency for GPU name detection. It's usually preinstalled by Linux distros so that I forget it.

CarterLi avatar Apr 25 '25 15:04 CarterLi

I just aborted my brew installation because of the huge list of dependencies:

==> Installing dependencies for fastfetch: libunistring, gettext, pcre2, sqlite, [email protected], python-setuptools, glib, cmake, brotli, imath, libdeflate, openjph, openexr, nasm, dav1d, docutils, gdk-pixbuf, harfbuzz, pango, z3, swig, llvm, rust, libnghttp2, libngtcp2, rtmpdump, curl, cargo-c, librsvg, chafa, libxml2, doxygen, itstool, xmlto, shared-mime-info, libomp, libzip, imagemagick, vulkan-headers and vulkan-loader

but maybe Mac is different?

orbanbalage avatar Nov 08 '25 23:11 orbanbalage

@orbanbalage They are all build dependencies. Seems you were building fastfetch from source.

CarterLi avatar Nov 08 '25 23:11 CarterLi

I was installing through homebrew. Ideally it should download the binaries directly, but it depends on how the formula is defined.

https://github.com/Homebrew/homebrew-core/blob/3994f1721dd50319b7914471cd811298f0259994/Formula/f/fastfetch.rb

It seems there is no build identified for Ventura (because that is now EOL, but my MBP is pretty old), and that's why...

On Sun, 9 Nov 2025, 00:58 Carter Li, @.***> wrote:

CarterLi left a comment (fastfetch-cli/fastfetch#1712) https://github.com/fastfetch-cli/fastfetch/issues/1712#issuecomment-3507183217

@orbanbalage https://github.com/orbanbalage They are all build dependencies. Seems you were building fastfetch from source.

— Reply to this email directly, view it on GitHub https://github.com/fastfetch-cli/fastfetch/issues/1712#issuecomment-3507183217, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACFXBV7T5AMYNWSURZKNCL33Z7RBAVCNFSM6AAAAAB33N3XOCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTKMBXGE4DGMRRG4 . You are receiving this because you were mentioned.Message ID: @.***>

Balázs

orbanbalage avatar Nov 09 '25 10:11 orbanbalage