this post was submitted on 28 May 2025
1914 points (98.6% liked)

memes

15002 readers
3752 users here now

Community rules

1. Be civilNo trolling, bigotry or other insulting / annoying behaviour

2. No politicsThis is non-politics community. For political memes please go to [email protected]

3. No recent repostsCheck for reposts when posting a meme, you can only repost after 1 month

4. No botsNo bots without the express approval of the mods or the admins

5. No Spam/AdsNo advertisements or spam. This is an instance rule and the only way to live.

A collection of some classic Lemmy memes for your enjoyment

Sister communities

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] AstralPath 70 points 1 day ago (9 children)

I really do wish that more packages on Linux had installation paths clearly noted in a readme.

I've been using Linux daily for over a year now and I still have a hard time tracking down config files and install paths. Its just not one of those tasks I do regularly so I always forget best practices when trying to find stuff. The CLI always gives me the best results but getting the commands right can be tedious.

I've started saving useful commands in a note on my desktop.

[–] [email protected] 39 points 1 day ago (1 children)

i just give up after a couple of minutes if it isn’t somewhere obvious and then search my whole system with grep lmao.

how wonderful to live in a world where compute is so cheap.

[–] [email protected] 16 points 1 day ago

Amateur. I read the source on GitHub to see where it's saving that shit.

[–] [email protected] 22 points 1 day ago (10 children)

Which readme?

The one on the github that has out of date instructions and tells you to check the discord?

The 6 year out-of-date one on your distro's wiki?

or The gnu-info/manpage that is only for the original upstream and doesn't tell you where all the files have been moved or that half of the software isn't actually installed since it was split out into extra packages for justdebianthings

[–] [email protected] 3 points 1 day ago

To be honest, sounds like you aren't using arch btw. Jk I have the same issues on arch

load more comments (9 replies)
[–] [email protected] 16 points 1 day ago* (last edited 1 day ago) (3 children)

People can say what they want about Windows, having stuff installed in a folder called Program Files with sub folders using the brand/program name is so much simpler than whatever the fuck is going on on Linux.

[–] [email protected] 1 points 10 hours ago* (last edited 9 hours ago)

For user specific files a lot of modern programs try to adhere to https://specifications.freedesktop.org/basedir-spec/latest/. You should set those environmental variables and check there first.

For system level.. it's definitely more complicated. I check /etc first and then then /usr dirs. If you're using your system package manager there is generally a way to query it for that information, but it's typically CLI based.

Or just use our lord and savior NixOS and configure everything in a single directory

[–] [email protected] 27 points 1 day ago (3 children)

Until an app decides to install in the hidden AppData folder with the confusing sub-folder names, or even the root of the user folder, or god forbid in a folder in the root of the C drive

[–] [email protected] 15 points 1 day ago (2 children)

Local, LocalLow, Roaming really are confusing names ngl, but %AppData% isn't really hidden.

[–] [email protected] 1 points 9 hours ago

It's funny because it seems like it's all just familiarity with conventions on both platforms. I've used Linux for around 15 years and I'm completely lost trying to find anything on a Windows computer.

[–] [email protected] 1 points 21 hours ago

It's hidden enough that I have had to provide tech support to my friends a few times on this. I think it's easy to forget how expertise shapes our perspective on these things

[–] [email protected] 11 points 1 day ago

Also the two Program Files folders that have existed since the switch to 64-bit systems.

And third-party software installers that install stuff into their own secret places. Like Steam games.

[–] [email protected] 2 points 1 day ago (1 children)

I don't remember seeing something get installed in appdata, but having other files it depends on in there sure does happen though

[–] [email protected] 5 points 1 day ago (1 children)

I've seen Electron based apps do this sometimes. GitHub Desktop, for instance

[–] [email protected] 1 points 1 day ago

Oh right, it's the only one I've seen doing it. You still get the prompt to ask where you want to install it and it just needs to not be in Program Files or you need to give it administrator access so it can update itself...

It's pretty ridiculous

[–] [email protected] 1 points 1 day ago

WinXP times are long gone, my friend. These days I will sooner dig out where vim plugin source code resides on Linux than figure out config file location for a fucking game on Windows

[–] [email protected] 16 points 1 day ago* (last edited 1 day ago) (2 children)

dpkg -L package-name

Or the inverse

dpkg -S /usr/bin/somefile

For apt based distros, obviously.

[–] [email protected] 2 points 9 hours ago* (last edited 9 hours ago)

This does not return all "config files and install paths" as it only ever considers files that came in the package, not files created by the package (such as /etc/samba.smb.conf, which is created during installation), so doesn't actually solve the problem.

That limitation should've been made clear in the advice itself so as not to send users that don't know better down dead ends, though the subsequent discussion between this and the previous user is a great illustration of how the way some give Linux "advice" just ends up frustrating those seeking advice.

(It even eventually frustrated me because over the years I've had to teach plenty of junior developers to not give advice like that, only they're seldom so bad that they insist they actually know what the other person wants even in the face of a user providing proof that they do not)

[–] [email protected] 4 points 1 day ago (18 children)

I just tried this with Samba (so dpkg -L samba and dpkg -S samba, and I also tried adding grep "smb.conf" and running it with sudo) and I was unable to find the share config file.

It's located under /etc/samba/smb.conf but that command was returning a path under my local user. This is on Ubuntu

load more comments (18 replies)
[–] [email protected] 8 points 1 day ago (1 children)

As a long time linux user, I think all programs should have a config gui. (Not all, but you get what I mean)

[–] AstralPath 2 points 1 day ago

I think it should be GUI config or detailed man page/readme. The amount of assumed end-user knowledge by devs is way too high.

[–] [email protected] 9 points 1 day ago (2 children)

I've started saving useful commands in a note on my desktop.

Great idea

hard time tracking down config files

Usually under ~/.config/ or ~/.local/share/

[–] howrar 9 points 1 day ago

Often also in /etc/

[–] [email protected] 4 points 1 day ago

Every time I touch a config file/setting I document it in my notes. I would be lost without it.

[–] [email protected] 4 points 1 day ago* (last edited 1 day ago)

I usually start inotifywatch with read events, open the program, close it and see what inotifywatch dumped.

[–] [email protected] 2 points 1 day ago

Suprised nobody said to use whereis xyz