>Third party software on Linux is recommended to be installed in /opt>/opt is a part of the root partition. The root partition is recommended to be no larger than 20GBWhy is Linux advice so retarded? Where do you people ACTUALLY install programs?
>>82031767Just install Windows or buy a Mac. If you have career aspirations you need to get as far away from Linux as possible.Seriously, you are causing yourself so much stress, and for what?
>>82031791I need to use Linux for workBut tell me, why is such contradictory advice propagated? Where do you actually install?
>>82031767>the root partition is recommended to be no larger than 20GBwhat??
you can make the root partition as large as you want. personally I allocate 470 gib for / and 6 gib for swap.
>>82031814>Where do you actually install?/usr/localthe fuck does it mean third party though? literally all the packages in every distro are third party and the just go in /usr/*
>>82031814/opt does not mean it's in the root partition. what the fuck do you think a root partition is? i don't think you get it. 20 GB? pulling numbers out of your ass?
>>82031840Just google it>>82031853Well well google and the official docs tell me that the HOME partition should be the big one and root should be small. WHICH IS IT
>>82031909What are YOU talking about? Root is / and opt is a part of /
>>82031943following that logic home is part of / too
>>82031767It's people repeating out of date stuff. The only thing I create a separate partition for is /home so that is not touched if I have to wipe out and reinstall. Everything else goes on root and I don't care if software gets installed in bin, usr/bin, usr/local/bin, or /opt.Mounting stuff as separate partitions was something we had to care about before disk capacities were measured in gigabytes.
>>82031943>root is / and opt is a part of /So is /home, everything except swap is part of the /Just put /home on the root partition, that's what every distro does by default.
>>82031912official docs are correct. I'm just lazy and can't be arsed to micromanage my storage so I keep everything in root.
>>82031767Ignore "modern" Linux filesystem structure, /opt shouldn't exist and third-party software goes on /usr/local
>>82031969No no no no no no install guides will tell you to make a new HOME partition separate from ROOT>>82031986I'll have to do that which is OPPOSITE of what most internet guides say. How big is your /home partition?
>>82032018I agree opt shouldn't exist, do you have computer from the last century that you have a separate usr partition?
the choice of /usr/local or /opt is a story in itself.
>>82031986afaik that wasn't about disk size. I think unix needed it for reliability reasons
>>82032031The problem is that most internet sources will then say to install applications on /opt, which would be a part of a teeny tiny root partition
>>82031912IF you want to have a separate home partition. Most nowadays most people just put / and /home on the same partition. It's what every distro does by default.
>>82032038funnily, /opt has found a reason to exist on macOS. it's now designated as the spot for Apple silicon binaries (while the old /usr/local is for Intel).
>>82032074Most apps are not installed in /opt. That's an exception, rather than a rule.
>>82032074make it as large as you need then? what's the issue?
>>82032099That's so weird.
>>82031791I literally started learning Linux for career, because it's pretty much required knowledge for backend development. I installed it on my secondary laptop and it's not that bad. Fuck off iPajeet.
>>82032140well, not official binaries. I mean homebrew or ports (maybe more). everything apple does is naturally in the usual spots.
Putting everything in one massive partition master race here.Zero fucks given even if it means 0.003% less performance it's not worth the trouble of having one partition fill up when the SSD still has plenty of free space.
this isn't related, but could someone help me remember the name of the distro that completely reorganises the filesystem and makes it more windows-like
>>82032121Should clarify, official docs want a tiny root partition and a big home partition, but that doesn't make sense if you're installing most apps on rootAny rate I've learned my lesson, thanks to this (and other issues) I will now treat stackoverflow answers / internet guides on Linux with a microscopic grain of salt
>>82032074I seriously don't know what guides you are reading. Every distro I know of uses the same partition for / and /home.
Why the fuck would you separate your home partition? My /nix is 250GB and constantly growing, it'd be stupid to separate things. Just encrypt everything there's no noticeable loss whatsoever
>>82032160you're in the tiny minority that needs a root partition larger than 20gb so I'd say they are pretty accurate for the rest of us still.
>>82031767what the fuck is /optive never heard about this
>>82031912What "official docs"?
>>82032160Good idea, and make sure to check what year those answers and guides are from. Sounds to me like you followed some very outdated guides.
Some people believe always being different is progress even to the point of being detrimental.
>>82032042You're braindead, partitions aren't directly tied to the Linux directory structure, and internet guides just give you a general setup, not necessarily one that works for any specialized situations.You can make /opt mount onto its own partition if you want to, don't be a retard that just blindly follows guides or your system will eternally be fucked by outdated information or setups that just aren't usable in your situation.
>>82031767>he actually installs programs!Lol. Just use apt-get or pacman. It Just Werks.
>>82032285>apt-getThe command "apt" will be old enough to drive before people stop saying "apt-get"
>>82032327all linux users KNOW is apt-get and lie
>>82032058Yeah I don't get where he's getting this idea about partitions helping with disk size. It's about security more than anything: data corruption can only impact the partition it happens in, runaway processes can't crash the system by overfilling root (typically this is why /var was used as a separate partition), partitions can be mounted/created with different parameters/file systems, and it separates user data from system data so upgrades and changes can be isolated.Plus there's a level of flexibility, where you can have multiple partitions that fulfill the same role but you can swap them around if needed.
>>82031767Install Mint or Manjaro and just go with the defaults and everything will just werk.
>>82032405>data corruption can only impact the partition it happens in,Unless it's a physical problem, the other partitions are mounted at the time, or literally fucking anything happensabout the only reason to do it is to use wildly different file systems for legacy/compatibility reasons (e.g. zfs/ext/whatever on one, ntfs/fat on the other) or if you plan on fucking around with your OS a lot and don't want to be afraid of nuking it lest you lose your porn and only have one drive.
/usr/local. /usr in a different partition than /, and I do not install any retarded distro that symlinks /[s]bin to /usr/[s]bin nor I have an useless /opt./home, /usr, and /var are not part of the OS so they are not in the OS partition. /boot neither, but for different reasons.
>>82032042>>82031767sudo -imv /opt/ /home/ln -s /home/opt/ /optCTRL-dor just install your shit to ~/.localyou're welcome you disfunctional retard
sudo -imv /opt/ /home/ln -s /home/opt/ /optCTRL-d
>>82032475>unless it's physicalThis isn't what partitioning is meant to solve. If your journal fucks up on partition X then it doesn't impact partition Y, or if a logger isn't properly clearing logs then it will only fill /var rather than /. Physical problems are solved by physical redundancy, not logical isolation.>or they're mounted at the same time>or literally fucking anything happensAstounding insight, you actually don't know anything about partitions or how they work.>only reason to do it is wildly different filesystems or if you're fucking around with the OSt. hobbyistThere are plenty of reasons to do it, especially on server-side or multi-user systems in order to separate out permissions and to harden the system.
>>82032158You're probably thinking of GoboLinux, it's got /Programs, /Users, /System, etc. like Windows.
>>82032649if the drive is mounted it can be used, including by malware, and if your logs are filling up your entire drive you're a retard who has configured it poorly.I'll be honest, I partition my laptop, but because >plan on fucking around with your OS a lot and don't want to be afraid of nuking it lest you lose your porn and only have one drive>server-sideyou should have a RAID and you don't manually partition individual drives in that kind of setup, and yool 2012 you should be letting your vm software handle storage allocation, not manually partitioning the raid itself anyway>multi-userevery mainline OS and dristro has user quotas now
>>82031791installed windows. now i cant even find /opt???
>>82031814There's nothing wrong with being disabled anon. Just dont be mean to others because they don't use the same toys as you do
There's no real standard unfortunately. However you can find most things by following it through $PATH. Just find out ls -al $(which <program>)Then follow it until it hits the install dir
>>82032702>you don't manually partition RAIDYou still partition RAID, especially hardware RAID. The disks still need to be setup, just because they're redundant doesn't mean they suddenly defy how operating systems work.If you're using LLVM for software RAID then you don't outright partition but you use the logical volumes, which mimic partitioning within the LVM.>let the VM handle itBare metal moment. Even with VMs though you'll still be dealing with VMDK which is effectively abstracted partitions; you'll have multiple VMDKs for that isolation instead of multiple partitions.>muh configurationHave fun encountering your first bug when working with other people. I'd rather put var on a partition than trust that nobody will ever make a mistake in setting up logging or verifying user uploads.>malwareYet another thing that partitioning isn't intended to protect you from. Malware can't be stopped with any partition scheme and can even harm unmounted partitions.
>>82032699that was it, thanks very much
>>82031943mount /dev/something /opt
>>82031791Your gaming and twitch streaming is not having "career aspirations", anon
>>82031889It means outside of the package manager numbnuts. If it comes from your repos its first party
>/opt is a part of the root partitionI suspect this is a troll
>>82031912mine is 20G cause i'm using an old laptop with 120g drive. My PC is set to 30G
>>82031767>>82031814>>82032042>>82031912>>82032074Your problem is that you don't have experience with Linux yet. When you do, you'll be able to have independent thoughts on the matter.You can install non-package manager software whenever you want. I think most people do it in a dot directory under $HOME. Guides aren't the end-all be-all; a good thing about Linux is that you can decide these things for yourself.
>>82033733>gaming and streaming is the only thing windows is good forare you stupid?
>>82034202>something distributed by a third party is first partyk
>>82031767you can bind a folder from you "home" partition to /opt for a quick fix>>82032580This also works but because its a symlink the program may act weird
>>82031767>The root partition is recommended to be no larger than 20GB>i googled ityou cant buy intelligence
>>82035852Name one other thing
>>82031767>/opt is part of the root partitionYou can make any directory it's own partition, anon. Literally everything is part of the root partition by default.
>>82031791>If you have career aspirations you need to get as far away from Linux as possible.If you aren't aware of the countless career opportunities that require you to be good with Linux, then all that tells me is you are a child who has no business being part of such a discussion.
Its 2021, stupid frog!Just use btrfs subvolume and youll never need to think about partition size ever again