this post was submitted on 08 Dec 2023
434 points (92.7% liked)

linuxmemes

21440 readers
909 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.

    founded 1 year ago
    MODERATORS
     
    top 50 comments
    sorted by: hot top controversial new old
    [–] dipshit@lemmy.world 103 points 11 months ago (2 children)

    is this what it means to “own the libs”?

    [–] GBU_28@lemm.ee 23 points 11 months ago (2 children)
    [–] 0x0@lemmy.dbzer0.com 17 points 11 months ago

    sudo chown -R $USER:$USER /usr/lib

    [–] dipshit@lemmy.world 7 points 11 months ago (3 children)

    with great power comes great responsibility!

    [–] GBU_28@lemm.ee 8 points 11 months ago (1 children)
    [–] dipshit@lemmy.world 8 points 11 months ago (3 children)

    This incident will be reported.

    load more comments (3 replies)
    load more comments (2 replies)
    [–] winterayars@sh.itjust.works 11 points 11 months ago (1 children)

    I was gonna come in here and say "Joe Biden" but i couldn't figure out how to turn it into a reference to the government spying on people.

    [–] dipshit@lemmy.world 4 points 11 months ago

    Someone needs to watch some Snowden.

    [–] 0x4E4F@infosec.pub 72 points 11 months ago (1 children)

    lib*

    There ma, I did it ☺️.

    [–] possiblylinux127@lemmy.zip 23 points 11 months ago (1 children)
    [–] remotelove@lemmy.ca 20 points 11 months ago* (last edited 11 months ago) (2 children)
    [–] pomodoro_longbreak@sh.itjust.works 8 points 11 months ago* (last edited 11 months ago) (2 children)

    I don't know when I'll next get the opportunity to ask this, so

    How do people pronounce this: "gee lib cee" or "glib cee"?

    I have the same question about clang

    [–] DaPorkchop_@lemmy.ml 5 points 11 months ago (2 children)

    idk what the official pronunciation is, but i say "gee lib cee" and "clang" (like the onomatopoeia)

    load more comments (2 replies)
    load more comments (1 replies)
    [–] possiblylinux127@lemmy.zip 4 points 11 months ago

    And liboutofhere

    [–] BarbecueCowboy@kbin.social 44 points 11 months ago (2 children)

    Having maintained Linux systems for over a decade, I instantly distrust anyone who claims they understand Linux regardless of what they say next.

    [–] jodanlime@midwest.social 21 points 11 months ago

    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.

    [–] Johanno@feddit.de 3 points 11 months ago

    I recently tried to compile an Raspberry pi image. I have no idea what to do when an error occurs. And I am a software developer who should at least have an idea. However goggle helps

    [–] midnight@kbin.social 43 points 11 months ago

    No libs on my system, only leftists allowed 😤😤😤

    [–] dirtydan@iusearchlinux.fyi 34 points 11 months ago* (last edited 11 months ago) (1 children)

    Name em?

    find / -type f -perm -a=x -exec ldd {} 2>/dev/null \;

    [–] BeigeAgenda@lemmy.ca 13 points 11 months ago

    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

    [–] jet@hackertalks.com 30 points 11 months ago (3 children)

    https://github.com/oasislinux/oasis

    Why would you want dynamic linking? Afraid you will change your mind?

    [–] ultra@feddit.ro 11 points 11 months ago* (last edited 11 months ago) (2 children)

    This seems really cool!

    But dynamic linking saves space AFAIK

    [–] Takios@feddit.de 15 points 11 months ago (1 children)

    It also makes updating easier. When a lib has a bug it can be fixed by updating one package. If every application on your system was statically linked, each one of these would have to be updated individually.

    [–] ultra@feddit.ro 5 points 11 months ago (1 children)

    But then you definitely wouldn't have errors with different apps requiring different versions of the same library.

    [–] woelkchen@lemmy.world 14 points 11 months ago

    But then you definitely wouldn’t have errors with different apps requiring different versions of the same library.

    That's why libfoo.so.1.2.3, libfoo.so.1.2.4, libfoo.so.1.3.9, etc. exist. Flatpak also exists. Just link to a specific version of a freedesktop.org Runtime.

    [–] woelkchen@lemmy.world 3 points 11 months ago

    But dynamic linking saves space AFAIK

    Yes, it does and while I'm not a pedant about saving every possible byte in a time of terabyte SSDs, static linking everything is just insanely wasteful.

    [–] woelkchen@lemmy.world 8 points 11 months ago

    Why would you want dynamic linking?

    Because static linking everything sucks.

    load more comments (1 replies)
    [–] cypherpunks@lemmy.ml 26 points 11 months ago (1 children)
    [–] einfach_orangensaft@feddit.de 5 points 11 months ago

    thats the spirit

    [–] kSPvhmTOlwvMd7Y7E@lemmy.world 25 points 11 months ago (2 children)

    pkg-config --list-all

    The bar is too low

    [–] QuazarOmega@lemy.lol 4 points 11 months ago

    Praise be pkg-config

    [–] lolcatnip@reddthat.com 22 points 11 months ago

    Why is Lib capitalized when Linux is case sensitive and Lib files aren't a thing?

    [–] Steamymoomilk@sh.itjust.works 19 points 11 months ago

    Ha jokes on you! I just accidently deleted my bootloader!

    [–] RTRedreovic@feddit.ch 17 points 11 months ago (1 children)

    xbps-query -l | grep -i 'lib'

    [–] 0x4E4F@infosec.pub 4 points 11 months ago

    Hello fellow Void user ☺️.

    [–] pomodoro_longbreak@sh.itjust.works 13 points 11 months ago

    Pfff easy lib@, lib32@, lib64@, libx32@

    [–] avidamoeba@lemmy.ca 12 points 11 months ago (1 children)
    [–] ultra@feddit.ro 11 points 11 months ago (2 children)
    load more comments (2 replies)
    [–] riodoro1@lemmy.world 11 points 11 months ago

    That would be just me.

    [–] saltesc@lemmy.world 10 points 11 months ago (1 children)
    load more comments (1 replies)
    [–] erzatz_cadillac@lemmy.world 9 points 11 months ago* (last edited 11 months ago)
    [–] threegnomes@lemmy.blahaj.zone 8 points 11 months ago (2 children)
    load more comments (2 replies)
    [–] azerial@lemmy.dbzer0.com 7 points 11 months ago (2 children)

    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.

    load more comments (2 replies)
    [–] bhamlin@lemmy.world 6 points 11 months ago (1 children)

    None. I use Gentoo and everything is compiled statically.

    load more comments (1 replies)
    [–] AceSLS@ani.social 5 points 11 months ago

    ls -R /usr/lib/

    Easy

    [–] A_Porcupine@lemmy.world 5 points 11 months ago

    We clearly need a "Periodic Table Song", but for libs. 😅

    [–] palordrolap@kbin.social 4 points 11 months ago* (last edited 11 months ago)
    $ locate -r '\.so$' | wc -l
    4468
    $ locate -r '/lib[^/]*\.so$' | wc -l
    2488
    
    

    We're going to be here a while.

    [–] Semi-Hemi-Demigod@kbin.social 3 points 11 months ago

    ls /var/lib > reply.txt

    load more comments
    view more: next ›