I can imagine at most two locations, one for package manager installed applications and one for user installed applications (or just put them in ~/bin).
Because matlab was not installing correctly with the right execution permissions so I had to go in and change them manually
>pic related
I've had to edit cmake files in there to get certain programs to build correctly
Daniel Martinez
>/home/user/bin >/home/user kek
Joseph James
I try to store everything I build from source in ~/bin and 95% of my configs are dotfiles in ~/ so I don't really know what you are getting at here
Levi Flores
install gobolinux
Oliver Scott
It is made by retards for retards with no proper standard of doing things.
Noah Butler
so fucking comfy
can lennart make this the default for all distros?
Austin Thomas
also /usr/sbin
probably a few others
do not get me started on python site-packages and pip
Cooper Sullivan
Why there are no drives in linux
Adam Anderson
Daily reminder that /usr was meant for user's files
John Wilson
>do not get me started on python site-packages and pip
FUCK PIP
I can never figure out where the fuck it stores anything or when it chooses to conflict with my package manager, EVEN WHEN I AM USING VIRTUALENV
Benjamin Morales
>Also general linux complaint thread. >usr >not where the user directories are
Christian Allen
Is this bait?
Angel Johnson
donot get me wrong it is better than nothing
I reccomend using pip install --user though, and let the package manager install what you have packages for
pip3.5 install etc for different python versions
Logan Perry
>.cmake that's not a configuration file
Levi Brooks
>not having /bin/laden
Adrian Reed
>automatically comes up upon system boot >automatically created at boot if it doesn't exist >tiny app lets you nuke it...GRAPHICALLY >then recreate it and nuke it AGAIN AND AGAIN AND AGAIN ad infinitum
Chase Taylor
Yeah, the directory tree always struck me as a mess.
Alexander Russell
Who knew backwards compatibility with 1970s operating systems would be so messy?
thats beautiful. it looks like those """"linux"""" systems showed in csi shows
Jose Martinez
>distro solves annoyance in a beautiful way >will never become mainstream >can't use snowflake distro because snowflake linux is such a curse
Jonathan Green
in arch, all binaries are in /usr/bin tell me, which one folder holds all your binaries in windows?
Benjamin Ramirez
you shouldn't be using pythons' package manager in linux, linux already has a package manager it's useful on things like windows, but just messy on linux
Anthony Flores
a lot of python packages do not exist for the distributions package manager sometimes you also do not want it globally installed
writing say an ebuild is a bit more effort than doing pip install --user
Luis Johnson
do whatever you want, just don't complain about something you chose to do
Wyatt Bell
Pip install --user helps
Nicholas Morales
Microsoft Windows doesn't have this problem.
Ethan Wood
> GNU + Linux > backwards compatible
Hudson Rodriguez
I think he's asking about drive letters like D: E: etc.
Noah Parker
Well Unix is backwards and it's compatible with that so it seems to add up.
Carson Myers
How did apple manage to make BSD so user friendly?
Mason Clark
They bought NeXT and touched up NeXTSTEP's UI
Wyatt Hill
"drive letters" are just mountpoints the device and partition nodes are not exposed to the visible filesystem like they are in linux
basically; windows device node: \\.\PhysicalDrive0 linux device node: /dev/sda windows mountpoint: C:\ linux mountpoint: / (or any directory under it)
i was a bit thrown off by the whole single filesystem (VFS) thing in linux first time i used it as well, but it makes sense in its own way
Jaxson Myers
You can mount drives under directories in windows as well but no one does it.
Brody Young
Okay but seriously why in the fuck does linux have all this /dev/ttyS0 /dev/ttyAT0 nonsense bullshits?
Josiah Anderson
yea, that's true
Mason Turner
Ah, so I'm not insane? I'm new to Linux, and I thought there was something I wasn't understanding. It's just stupid, I get it now.
Brody Moore
>/applications >/library >/developer >/support >/network >/users >/volumes OS X does not have this problem.
Mason Lopez
One thing that''s always pissed me off about linux is battery life. Why is battery life in linux so shit? I get linux runs on fucking everything from toasters to supercomputers and they can't optimise it for everything but holy shit even winshit with Butt Fuck Telemetry TM has better battery life.
Andrew Wright
>I get linux runs on fucking everything from toasters to supercomputers you answered yourself
Anthony Ward
>~/user/bin
top tier kek
Adrian Martin
Even with TLP optimisation, it's shit. Plus winshit runs on a ton of devices as well, I get ~2 more hrs battery life in winblows than linux.
Hudson Johnson
Yes it does.
Kevin Adams
install tlp. thank me later.
Aaron Campbell
I'd just like to interject for a moment. What you're referring to as Linux, is in fact, GNU/Linux, or as I've recently taken to calling it, GNU plus Linux. Linux is not an operating system unto itself, but rather another free component of a fully functioning GNU system made useful by the GNU corelibs, shell utilities and vital system components comprising a full OS as defined by POSIX.
Many computer users run a modified version of the GNU system every day, without realizing it. Through a peculiar turn of events, the version of GNU which is widely used today is often called "Linux", and many of its users are not aware that it is basically the GNU system, developed by the GNU Project.
There really is a Linux, and these people are using it, but it is just a part of the system they use. Linux is the kernel: the program in the system that allocates the machine's resources to the other programs that you run. The kernel is an essential part of an operating system, but useless by itself; it can only function in the context of a complete operating system. Linux is normally used in combination with the GNU operating system: the whole system is basically GNU with Linux added, or GNU/Linux. All the so-called "Linux" distributions are really distributions of GNU/Linux.
Carter Morris
No, you piece of shit. It's just Linux.
Lincoln Morgan
No, Richard, it's 'Linux', not 'GNU/Linux'. The most important contributions that the FSF made to Linux were the creation of the GPL and the GCC compiler. Those are fine and inspired products. GCC is a monumental achievement and has earned you, RMS, and the Free Software Foundation countless kudos and much appreciation.
Following are some reasons for you to mull over, including some already answered in your FAQ.
One guy, Linus Torvalds, used GCC to make his operating system (yes, Linux is an OS -- more on this later). He named it 'Linux' with a little help from his friends. Why doesn't he call it GNU/Linux? Because he wrote it, with more help from his friends, not you. You named your stuff, I named my stuff -- including the software I wrote using GCC -- and Linus named his stuff. The proper name is Linux because Linus Torvalds says so. Linus has spoken. Accept his authority. To do otherwise is to become a nag. You don't want to be known as a nag, do you?
I'd like to point out that we Linux and GNU users shouldn't be fighting among ourselves over naming other people's software. But what the heck, I'm in a bad mood now. I think I'm feeling sufficiently obnoxious to make the point that GCC is so very famous and, yes, so very useful only because Linux was developed. In a show of proper respect and gratitude, shouldn't you and everyone refer to GCC as 'the Linux compiler'? Or at least, 'Linux GCC'? Seriously, where would your masterpiece be without Linux? Languishing with the HURD?
Jordan Rodriguez
>the device and partition nodes are not exposed to the visible filesystem like they are in linux Not the user you were typing at, but this piqued my interest, so I looked into how to view Windows device nodes; looks like the good stuff is only viewable with a kernel debugger, but you can see some stuff in the Registry: HKLM/SYSTEM/CurrentControlSet/Enum//.
Neat.
Henry Powell
BSD's file system isn't as retarded as the one in most linux distros
>dude let's put everything under /usr lmao
Jack Perry
yea, windows (NT) is a strange beast, internally, windows is very different, it's just presented the way it is because of legacy support running win32 software on windows nt is not unlike what wine does, win32 is a layer that runs atop NT, nothing a typical user does ever interacts directly with NT
Anthony Harris
>tfw you realize your current OS sits atop the desiccated electronic bones of OSes going back to NT, or even DOS
Wyatt Edwards
Either you are using resource intensive WMs like GNOME and Unity or your hardware isn't optimized for Linux.
Benjamin Jenkins
You probably have an older laptop Anything 15w ulv runs equally on tlp Linux and windows 10
Henry Miller
>"going back to NT" current windows is still NT, it's just not called that "on the box" anymore but otherwise yea, microsoft can't really drop/replace things completely, lest they risk breaking old software
Brayden Reyes
You think there's any chance they might make a clean break at some point, start from pseudo-scratch?
Austin Morgan
>lest they risk breaking old software Which they do anyway. Windows 7 was pretty much a "fuck everything before XP and most stuff after it" release until updates came.
Parker Sullivan
Hierarchical filesystems were a mistake.
Zachary Green
What's the alternative?
Camden White
>Hierarchical filesystems Leaving everything lying around in the root, like in the old mac days.
Henry Taylor
they would need to somehow be forced to do so legacy support is pretty much the reason people still use windows
they try not to, while a lot of stuff does break, it's honestly pretty amazing how much keeps working it's absolutely not an easy task to make something both "modern" and "runs hacked-together software that uses long-obsolete functions and hasn't been updated in 20 years"
Eli Barnes
I think most of this thread is summarized in 4 letters
RTFM
Elijah Jones
Unironically, yes. Files should be identifiable by a unique hash by the filesystem and then sorted through a relation database.
Robert Reyes
>dragging databases into filesystems shiggy
Aaron Morales
as long as I can view my data in some sort of tree-like structure, I'm in!
Grayson Harris
That is pretty much what a hierarchical filesystem is supposed to do you fucking idiot Unless you're suggesting something like WinFS which is never going to work, for a lot of reasons.
Gabriel Johnson
It started off simple, /bin for binaries, /etc for anything those binaries needed, /var for their output and working files etc, and /home for whatever the user wanted
Then there was /sbin for system binaries, /usr for less essential programs, /usr/share for platform independant stuff, /usr/local for the opposite of that, /usr/lib for shared libraries, /usr/lib64 because 64-bit was unimaginatively bolted on, and /opt to let 3rd party programs do whatever the fuck they want
Christian Jenkins
i thought /sbin was for scripts
Ethan Lopez
So say you download a source and build it, and there's no installer, are you suppose to split up the output binary, resources, libraries into those folders? Or just stick the whole mess in /home/bin and call it a day
Christian Flores
I like the Linux filesystem...
Michael Harris
Is /var/ like... Temporary files?
Liam Hernandez
>mathlab I gave up on trying to make it run on Linux
Angel Myers
they're stuff that changes a lot mostly
Jaxson Stewart
Does it even matter? Just put them all in your $PATH and forget about the actual path of the command.
Gavin Walker
I could be wrong but I thought it was for system administration If you can do `sudo make install` just do that, otherwise just build it wherever and put a link to the executable in ~/bin
Levi Ross
No, that's /tmp
/sbin are system binaries. Some systems only add it to the $PATH if you are root or using sudo
Aaron Wood
Amongst other things, like logs, and Apache defaults to serving /var/www
Levi Parker
Just don't mess with it. Use your package manager, /opt or your ~/bin.
Brody Campbell
So what is the difference between var and tmp? I know its a dumb question, I just want a conversation ;_;
Nolan Robinson
So long story short, use BSD and not a retarded cousin of UNIX.
Julian Green
There's hash based filesystems. Used for stuff like CDNs or stuff like that.
Anthony Long
Well nothing bad aught to happen should you delete the contents of /tmp, but there's probably more useful stuff in /var. Some systems mount /tmp as ramfs for that reason
Jack Mitchell
Tmp files are deleted on reboot or scheduled. Never expect a file there to last too long. It's usually in a ram filesystem, not your disk.
Var is for files used by the programs, they put them there and they can expect them to be there. You can find stuff from logs to database files to VM filesystems.
Let's go through those to see what my system actually has:
>/bin A symlink. Not a directory. >/usr/bin Where they should be. >/usr/share/bin Don't have this. >/sbin Again, symlink. >/usr/local/bin Pretty stupid. >/usr/share/local/bin Don't have this. >/opt This is literally the entire point of opt. >/home/user/bin This makes sense, where else would user specific binaries go, not that I've ever met anyone who actually does this.
>/usr/share I think calling the contents of this "configuration files" is pushing it a bit. >/etc Where they should be. >/usr/lib Not what you think it is. >/usr/lib64 Not what you think it is. >/usr/include Not what you think it is. >/usr/etc Mine's empty. Would be pretty stupid otherwise. >/opt This is literally the entire point of opt. >/home/user/. This makes sense, where else would user specific config go? I guess you could put them in a /home/user/etc/ folder but that seems like splitting hairs.
In conclusion, two of those are legitimate complaints, at least on Arch, but only one of them is utilized. Maybe other distributions are worse I don't know, but it seems like you're reaching (and don't understand half the shit you're looking at).
Gavin Jones
>/home/$USER/bin
it's called ~/.local you fucks ~/.local/bin, etc.
Juan Allen
it's so retarded
i wish there was a variable so all the freedesktop shit could go under ~/local instead, i use a similar layout myself
Anthony Cooper
>>/home/user/bin >This makes sense, where else would user specific binaries go, not that I've ever met anyone who actually does this. I put mine in /home/user/.bin/ they're just scripts and it's added to my $PATH