this post was submitted on 08 Dec 2023
409 points (92.9% liked)

linuxmemes

26433 readers
21 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 users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • 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.
  • 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, no politics, no trolling or ragebaiting.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. πŸ‡¬πŸ‡§ Language/язык/Sprache
  • This is primarily an English-speaking community. πŸ‡¬πŸ‡§πŸ‡¦πŸ‡ΊπŸ‡ΊπŸ‡Έ
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  • Β 

    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 remove France.

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

    is this what it means to β€œown the libs”?

    [–] GBU_28@lemm.ee 21 points 2 years ago (2 children)
    [–] 0x0@lemmy.dbzer0.com 16 points 2 years ago

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

    [–] dipshit@lemmy.world 6 points 2 years ago (3 children)

    with great power comes great responsibility!

    [–] GBU_28@lemm.ee 7 points 2 years ago (1 children)
    [–] dipshit@lemmy.world 8 points 2 years ago (3 children)

    This incident will be reported.

    load more comments (3 replies)
    load more comments (2 replies)
    [–] 0x4E4F 69 points 2 years ago (1 children)

    lib*

    There ma, I did it ☺️.

    [–] possiblylinux127@lemmy.zip 23 points 2 years ago (1 children)
    [–] remotelove@lemmy.ca 19 points 2 years ago* (last edited 2 years ago) (1 children)
    [–] possiblylinux127@lemmy.zip 4 points 2 years ago

    And liboutofhere

    [–] midnight@kbin.social 41 points 2 years ago

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

    [–] BarbecueCowboy@kbin.social 40 points 2 years 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 20 points 2 years 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 2 years 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

    [–] dirtydan@iusearchlinux.fyi 31 points 2 years ago* (last edited 2 years ago) (1 children)

    Name em?

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

    [–] BeigeAgenda@lemmy.ca 10 points 2 years 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 27 points 2 years ago (3 children)

    https://github.com/oasislinux/oasis

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

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

    This seems really cool!

    But dynamic linking saves space AFAIK

    [–] Takios@feddit.de 13 points 2 years 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 3 points 2 years ago (1 children)

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

    [–] woelkchen@lemmy.world 12 points 2 years 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 2 years 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 7 points 2 years ago

    Why would you want dynamic linking?

    Because static linking everything sucks.

    [–] callyral@pawb.social 3 points 2 years ago

    isn't that just flatpak with extra steps

    [–] cypherpunks@lemmy.ml 23 points 2 years ago (1 children)

    thats the spirit

    [–] kSPvhmTOlwvMd7Y7E@lemmy.world 22 points 2 years ago (2 children)

    pkg-config --list-all

    The bar is too low

    [–] QuazarOmega@lemy.lol 4 points 2 years ago

    Praise be pkg-config

    [–] lolcatnip@reddthat.com 20 points 2 years ago

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

    [–] RTRedreovic@feddit.ch 16 points 2 years ago (2 children)

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

    [–] 0x4E4F 5 points 2 years ago

    Hello fellow Void user ☺️.

    load more comments (1 replies)
    [–] avidamoeba@lemmy.ca 12 points 2 years ago (1 children)
    [–] ultra@feddit.ro 10 points 2 years ago (1 children)
    [–] AVincentInSpace@pawb.social 6 points 2 years ago* (last edited 2 years ago) (1 children)
    [–] avidamoeba@lemmy.ca 9 points 2 years ago* (last edited 2 years ago)

    I doubted. I checked. Check passed.

    $ sudo apt search liboobs 
    Sorting... Done
    Full Text Search... Done
    liboobs-1-5/jammy 3.0.0-4 amd64
      GObject based interface to system-tools-backends - shared library
    
    liboobs-1-5-dbg/jammy 3.0.0-4 amd64
      GObject based interface to system-tools-backends - debug symbols
    
    liboobs-1-dev/jammy 3.0.0-4 amd64
      GObject based interface to system-tools-backends - dev files
    
    [–] saltesc@lemmy.world 10 points 2 years ago (1 children)
    [–] Prunebutt@feddit.de 3 points 2 years ago

    I would apt purge that if I were you.

    [–] riodoro1@lemmy.world 10 points 2 years ago

    That would be just me.

    [–] erzatz_cadillac@lemmy.world 9 points 2 years ago* (last edited 2 years ago)
    [–] threegnomes@lemmy.blahaj.zone 7 points 2 years ago (1 children)
    load more comments (1 replies)
    [–] bhamlin@lemmy.world 6 points 2 years ago (1 children)

    None. I use Gentoo and everything is compiled statically.

    load more comments (1 replies)
    [–] azerial@lemmy.dbzer0.com 6 points 2 years ago (1 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 (1 replies)
    [–] AceSLS@ani.social 5 points 2 years ago

    ls -R /usr/lib/

    Easy

    [–] MajorHavoc@lemmy.world 4 points 2 years ago

    I named most of them Marlin Jr, and Coral Jr, but I guess we can name one of them Nemo.

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

    We're going to be here a while.

    [–] A_Porcupine@lemmy.world 4 points 2 years ago

    We clearly need a "Periodic Table Song", but for libs. πŸ˜…

    [–] topinambour_rex@lemmy.world 3 points 2 years ago

    Lib one, lib two, lib three

    ls /var/lib > reply.txt

    load more comments
    view more: next β€Ί