ls /var/lib > reply.txt
Pfff easy
lib@
,lib32@
,lib64@
,libx32@
lib*
There ma, I did it ☺️.
$ locate -r '\.so$' | wc -l 4468 $ locate -r '/lib[^/]*\.so$' | wc -l 2488
We’re going to be here a while.
sudo tree /lib /lib64
lib2geom lib32-alsa-lib lib32-brotli lib32-bzip2 lib32-curl lib32-dbus lib32-e2fsprogs lib32-expat lib32-faudio lib32-flac lib32-gcc-libs lib32-giflib lib32-glib2 lib32-glibc lib32-glu lib32-gmp lib32-gnutls lib32-gst-plugins-base-libs lib32-gstreamer lib32-icu lib32-json-c lib32-keyutils lib32-krb5 lib32-lcms2 lib32-libasyncns lib32-libcap lib32-libcups lib32-libdrm lib32-libelf lib32-libffi lib32-libgcrypt lib32-libglvnd lib32-libgpg-error lib32-libgudev lib32-libice lib32-libidn2 lib32-libjpeg-turbo lib32-libldap lib32-libnghttp2 lib32-libnghttp3 lib32-libogg lib32-libpciaccess lib32-libpng lib32-libpsl lib32-libpulse lib32-libsm lib32-libsndfile lib32-libssh2 lib32-libtasn1 lib32-libtiff lib32-libtirpc lib32-libunistring lib32-libunwind lib32-libvorbis lib32-libx11 lib32-libxau lib32-libxcb lib32-libxcomposite lib32-libxcrypt lib32-libxcursor lib32-libxdamage lib32-libxdmcp lib32-libxext lib32-libxfixes lib32-libxi lib32-libxinerama lib32-libxml2 lib32-libxmu lib32-libxrender lib32-libxshmfence lib32-libxslt lib32-libxt lib32-libxtst lib32-libxv lib32-libxxf86vm lib32-llvm-libs lib32-lm_sensors lib32-mesa lib32-mpg123 lib32-ncurses lib32-nettle lib32-ocl-icd lib32-openal lib32-openssl lib32-opus lib32-orc lib32-p11-kit lib32-pam lib32-pcre2 lib32-sdl2 lib32-systemd lib32-util-linux lib32-v4l-utils lib32-vkd3d lib32-vulkan-icd-loader lib32-wayland lib32-xz lib32-zlib lib32-zstd libaccounts-glib libaccounts-qt libadwaita libaio libarchive libass libassuan libasyncns libatasmart libavc1394 libavif libb2 libblockdev libblockdev-crypto libblockdev-fs libblockdev-loop libblockdev-mdraid libblockdev-nvme libblockdev-part libblockdev-swap libbluray libbpf libbs2b libbsd libbytesize libc++abi libcaca libcacard libcamera libcamera-ipa libcanberra libcap libcap-ng libcdr libcloudproviders libcolord libcups libdaemon libdatachannel libdatrie libdbusmenu-glib libdbusmenu-gtk3 libdbusmenu-qt5 libdca libde265 libdeflate libdisplay-info libdovi libdrm libdv libdvbpsi libebml libebur128 libedit libelf libepoxy libevdev libevent libexif libfabric libfdk-aac libffi libfm libfm-extra libfm-gtk2 libfontenc libfreeaptx libgcrypt libgdiplus libgirepository libglvnd libgnomekbd libgovirt libgpg-error libgphoto2 libgudev libheif libice libid3tag libidn libidn2 libiec61883 libieee1284 libimagequant libimobiledevice libinih libinput libiscsi libisl libjpeg-turbo libjuice libjxl libkeybinder2 libksba liblc3 libldac libldap liblouis liblqr libmad libmatroska libmd libmfx libmm-glib libmng libmnl libmodplug libmpc libmpcdec libmpdclient libmpeg2 libmspack libmysofa libnbd libnet libnetfilter_conntrack libnfnetlink libnfs libnftnl libnghttp2 libnghttp3 libnice libnl libnotify libnsl libogg libomxil-bellagio libopenmpt libp11-kit libpaper libpcap libpciaccess libpipeline libpipewire libplacebo libplist libpng libproxy libpsl libptytty libpulse libraqm libraw1394 librest librevenge librsvg libsamplerate libsasl libsbsms libseccomp libsecret libshout libsigc++ libsigsegv libslirp libsm libsndfile libsoup libsoup3 libsoxr libspeechd libsrtp libssh libssh2 libstemmer libstroke libstroke-debug libsynctex libsysprof-capture libtar libtasn1 libthai libtheora libtiff libtirpc libtommath libtool libtraceevent libtracefs libucl libunibreak libunistring libunwind libupnp liburcu liburing libusb libusbmuxd libutempter libutf8proc libuv libva libvdpau libverto libvirt libvirt-glib libvisio libvorbis libvpl libvpx libwacom libwbclient libwebp libwireplumber libwnck libwpd libwpg libx11 libxau libxaw libxcb libxcomposite libxcrypt libxcursor libxcvt libxdamage libxdg-basedir libxdmcp libxdp libxext libxfixes libxfont2 libxft libxi libxinerama libxkbcommon libxkbcommon-x11 libxkbfile libxklavier libxml2 libxmlb libxmu libxpm libxrandr libxrender libxres libxshmfence libxslt libxss libxt libxtst libxv libxxf86vm libyaml libyuv libzip
Why is Lib capitalized when Linux is case sensitive and Lib files aren’t a thing?
Ha jokes on you! I just accidently deleted my bootloader!
Nice try, FBI
Having maintained Linux systems for over a decade, I instantly distrust anyone who claims they understand Linux regardless of what they say next.
I have 20 years of Linux experience. I tell people ‘I know a few things.’
Would never say I know everything or understand everything though.
Just like an xkcd comic I expect to see someone reply that has 30 years experience or something.
Name em?
find / -type f -perm -a=x -exec ldd {} 2>/dev/null \;
It solves the problem but you get several megabytes of output, better pipe that into a file and do some filtering and finish with sort -u
No libs on my system, only leftists allowed 😤😤😤
ls -R /
there they are. and some other stuff too.
Alternatively,
find /
Reminds me of an interview i was in. I was like, this isn’t even in my job description… 7 interviews later. Come to find out, they were HAND DEPLOYING Linux servers to try to scale for double of their user base. I feel like I dodged a bullet.
Wait you mean there’s better ways to scale than deploying a whole new hardware and click ops your way through installs? /s