Long time Linux user want to give BSD a try. Please help. reddit / BSD ---------------------------------------------------------------------- ink_on_my_face · 2019-06-17 17:48 I have been using Linux for about 10 years now and I am pretty much an advanced user. I don't need a lot of applications. I am content with a few tools that I can pipe into each other. I usually keep my system minimal and simple. And instead of using ''bundled'' software, I write my own scripts that I have full control over, where I chain tools to get my job done. My reason for considering BSD is because a malware in Linux that has infected almost every distro in the Linux world -- systemd. I also hope that the malware doen't infect BSDs. Also, I am not a fan of GNU either (I prefer clang to gcc, tmux to screen, musl to glibc, etc). I don't know which of the BSD will be suitable for me, Dragonfly, OpenBSD, NetBSD, FreeBSD, etc. Are they like distros? How are the driver support? How is the community help and wikis? Any thing I should I be aware of? ---------------------------------------------------------------------- Pavickling · 2019-06-17 18:19 BSDs are somewhat like distros. You can choose your own windows manager, text editor, etc. However, a big difference between a Linux disto and a BSD is that the userland experience is very uniform and well documented for each BSD. I don't think you'd go wrong with starting out reading the FreeBSD handbook: [https://www.freebsd.org/d oc/en\_US.ISO8859- 1/books/handbook/](https://www.freebsd.org/doc/en_US.ISO8859- 1/books/handbook/). Even if you use another BSD, there's a lot of crossover commonalities that you'd benefit from understanding. ---------------------------------------------------------------------- [deleted] · 2019-06-17 18:23 Hi there. Glad you're considering BSD. There's some basic information at [RUN BSD](https://runbsd.info/) (and you can get cool stickers if you want). > I don't know which of the BSDs will be suitable for me, Dragonfly, OpenBSD, NetBSD, FreeBSD, etc. It depends on what you're planning to do. I've found that OpenBSD makes an excellent workstation/desktop OS that doesn't require an entire weekend's worth of config work. One of the best ways to find out for yourself would be to install them in VMs and see for yourself. If you're strapped for time, though, it's very easy to try out text-mode NetBSD. Just go to [SDF](https://sdf.org) and create a free shell account. > Are they like distros? Not really. Each BSD is a complete operating system that traces its ancestry back to the 4.4BSD-Lite release of the original [Berkeley Software Distribution](https://en.wikipedia.org/wiki/Berkeley_Software _Distribution), which itself was a variation on AT&T Unix. Each BSD's development team creates a complete OS with kernel, drivers, shell, and basic utilities -- and create ports (and binary packages) of additional applications. > How are the driver support? Limited compared to Linux. If you've got a T-series Thinkpad or a similar device with Intel graphics, networking, and wifi then you'll probably be fine. > How is the community help and wikis? The community is friendly, but with limited tolerance for bullshit and nonsense. We still say RTFM over in BSD-land. We aren't doing it out of hostility, but because the man pages (especially for OpenBSD) are often the most comprehensive sources of information available. > Any thing I should I be aware of? BSD init isn't quite the same as the SysV init you're probably used to (and miss). It's still based on text files, but you'll need to get used to them. > My reason for considering BSD is because a malware in Linux that has infected almost every distro in the Linux world -- systemd. TBH, I think systemd is just a symptom of a deeper problem. GNU/Linux is trying to compete with Windows and OSX for the corporate/enterprise space, and is slowly abandoning its Unix roots. I switched to OpenBSD a few years ago because I still wanted Unix. If you can find a BSD that works for you, I think you'll be a lot happier. ---------------------------------------------------------------------- WikiTextBot · 2019-06-17 18:23 **Berkeley Software Distribution** The Berkeley Software Distribution (BSD) was an operating system based on Research Unix, developed and distributed by the Computer Systems Research Group (CSRG) at the University of California, Berkeley. Today, "BSD" often refers to its descendants, such as FreeBSD, OpenBSD, NetBSD, or DragonFly BSD. BSD was initially called Berkeley Unix because it was based on the source code of the original Unix developed at Bell Labs. In the 1980s, BSD was widely adopted by workstation vendors in the form of proprietary Unix variants such as DEC Ultrix and Sun Microsystems SunOS due to its permissive licensing and familiarity to many technology company founders and engineers. Although these proprietary BSD derivatives were largely superseded in the 1990s by UNIX SVR4 and OSF/1, later releases provided the basis for several open-source operating systems including FreeBSD, OpenBSD, NetBSD, DragonFly BSD, Darwin, and TrueOS. These, in turn, have been used by proprietary operating systems, including Apple's macOS and iOS, which derived from them, and Microsoft Windows, which used a part of its TCP/IP code. *** ^[ [^PM](https://www.reddit.com/message/compose?to=kittens_from_space) ^| [^Exclude ^me](https://reddit.com/message/compose?to=WikiTextBot&me ssage=Excludeme&subject=Excludeme) ^| [^Exclude ^from ^subreddit](https://np.reddit.com/r/BSD/about/banned) ^| [^FAQ ^/ ^Information](https://np.reddit.com/r/WikiTextBot/wiki/index) ^| [^Source](https://github.com/kittenswolf/WikiTextBot) ^] ^Downvote ^to ^remove ^| ^v0.28 ---------------------------------------------------------------------- KStef · 2019-06-17 18:39 To be honest, it depends. FAQ/Handbook + man pages are usually enough for regular users. I remember having problems with a wifi card on FreeBSD, it turned out it wasn't supported (an old low-budget Asus laptop). Man pages are like the Bible. You type `man -k broadcom`, or nvidia and read. Try that on Linux (I can't find either of these right now on Void). BTW. I don't remember installing tmux, so it must be installed by default on OpenBSD. ---------------------------------------------------------------------- ink_on_my_face · 2019-06-17 18:59 I got a newish Hp Pavillion 2015 laptop. It has 6gen i3 processor, intel graphics and RTL8723BE wifi card. Are they supported? My troubleshooting is more like: Look at Configs -> Read The Manpage -> Look at wiki -> Google/StackExchange -> Post a thread in a forum. I usually don't like bothering people if I can figure it out myself. My beef with systemd is more about feature-creep bloated and unfortunately more and more sofrware are depending on them. Last time I checked a whole Desktop Environment had a systemd dependency. ---------------------------------------------------------------------- CommonMisspellingBot · 2019-06-17 18:59 Hey, ink\_on\_my\_face, just a quick heads-up: **pavillion** is actually spelled **pavilion**. You can remember it by **one l**. Have a nice day! ^^^^The ^^^^parent ^^^^commenter ^^^^can ^^^^reply ^^^^with ^^^^'delete' ^^^^to ^^^^delete ^^^^this ^^^^comment. ---------------------------------------------------------------------- ink_on_my_face · 2019-06-17 19:00 I guess I should try OpenBSD then. Thanks. ---------------------------------------------------------------------- [deleted] · 2019-06-17 19:06 > RTL8723BE OpenBSD appears to support this chipset as of 6.5. There might still be bugs, though. > My troubleshooting is more like: Look at Configs -> Read The Manpage -> Look at wiki -> Google/StackExchange -> Post a thread in a forum. I usually don't like bothering people if I can figure it out myself. You'll probably do fine, then. > My beef with systemd is more about feature-creep bloated and unfortunately more and more software are depending on them. Last time I checked a whole Desktop Environment had a systemd dependency. I think that's because GNU/Linux is becoming more tightly integrated and its subsystems are being made more interdependent. Again, I think this is being driven by commercial vendors like Red Hat and Canonical looking to compete with Windows/OSX in the corporate/enterprise space. ---------------------------------------------------------------------- ink_on_my_face · 2019-06-17 19:08 BTW, doesn't BSD support Gnome 2 Mate desktop? Distrowatch doesn't say it does? It is my preffered DE. ---------------------------------------------------------------------- [deleted] · 2019-06-17 19:11 Distrowatch is not an authoritative source when it comes to BSD ports/package support. Try these instead: * FreeBSD: https://www.freshports.org/ * NetBSD: http://pkgsrc.se/ * OpenBSD: http://openports.se/ BTW, [OpenBSD does have packages for MATE](http://openports.se/x11/mate). ---------------------------------------------------------------------- ink_on_my_face · 2019-06-17 19:12 What is the package management like? Disteowatch says its TXZ. Does that mean, I'd have to compile everything from source like Gentoo or Slackware? ---------------------------------------------------------------------- [deleted] · 2019-06-17 19:13 You *could* build from source, but you're better off using your chosen BSD's package utilities. In my case that's ```pkg_add```, ```pkg_info```, and ```pkg_delete```. ---------------------------------------------------------------------- ink_on_my_face · 2019-06-17 19:17 no I don't want to compile everything from source, I want something like `apt`, or `xbps`. Please link to `pkg_*` man page. ---------------------------------------------------------------------- jggimi · 2019-06-17 19:23 The OpenBSD Project's official communication channels are its website and its mailing lists. Places like r/openbsd and www.daemonforums.org are unofficial, and populated mainly by users. There's also a small unofficial IRC community. ---------------------------------------------------------------------- ink_on_my_face · 2019-06-17 19:25 The mailing list is for support? I though mailing list are mainly for development. ---------------------------------------------------------------------- jggimi · 2019-06-17 19:26 * http://man.openbsd.org/pkg_info.1 * http://man.openbsd.org/pkg_add.1 * http://man.openbsd.org/pkg_delete.1 ---------------------------------------------------------------------- [deleted] · 2019-06-17 19:27 Here's the manual page for [pkg_add](http://man.openbsd.org/pkg_add). You should be able to use the search function to find other man pages. ---------------------------------------------------------------------- jggimi · 2019-06-17 19:36 There are multiple mailing lists. https://www.openbsd.org/mail.html ---------------------------------------------------------------------- icantthinkofone · 2019-06-17 19:58 To clarify, you have the choice to build from "ports" or "packages". Ports give you the advantage of making changes to the default configuration but it needs to be compiled into a package for use. Packages are ports already built for you but they contain the default configuration. An issue with packages is that someone needs to build them for you. Most times an update will have the package built at the same time or it comes around within minutes and hours. However, it also sometimes comes around days or weeks later but that would be unusual for the popular packages. Most people use packages but, remember, packages are only ports with default settings. It should be noted, too, that because there might be a delay in package creation, they may trail dependencies in ports. Therefore, it is advised not to mix ports and packages. iow, don't install one bunch of software with pkg and another bunch with ports as ports may install a newer version of a dependency thus borking your package (though experienced users know how to work with this). That is a note and nothing to fear. ---------------------------------------------------------------------- dubbadubbadubbacha · 2019-06-17 21:08 Get FreeBSD and don't look back, ---------------------------------------------------------------------- Kernigh · 2019-06-17 22:15 I prefer to check the actual packages on the mirrors. I now use [OpenBSD 6.5 amd64 packages](http://cdn.openbsd.org/pub/OpenBSD/6.5/packages/amd64/). Seems that FreeBSD builds packages often, but NetBSD goes 3 months between builds, and OpenBSD goes 6 months. Because I run OpenBSD, my packages may be 6 months older than what you see in openports. ---------------------------------------------------------------------- [deleted] · 2019-06-17 22:21 Unless you run [- current](http://cdn.openbsd.org/pub/OpenBSD/snapshots/packages/amd64/) . (Use at your own risk.) ---------------------------------------------------------------------- FUZxxl · 2019-06-18 01:23 FreeBSD has the richest feature set and the best hardware support. I strongly recommend it. The experience is pretty similar to a standard Linux distribution, but it's more straightforward and everything is exceptionally well documented. There is also TrueOS, which is a FreeBSD variant with a nicer installer geared towards end users. You might find it particularly easy to set up. NetBSD is similar with a focus on portability. It's a really good system, but I have very little experience with it. You might want to give it a try, too. OpenBSD is designed entirely to be secure. Using it is a bit of a throwback to the 90s which is not a problem if you are a seasoned UNIX admin, but for a desktop system, it can be a bit challenging to use. I recommend you not to use OpenBSD unless you know exactly what you are doing (i.e. unless you do not need to ask this question). ---------------------------------------------------------------------- ipv6-dns · 2019-06-18 03:35 1. There a uninfected Linuxes: VoidLinux for example (made by BSD guy, sure) 2. My personal preference is OpenBSD (classical fantastic minimalistic Unix), but software is outdated and small number of devices is supporting. So, mainstream is FreeBSD and it's clones. NetBSD is totally experimental beast IMHO, I never used it. Friends, please, correct me here. 3. For user/desktop - FreeBSD and direct clones - is the best (number of drivers, more new software versions) 4. And remember: BSD always leaks drives number and software versions little bit, because he is conservative solid OSes line without hype and self-PR so it always had less support among vendors and commercial companies PS. IMHO BSD is seriously better than Linux: as OS, as kernel, as ideology, as quality ---------------------------------------------------------------------- ink_on_my_face · 2019-06-18 06:23 I am Void Linux user love it very much but the core maintainer @xtraeme is gone. I hope he is alright. Also, even with Void Linux, you have to jump through hoops to avoid systemd, also extremely difficult to avoid ''pulseaudio'' malware. ---------------------------------------------------------------------- ink_on_my_face · 2019-06-18 06:28 Ports are like tarballs, you apply your options, flags and compile. Packages are like binaries. Someone has compiled them for me. I just download the one for my architecture and run. Right? ---------------------------------------------------------------------- illumosguy · 2019-06-18 06:52 NetBSD is by no means more experimental than the others, you can use it on desktop just fine. NetBSD folks are very conservative when it comes to include new features in formal releases, which result in them being very stable and benefitting from a long-term support; on the plus side, choosing Net is not devoid of advantages over the others. To a certain extent, the only BSD to be regarded as experimental here is somewhat DragonFly. When it comes to NetBSD, there's always way too many myths, common places, blind assumptions and outdated info, even, and possibly especially, within the BSD community itself, and that's a true shame ---------------------------------------------------------------------- j0holo · 2019-06-18 06:55 Yeah, that kind of how it works. Pkg (FreeBSD) or pkg_add (OpenBSD) is like apt. Ports are "just" makefiles. ---------------------------------------------------------------------- j0holo · 2019-06-18 07:03 I don't find the differences between OpenBSD and FreeBSD that big. Saying that OpenBSD is a throwback to the 90s while FreeBSD is rich in features (which it is) is a bit weird. OpenBSD has many thongs that were/are ahead of its time (OpenSSH, pf) that are ported to many other OSes. But I agree that FreeBSD is more eature rich especially regarding file system support. ---------------------------------------------------------------------- Weaseal · 2019-06-18 07:25 What's wrong with systemd? ---------------------------------------------------------------------- ink_on_my_face · 2019-06-18 07:34 http://ewontfix.com/14/ ---------------------------------------------------------------------- ipv6-dns · 2019-06-18 07:50 > NetBSD folks are very conservative when it comes to include new features in formal releases Ah, OK, because I have not experience with NetBSD. Thanks for correction ---------------------------------------------------------------------- icantthinkofone · 2019-06-18 10:37 Yep. In fact, when you install a port, and it's not already on your system, a tarball is downloaded and you can find it in /usr/ports/distfiles/. ---------------------------------------------------------------------- jggimi · 2019-06-18 12:34 For clarity, a port contains only the "scaffolding" needed to build an application from source: * There's a Makefile, with build instructions and dependency information. * There's a checksum file for the source. * There's a packing list, describing how the binary package should be assembled. There may be additional files, such as OS-specific README files, or OS-specific source code patches. But generally, building from ports one does not set unique compiler options or flags. A lot more information can be obtained from the ports(7) man page and related man pages in the SEE ALSO chain. ---------------------------------------------------------------------- [deleted] · 2019-06-18 17:24 xtraeme is back and contributing again. Although, he is mainly contributing to xbps itself and, not so much packages. I'm also a Void user, musl + awesomeWM. Apart from that, I use NetBSD with spectrWM and I'm very happy with it. Mate is available, but I don't bother with full fledged DEs, I prefer a tiling WM and to pick my components one by one. ---------------------------------------------------------------------- ink_on_my_face · 2019-06-18 17:31 I use Awesome WM for most of the time, but when I am not working, I just want to lean back, use my mouse for everything like browser the internet, watch movies and stuff, I use MATE. BTW, is Awesome available? ---------------------------------------------------------------------- jggimi · 2019-06-18 17:48 > BTW, is Awesome available? The answer for OpenBSD: yes. ---------------------------------------------------------------------- [deleted] · 2019-06-18 18:07 Yes, awesomeWM is available on NetBSD. Currently, version 4.2 (human after all). Have a look at this thread of mine to set everything up on NetBSD, https://www.unitedbsd.com/d/6-netbsd-a-little-guide-for-newcomers There's also an incredible helpful series of tutorials by @JuvenalUrbino, both on the new UnitedBSD forum and on the old archive. You'll find the archive link on the new forum. ---------------------------------------------------------------------- ink_on_my_face · 2019-06-18 18:16 You recommend NetBSD, but are people who are advocating FreeBSD and OpenBSD. Which one should I try? ---------------------------------------------------------------------- [deleted] · 2019-06-18 18:42 Try the one you want really. I can only talk about NetBSD, its the only one I've used. xtraeme was a NetBSD dev and, I've always been atracted to smaller projects. Like you, I was also looking for an alternative to Linux. I'm happy with NetBSD and I love the simplicity of the system. I don't need ZFS, my hard drive is too small for it to be of any use. I'm looking no further to be honest. ---------------------------------------------------------------------- geezerblab · 2019-06-19 18:44 I switched to dragonflybsd, then openbsd and went to FreeBSD. Before that, I was a Linux user. (Since 1996) FreeBSD was a huge treat for me, it reminded me of slackware. Dragonflybsd was a tight community and openbsd felt like a coiled up rattle snake, hoping I do something wrong so it can bite me. Linux is sort of in a race to the bottom with Microsoft to be the crappiest operating system. SystemD is one of many things wrong with modern linux. Mostly, linux became a conglomeration of corporations collaborating to produce a kernel that meets their business interests, and it shows. Linux didn't always suck though. I remember when it used to be good :) Personally, I'm thinking of switching back to Linux because I want to use blender, and 2.8 looks like a bear to compile. Linux is better at multimedia, IMO. Basically, BSD is pretty awesome for doing traditional server stuff. But not so good for environments where you might need proprietary software, or scanners, weird hardware, multimedia. It's wonderful for getting stuff done in a relatively BS free way though. You'll probably really like it. It's very clean. ---------------------------------------------------------------------- ink_on_my_face · 2019-06-19 19:30 I will be doing my PhD in Machine Learing this year, which will be my main work. I don't think I'll need any proprietary software. But I don't need any server administration. I mostly produce Latex documents, draw stuffs using Asymptote, simulate algorithms using C (I don't like other programming languages). Sometimes I need to watch movies (MPV), need Inkscape for drawing and do animated simulation in Processing. That's probably the only multimedia heavy tasks I need. What do you say? ---------------------------------------------------------------------- geezerblab · 2019-06-19 19:47 Movies work. LaTeX works. Clang works (great actually) in my opinion, FreeBSD is excellent for C programming, but java.... not so much (be aware that java could be a pain, if something needs it). Not sure about inkscape or asymptote, but would recommend verifying. Most likely it'll work though. Wouldn't recommend FreeBSD for a laptop. ---------------------------------------------------------------------- ink_on_my_face · 2019-06-19 19:53 Why is Java not so great on BSD? Is Open JDK not available? Also, what would you recommend for a laptop? NetBSD? EDIT: What debugger is available? LLVM has a debugger?? I always used GDB. Also is Valgrind available? ---------------------------------------------------------------------- geezerblab · 2019-06-19 20:09 It was a number of years ago, but java was a big pain when I tried it. Not saying it won't work, just that you may have to work to get it to work. I use gdb too. (And cgdb) llvm does have a debugger, but I like gdb and it works with clang just fine. For a laptop? Honestly, I don't know. Linux has the lead when it comes to things like suspending and hibernation. ---------------------------------------------------------------------- ink_on_my_face · 2019-06-19 20:13 Even on Linux, the battery backup is crappy, and WiFi is off until reboot if you close the lid. Any inprovements in BSD in those areas. ---------------------------------------------------------------------- unquietwiki · 2019-06-21 04:13 I like systemd! That being said, I'm trying /r/dragonflybsd for some projects, and liking it so far. Seems to have a fair bit of Linux heritage to it too. ---------------------------------------------------------------------- jdrch · 2019-06-24 18:39 > advanced user OpenBSD sounds like the ticket for you. It's definitely where the most exciting development on BSD itself happens, especially in terms of. FreeBSD is more about stability for servers; NetBSD is about portability and being able to run on anything. > Are they like distros? Only in the sense that they're open source and related to Linux. BSD is POSIX-compliant, which means: 1. Excellent code and portability among the BSDs. Write once, run everywhere 2. Minimal breakage due to incompatibility 3. Following from 2) above, updates focus on features and security patches as opposed to fixing problems created by previous updates 4. Technical correctness, extensibility, and completeness *at release* are emphasized. This avoids problems resulting from having to fix code after it's been released BSD is about doing things right, then doing them quickly, then making them easy, in descending order. > driver support LOL. Very limited. With rare exception, you can forget (current gen) Wi-Fi and Bluetooth. Stick to the basics: SSD, RAM, SATA, and integrated graphics. Logitech wireless mice with *proprietary* dongles work (somehow, despite Bluetooth not) though. > community help Excellent. People are willing to help and far less aggressive, dismissive, and dogmatic than Linux (especially Ubuntu.) BSD's business-oriented roots have engendered a culture of interoperability, so BSD users and experts don't take offense that BSD may not be your primary OS (unlike most Linux user groups.) > wikis Wikis are for things that are inconsistent/developed without an overarching standard in mind. OTOH POSIX compliance gives you *handbooks*, i.e. actual *manuals* that, like the software, require only minimal updates because of the stability of everything else they reference. The FreeBSD handbook is a great place to start. > Any thing I should I be aware of? 1. In-place feature updates are still generally problematic. So much so that some BSDs recommend you do a clean install and then restore your apps and settings from backups. Projetct Trident (basically TrueOS for dekstops) has largely fixed that problem with a very reliable SysUp GUI update tool (as opposed to `pkg`, which is challenged in that respect) 2. *Device* - as opposed to filesystem - backup and imaging ranges from complicated to inaccessible 3. Service support is spotty and inconsistent. BSDs that use OpenRC manage services differently form those that don't, and many (all?) of the former require matching OpenRC scripts for each service. This is obviously far more complicated and difficult than absolutely necessary, but again as I said, ease of use is not BSD's 1st or even 2nd priority