Looking for an excuse to run *BSD operating systems reddit / BSD ---------------------------------------------------------------------- phylopylo · 2020-03-24 17:47 Hi all, I've been using Fedora Linux for about a year now with the i3-gaps window manager, and I'm looking for something new. My question is pretty simple - If I switch to BSD, what will change about my workflow that will make me more efficient? I don't care about licensing. If Microsoft made a new operating system that used i3-gaps and did a better job than my Linux operating system did, I would use it. My goal is to be constantly improving my setup, and I'm wondering if BSD will enable me to do that. Thanks! ​ EDIT: In case you were wondering, my workflow uses i3-gaps with google chrome. I mainly use online versions of applications like google docs for school, but from time to time I do find myself using LibreOffice. I use Spotify for music and play games on steam, but I'm completely willing to give up gaming. I also program in python, do some web development including back end stuff with node.js, and some basic bash scripting. ​ EDIT 2: It seems that BSD is only better for servers than Linux, and worse for the desktop than Linux, so my decision right now is to not use it. (Feel free to disagree and add a comment) ---------------------------------------------------------------------- swinny89 · 2020-03-24 17:57 How can we answer that if we have no idea what your workflow currently is? What are you using your computer to do? ---------------------------------------------------------------------- ocviogan · 2020-03-24 18:21 Why don't you try it yourself and see what you think? Something I appreciated when going from Linux to BSD is that BSD felt much more solid and reliable to use, software was written well, and documentation was a bliss. I don't know if switching to BSD is really gonna benefit your i3 workflow in any way, but it doesn't hurt to try a new OS :) my personal favorite is OpenBSD, Though I recommend starting off with FreeBSD. ---------------------------------------------------------------------- phylopylo · 2020-03-24 18:26 I apologize, you're right, I will add this to my post. ---------------------------------------------------------------------- phylopylo · 2020-03-24 18:31 I think I'll try it in a Virtual Machine. I get that BSD may be more stable, but I have never had a crash or a bug on my Fedora Linux install. ---------------------------------------------------------------------- ZarK-eh · 2020-03-24 18:35 I'm trying FuryBSD and had huge problems. Searching shows others having problems like me but no fixes. Several months later tried again with a new version and same shit. Pretty sure the dev's don't care, stay with Linux or try a different OS. ... FYI, I tried uefi, mbr, amd intel nvidia every machine I had failed with a black screen. Pfft Edit: Also tried trueos and seemed ok, except when I wanted to setup services and programs that wouldn't start at reboot.none of the guides had anything that worked with trueos. If I was to do it again, i'd go openbsd or hardenedbsd and do it the hard way which seemed to work, which goes against my lazy windows admin ways :l so watching this thread with eager uhm gumption ---------------------------------------------------------------------- GNUandLinuxBot · 2020-03-24 18:35 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. ---------------------------------------------------------------------- phylopylo · 2020-03-24 18:37 Ok, thanks. I'll stay away from FuryBSD ---------------------------------------------------------------------- [deleted] · 2020-03-24 18:39 [deleted] ---------------------------------------------------------------------- Shred_Alert · 2020-03-24 18:46 It's a bot. ---------------------------------------------------------------------- phylopylo · 2020-03-24 18:47 # 😳 ---------------------------------------------------------------------- swinny89 · 2020-03-24 18:48 Your workflow won't be hard to work with on any major BSD. You will probably have to use Chromium rather than Chrome. No big deal there. I know wine exists on FreeBSD, so maybe there is at least some level of steam functionality on FreeBSD. ---------------------------------------------------------------------- phylopylo · 2020-03-24 18:49 That's good to hear. Is there anything superior about BSD that would change my day to day life / my workflow? ---------------------------------------------------------------------- swinny89 · 2020-03-24 19:07 The BSDs are generally more coherent systems than Linux. What that means practically speaking from a desktop user perspective, is essentially no difference. The primary impact of coherence is for sysadmins who rely on predictability in their environment. In the Linux world, there are all kinds of different philosophies about how the OS should be interacted with. There are 100 different tools for any given job, that all have similar goals. On BSD, there is generally a "correct" tool for the job developed and maintained by the same group that builds the rest of the OS. Options still exist, but having options is less of a priority. Especially on OpenBSD. If you live in a terminal, and are interested in technical system administration, and want to devote your understanding to a single OS, going with a BSD could be a good option. If you aren't in a situation where any of that provides significant value to you, then give a BSD a try, but I would guess you will find yourself back in Linux. That's pretty much what I did. One of the biggest values I have in an OS is in trying new things. I'm a hobbyist. I tried the BSDs, and they are great. I would probably go with one of them if I were building a solid product to sell. But I'm not. I'm tinkering. I want to try Wayland, and iwd, and PowerShell, etc etc. Linux is messy, but it has more toys. :) ---------------------------------------------------------------------- GNUandLinuxBot · 2020-03-24 19:07 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. ---------------------------------------------------------------------- munocat · 2020-03-24 19:09 I just installed and configured FreeBSD on a 2009 Mac mini. I found that it was so much better layout, the config files are much simpler and not systems. The pkg add system works great. Plus the ports allows you to build and install if you don’t want to download. This YouTube is a wealth of information and very good videos. https://www.youtube.com/channel/UCxwcmRAmBRzZMNS37dCgmHA I am setting NetBSD on a second 2009 Mac mini. ---------------------------------------------------------------------- phylopylo · 2020-03-24 19:16 Thank you, this answers my question perfectly. I think initially, I'll run BSD in a vm, try it out. Later on, I'll dual boot it with my current operating system. If I really like it and I stop caring about things that are only on Linux, then I'll use it as my main operating system, because of it's stability. ---------------------------------------------------------------------- swinny89 · 2020-03-24 19:17 You're right. Here's a cookie. ---------------------------------------------------------------------- phylopylo · 2020-03-24 19:18 How are the config files simpler? ---------------------------------------------------------------------- munocat · 2020-03-24 19:22 The organization, rc.conf is really well used, for setting up the system, from ip, graphics etc. I found on Linux, and depends on distro, things are all done in different ways. It get confusing when I am using different distros on different platforms. I am trying to standardize my systems to be the same. ---------------------------------------------------------------------- Shred_Alert · 2020-03-24 20:04 Some background: I use Linux, FreeBSD and Windows; I hop between all 3 on a daily basis. Every OS should be seen as a tool. Use the right tool for the job. Don't make life hard for yourself, unnecessarily. FreeBSD is the only *BSD I have any real experience with so I'll pitch in for that particular member of the family (even then, just a few points). With FreeBSD you get a very clean and performant network stack. `ifconfig` will pretty much be all you'll need to interact with. The manuals and other official documentation have so many examples and are comprehensive; you'll barely ever have a question that hasn't already been given a definitive answer. A lot of things at the kernel level can be tuned and switched on/off during runtime; this means rebooting is often not necessary. Again, very clean interface for all this. You'll pretty much be using just `sysctl` and `kldload`. ZFS is a first-class citizen in FreeBSD. The default installer has support for it and the official documentation resources cover ZFS very well. FreeBSD has `bhyve`. It's a no-frills type-2 hypervisor that's excellent for server VMs; dead-easy to automate. FreeBSD also provides `jail`; you can think of jails as cheap, OS- level virtualisation similar to Linux containers (Docker and the like). Jails are an official part of FreeBSD (unlike Docker which is not an official part of Linux) so the information in the official docs about jails is always going to be up-to-date and comprehensive. There is no separate "Enterprise Edition" of jails; you get full access to everything that's developed for it. The downside of jails vs Docker is that you don't get to leverage the absolutely enormous ecosystem of software that Docker has. Software-wise: unless something is specifically built to run on Linux or Windows (I'm looking at you .NET and `systemd`) chances are that you'll be able to get it working on FreeBSD. Most open-source software that's important enough (especially if it's something back-end) will have FreeBSD support. For example: [Terraform supports multiple BSDs, officially](https://www.terraform.io/downloads.html). If you're doing something that's more for mobile though, you're going to have a bad time with FreeBSD (think Android's SDKs). As a desktop FreeBSD is meh. Linux still has some pain points being a desktop in 2020 so expect it to be harder on FreeBSD. This all comes down to what you want to do with your desktop, ofc. If you only code and use basic browser functionality like watching YouTube, you should be okay; if you plan on using fancy client software and the latest- and-greatest browser features just save yourself a lot of pain and use Linux or Windows. Gaming-wise: Don't try to game on FreeBSD. Linux is coming along with Proton and all the help of Valve and friends; sometimes you'll be forced into using Windows for gaming. In terms of security: FreeBSD has tremendous security potential. You get stuff like `chflags` and `securelevel` which are awesome. Last, but certainly not least, check out Michael W. Lucas' books on FreeBSD. They are really amazing books that will teach you a lot about FreeBSD (and IT in general). ---------------------------------------------------------------------- phylopylo · 2020-03-24 20:16 I appreciate you writing so much, thank you! Basically what you're saying is - FreeBSD isn't that great on the desktop unless I'm using it like a Chromebook, so it should only be used as server software? ---------------------------------------------------------------------- Shred_Alert · 2020-03-24 20:29 More or less, yeah. And you're welcome. :) ---------------------------------------------------------------------- bsdlinuxnerd · 2020-03-24 21:04 I got a Sandisk Ultra USB 3.0 thumbdrive for $15 USD and installed OpenBSD to it. With some tweaks it runs smoothly and I just use it to learn more about OpenBSD, study the source code and secure coding. My laptop has Arco Linux installed but I can just boot from the thumbdrive and have a working OpenBSD install on the fly (you can also do FDE if your threat model includes evil maid attacks, but for most this is not necessary unless you have sensitive data on there). You can even run chrome to do it's disk caching in memory which is helpful because it will be slower. ---------------------------------------------------------------------- jdrch · 2020-03-24 21:07 > If I switch to BSD, what will change about my workflow that will make me more efficient? Depends on your workflow. The biggest advantages of (Free)BSD are: ## 1) A more cohesive OS with parts that were developed specifically to work with each other as opposed to being different packages installed to the same directory that happen to use the same kernel. Many packages that are developed for Linux have different, undocumented implementations on different distros. In FreeBSD, your package was (generally) developed or ported specifically for FreeBSD in mind. For example, the `exim4` MTA's setup differs wildly depending on which distro you're using it on. In contrast, FreeBSD's mail utilities are well documented and just work. ## 2) Excellent base system documentation in the form of the Wiki + Handbook + man pages Except perhaps for RHEL/CentOS, Linux documentation basically boils down to [You Figure It Out](https://www.youtube.com/watch?v=ZZtu6c_c3W8). Even Debian's handbook and wiki are pretty incomplete/inaccurate in many areas. ## 3) Write once, run forever FreeBSD's ABI is extremely stable, meaning that once you write working code, it's basically guaranteed to work for a very long time across system major version updates and the like. ---- > I don't care about licensing This is the way^TM 🙏💪 > google chrome Unfortunately, 3rd party (Free)BSD browser support is pretty bad right now. Chrome actually has no `latest` repo package because the build has been failing. Neither Mozilla nor Google target or test on BSD. Even Firefox, which does work, consumes more RAM on FreeBSD than on other OSes because [`mozjemalloc` has so far been impossible to port](https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244879#c1). > LibreOffice Works fine. > Spotify You're gonna have a hard time with that one on anything that isn't Windows or macOS. [The number of distros with repo packages is relatively small](https://repology.org/project/spotify/versions). Distros not listed on that page either have to use a Spotify snap or the web player. FreeBSD would have to use the latter as it has no `snapd` support. > worse for the desktop than Linux Depends on your needs. In your case, BSD would be worse for your needs than your current OS. ---------------------------------------------------------------------- [deleted] · 2020-03-25 00:11 [deleted] ---------------------------------------------------------------------- amdphreak · 2020-03-25 06:01 BSD’s system tools are typically easier to wrap your brain around on the command line and have more aesthetic choices made (manuals may be nicer written and easier to understand). Some features are BSD- specific (DragonflyBSD’s file system). ---------------------------------------------------------------------- bsdlinuxnerd · 2020-03-25 06:16 As a 4+ year serious BSD user who lived in FreeBSD OpenBSD as a desktop; prepare for headaches and frustrations. BSDs (Free and Open) can be made into a reasonably functional desktops, but if you're spoiled with the luxuries of Linux your gonna have a lot of wtf moments, I gaurantee it. For a web server or router, BSD all the way. OpenBSD for me because setting up httpd is really simple and it just WORKS; I can sleep at night and not worry about it. (I have a website running on OpenBSD) However, Im not so much of a masochist as to run a BSD as my daily driver anymore because Linux has ironed a lot of its problems and is rock solid now (esp Arch Linux). I still appreciate the concepts, community and engineering behind OpenBSD so I will continue to use it as server OS, and from a USB for educational purposes. Im not sure what direction FreeBSD is going in because it seems to hold on to a lot of traditional BSD unix ways of doing things (which is fine, many projects are in too much of a rush into the future). I do have a partition with FreeBSD 12.1 installed to be in the loop in case I made need its features for a project or job. ---------------------------------------------------------------------- FUZxxl · 2020-03-25 08:34 ZFS alone is a huge reason to switch to FreeBSD. It's so much easier to make backups by sending ZFS snapshots around. Almost all Linux tools are also available on Linux. One problem could be Docker which is not really compatible: while FreeBSD has Linux binary compatibility, it's stuck at kernel version 2.6.38 which is pretty dated these days. ---------------------------------------------------------------------- the_hiacer · 2020-03-25 13:17 If you are using i3-gap and want something new, OpenBSD with cwm is worth trying. cwm is a window manager designed to keep your fingers on the keyboard as much as possible. It gears towards vi and ”old school“ programming. The user experience of cwm is good, but not the system as a whole. Browsers cannot properly display Chinese characters, things just, well, take a different path, doas vs. sudo, got vs. git etc. The experiences is painful but you learn a lot along the way. Understanding dmesg output helps a lot. Digging around the source code is fun. Sometimes you don’t know you are programmer or a Unix historian. The WiFi experience is fantastic. If your wifi chip/USB dongle is supported, you need to nevertheless install via a wired connection first, then download the firmware for the WiFi via the RJ45 connection first. Don’t try to run OpenBSD for any production system unless you can sort things out at source code level. ABI changes vigorously from release to release that means things might just break silently. For FreeBSD, do not use FreeBSD without [this book ](https://www.amazo n.com/-/zh_TW/gp/aw/d/0321968972/ref=dp_ob_neva_mobile). It is unfortunately for FreeBSD 11. Reading this book along the FreeBSD 11 source code is like having hardcore sex and reading Michael Lucas‘ FreeBSD books is like watching the Japanese AV with mosaics covering the cunts and where the dicks meet the cunts. I fool around with NetBSD for armv8 architecture. NetBSD is closer to OpenBSD. The source code is good but I could not found a decent describing it. If you are comfortable with Linux, then you should definitely try the various BSD‘s one way or the other. ---------------------------------------------------------------------- woogeroo · 2020-03-25 14:16 Chromium is dog slow on all BSDs compared to Linux. ---------------------------------------------------------------------- TheRealLazloFalconi · 2020-03-25 15:18 By stable, we don't mean, "it runs for a long time", we mean, " It doesn't change often." BSDs don't include the newest flavor of the week init system or graphics drivers. If it ain't broke, devs don't fix it. ---------------------------------------------------------------------- ctisred · 2020-03-25 16:09 >Don’t try to run OpenBSD for any production system unless you can sort things out at source code level. not really true if you are using interpreted languages + ports packages, for system updates the binary patches are getting pretty integrated into the system ​ that said, one of the great things about the bsds is that they make the 'crazy' (read: traditional) notion of maintaining an entire system from source pretty straightforward ---------------------------------------------------------------------- ZarK-eh · 2020-03-25 16:45 Yea, don't care. ---------------------------------------------------------------------- gumnos · 2020-03-25 17:59 Interesting…I run `chromium` (in addition to `firefox`) here on my FreeBSD box and haven't encountered any issues. ---------------------------------------------------------------------- moon89286 · 2020-03-25 19:23 >I'd just like to interject for a moment. What you're referring to as Linux, is in fact, GNU/Linux I'd just like to interject for a moment. What you're referring to as Linux, is in fact, GNU/zlib/X11/NetworkManager/systemd/PulseAudio/Pyth on/Perl/OpenBSD/LLVM/Qt/GStreamer/FFmpeg/Xiph/Linux ---------------------------------------------------------------------- woogeroo · 2020-03-25 19:57 Issues, hmm. It may work, but it is very noticeably slower than the same browsers on Linux and Windows. I’ve also seen issues like video tearing, and lack of support for video DRM. OpenBSD is the same but even more so. ---------------------------------------------------------------------- aspiringgreybeard · 2020-03-25 20:00 >Im not sure what direction FreeBSD is going in because it seems to hold on to a lot of traditional BSD unix ways of doing things This is very true, but I think this is an important driver of the value of BSD systems. Creeping complexity moved me from Linux toward FreeBSD. I recently needed to stand up a Linux box on the quick, and I set up Alpine Linux to make use of a docker container based piece of software we need. Alpine reminds me of the "good old days" when as an admin you knew the origin and function of every single piece of the OS. It made it so much easier to reason about the system's behavior. I think the simplicity, stability, and documentation benefits of running BSD on servers are vastly underrated. I also run a modern, complex Linux (OpenSUSE and Debian), and the sheer number of moving parts can keep someone like me who needs to know how things work in order to feel like I can fully support them up at night. OpenSUSE has great documentation too, but the amount of complexity that has sprung up around configuration and administration is hard to justify when you realize these boxes don't do more than their much simpler predecessors. There's something to be said for vi and a few text files. (And before anyone gets started, yes, I understand the value of automation and IaC.) I completely agree with your thoughts on Linux's advantages on the desktop. I just wish they weren't so true. I also wish docker didn't get orders of magnitude more attention than BSD jails and Solaris zones, but here we are. I'm just glad Alpine exists for crusty keep- it-simple types like me. ---------------------------------------------------------------------- the_hiacer · 2020-03-25 23:23 Things just works, that is true for initial deployment. Now I have got six VM in my little humble network. Making things consistent is becoming a headache. ---------------------------------------------------------------------- ctisred · 2020-03-26 01:13 same is true for any unix-like ( or really anything ) ---------------------------------------------------------------------- ganooll · 2020-03-26 10:33 > Is there anything superior about BSD that would change my day to day life / my workflow? Yes, there is! It will make you appreciate your established workflow on your current (linux) setup. ---------------------------------------------------------------------- [deleted] · 2020-05-08 01:57 FreeBSD has the most desktop package support. As for constantly improving your setup, the Ports Collection or pkg latest can help you there. Getting FreeBSD running is going to be a challenge, but, if you're up to the challenge and ready to search or sit down and read the handbook, you'll be a BSDPro in no time. ---------------------------------------------------------------------- [deleted] · 2020-05-08 02:07 Michael W. Lucas is an amazing author. I picked up both Absolute FreeBSD and Absolute OpenBSD in a Humble Bundle. My top two favorite books from it, next to Inkscape. ---------------------------------------------------------------------- [deleted] · 2020-05-08 22:48 FreeBSD has the most support for desktop packages? What does that mean? ---------------------------------------------------------------------- [deleted] · 2020-05-09 00:43 You'll find a lot of usable packages for a desktop system within the repository or ports tree. This is probably mainly due to just how widespread FreeBSD is - it's the kernel of choice by both the PlayStation and the Nintendo Switch design teams.