- Linux vs BSD: Is BSD better than Linux?
- Linux vs BSD
- Understanding the fundamentals of Linux and BSD
- Linux and BSD License difference
- BSD or Linux, the Choices for users
- Software availability and compatibility for Linux and BSD
- Linux vs BSD: Compatibility with the latest hardware
- Which one to choose? Linux or BSD
- Почему BSD проиграла в битве с GNU/Linux?
- В бой вступают юристы
- Две разные лицензии
- Две разные методологии
- Наследие BSD
- Примечания переводчика
Linux vs BSD: Is BSD better than Linux?
Linux vs BSD: Two operating systems with small names but a lot to discover, that’s we called a power of open sources.
Microsoft Windows is so popular and widespread that it doesn’t require any kind of introduction. We all, or majority use it to carry out simple to complex everyday activities. The same goes for Linux, even though the majority doesn’t use it for the apparent complexity which though is based on one’s exposure to the world of computing. Linux is popular among a big class of users who are into development or is a big fan of open source elements, which Linux is, as well. Long story short, almost everybody in the 21st century knows about Windows and Linux, even if they haven’t used one of them ever in their lifetime.
Well, the world of operating systems isn’t that tiny. There is yet another class of operating system, which most users don’t know about, or haven’t used it ever in their life. It is BSD. BSDs are yet another class of operating system which is also popular among some individual users, or some organizations with some unified goal. If we keep the scene of Windows out of the picture, for now, most users might consider BSD and Linux to be quite similar, with some small differences, or do not have any conception about BSD altogether. And if you are on the verge of installing a new operating system on your computer, which is going to be better for you!
We will find everything in this article.
Linux vs BSD
Understanding the fundamentals of Linux and BSD
Talking about Linux, which has more fans than that of BSD or Berkeley Software Distribution , Linux is just a kernel, which is the core of any operating system you will come across. Kernel actually lies between the software and the hardware and it helps the user take the advantage of the software and the hardware resources available within a system. It is on the top of the kernel that the operating system is built. If you plan to install Linux onto your system, you actually install a distribution of Linux, which is built using the Linux kernel and then adding different kinds of programs on top of it by the developers of the distribution. There are a plethora of Linux distributions, you might already know about, like Ubuntu , Fedora , Linux Mint , Redhat , OpenSUSE, and many others. The core or kernel of the operating system though is always the same, which is the Linux kernel.
BSD, on the other hand, is a complete operating, rather than being the only kernel. The BSD developers use the BSD kernel as the core of the operating system, add different kinds of programs to it and make it available for the users in whole. So a BSD OS is the BSD kernel plus the programs that are available in one single package.
While Linux is just the kernel, and the developers of Ubuntu, Redhat, etc. use that kernel and embed different kinds of programs to it before making it available in the market. It is the reason, why different Linux distributions come with different set of programs, and repositories, where you can download different other programs as per your requirements.
That was the basic difference, but there are other differences, as well, which we will discuss one by one.
Linux and BSD License difference
Licensing is an important aspect of software distribution, which is quite different in the case of both Linux and BSD. Licensing being different for Linux and BSD, the software development scenario and the popularity among users vary widely for these two operating systems.
Linux comes under the GNU Public License or GPL, which means, the developers can always develop the Linux kernel, modify it or add new features to it, but there is a catch. The developers will always have to release the source code for the newly designed kernel, even if they don’t want to. The GNU Public License or GPL license ensures that the source code of the projects always is always open for further development purposes, and thus, Linux is not an exception to that, as well.
The scenario is different in the case of BSD. BSD comes under its unique BSD license, which makes it kind of open-source or closed-source, completely dependent on the developer or the way you look at it. If you want to develop something new, using BSD, you are free to not release the source code for it. Thus, you might call it open-source of closed-source depending upon how the developers treat it, however, it doesn’t have a GNU Public License like Linux.
BSD or Linux, the Choices for users
This is an important point, where you might consider Linux to be the winner. There are hundreds of Linux distributions available out there, for a different class of users with a different set of requirements. If you are a fan of MacOS, you can try out Ubuntu, which offers an interface close to that of MacOS. You can use Linux Mint, if you are familiar with Windows and so on. Redhat is there for enterprise users, and you can find hundreds of other options to choose the appropriate one for yourself.
While on the other hand, BSD revolves around mainly 3 versions, i.e. the FreeBSD , NetBSD, and OpenBSD . The FreeBSD is meant for high-performance systems based on AMD or Intel 32-bit or 64-bit based architectures. NetBSD, on the other hand, is meant for systems with low hardware resources, and that is why its motto is ‘Of course it runs NetBSD’. OpenBSD is used by users looking for better security.
There are other BSD versions as well, and DragonFly BSD and the highly popular Mac OS X, formerly Darwin are examples of BSD. Mac OS X is an example of closed source BSD, which most users use regularly on their Apple systems. The MacOS developers built their OS on top of BSD to be free from the hassles of writing low-level machine codes, which is the base of any operating system.
Software availability and compatibility for Linux and BSD
Availability and compatibility with modern software are one of the elementary things, which has a direct influence on the popularity and adaptability of an operating system among the users. Talking about Linux, which is open-source, it is easy for the developers to write codes and make it available for the users in form of pre-compiled binary packages that can be installed using apt , yum and other similar package managers. It is easily possible because of the open-source nature of Linux.
While for BSD, the users have to download the source codes for the programs from almost thousands of ports available. After downloading the source codes, the users will have to compile them to use them on their system. The extra hassle of compiling the source codes is one of the reasons behind its lack of popularity among general users. Though pre-compiled binary packages that are run using pkg has also taken a pace to eradicate the hassle of compiling the source codes.
But still, Linux based operating systems is a clear winner for the availability of applications programs, even though the BSD developers have long back introduced a Linux compatibility package to run Linux applications on BSD.
Linux vs BSD: Compatibility with the latest hardware
Got a brand new graphics chip and is looking for its drivers! There isn’t any doubt, you can easily get the Windows drivers. But talking about drivers for Linux and BSD, none of them is as good as Windows or other proprietary operating systems to offer support for the latest hardware.
But for Linux based operating systems, the problems are kind of address for its great support from different hardware vendors in recent times. BSD still lags behind in the scene of hardware compatibility, which is yet another reason why it is not that popular among general users.
Which one to choose? Linux or BSD
After reading all that, I think you have already taken your decision about which operating to go for if you don’t want to go for Windows operating system.
If you aren’t that tech savvy and don’t want to go through so-called numerous hassles to install the simplest programs, I will recommend you to go for a Linux distribution, as Linux is less a kernel or operating system, but a community, which is always willing to help you. There is a wide range of distributions you can choose from, unlike BSD. And yes, good hardware support and the availability of different kinds of programs for a different niche of tasks will help you get the most out of your system.
While for BSD, the scenario is not that satisfying for normal users for lack of proper hardware support and the unavailability of applications. But BSD is a great choice for use on embedded systems and networks for its lower hardware requirements. The availability of the compatibility package to run Linux applications can help the users to get most of their job done, and thus, BSD isn’t that disappointing, as well.
Other Useful Resources:
Happy computing with Linux or BSD. Hope the information was helpful for you. Have anything to add? Feel free to comment it down below.
Источник
Почему BSD проиграла в битве с GNU/Linux?
Существует множество разных операционных систем с открытым исходным кодом, и если вы пользуетесь одной из них, то почти наверняка она будет на базе ядра Linux и набора программ GNU. Многие думают, что дистрибутив GNU/Linux и был первой open source операционной системой. Но это не так. Его опередил проект Berkeley Software Distribution, или BSD. Причем будет справедливо сказать, что он был также более профессиональным и ориентированным на рынок. Но почему тогда BSD сейчас находится на задворках экосистемы open source, тогда как GNU/Linux играет одну из центральных ролей? Посмотрим на это с исторической перспективы.
История BSD тесно связана с Unix, операционной системой, которая была выпущена AT&T Bell Labs в 1969 году. В конце 70-х группа специалистов Калифорнийского университета в Беркли во главе с Биллом Джоем начала разработку проекта BSD как одного из дистрибутивов Unix. Какой-либо существенный разницы между ними на тот момент не было. Они просто добавили несколько дополнительных утилит, которые включали исходный код, принадлежащий AT&T.
Однако все начало меняться в начале 80-х, когда решение AT&T продавать Unix привело к появлению спроса на свободный клон Unix-а, но без дорогостоящей лицензии. Разработчики BSD в течение нескольких лет трудились над тем, чтобы отделить их код от кода AT&T. Они медленно, но верно шли к созданию собственной полноценной Unix-like операционной системы.
Их цель была достигнута в июне 1991 года, с выпуском BSD Net 2. В отличие от предыдущего релиза Net 1, который состоял по большей части из кода для работы с сетями и не был самостоятельной операционной системой, Net 2 была именно полноценной Unix-like системой.
И так как BSD Net 2 шла с лицензией, которая давала доступ к исходном коду и право свободно распространять как ее саму, так и любые ее производные, она была по сути первой open source операционной системой в истории. Хотя самого понятия «open source» в то время еще не было, и лицензия BSD не соответствовала требованиям Free Software Foundation Ричарда Столлмана, тем не менее Net 2 стала большим шагом вперед для всего сообщества свободного программного обеспечения. Это доказало, что написать свободный клон Unix — реально.
Выпуск Net 2 имел большое значение также и потому, что на тот момент это был единственный свободный клон Unix, который действительно работал. Линус Торвальдс выпустил первую версию ядра Linux лишь через несколько месяцев, причем прошло более чем два года, прежде чем оно стало достаточно применимым. Тогда как в проекте операционной системы GNU, которую с 1984 года разрабатывали Ричард Столлман и его сторонники, еще не было своего рабочего ядра.
И если BSD Net 2 была первой свободной Unix-like операционной системой в своем роде, то почему она не смогла «выстрелить» и стать тем, чем стал GNU/Linux — главной платформой экосистемы open source?
В бой вступают юристы
Одной из причин были судебные тяжбы между Berkeley Software Design Inc. (BSDI) и Unix Systems Labs (USL). В начале 90-х компания USL стала владельцем операционной системы AT&T Unix и подала в суд на BSDI за нарушение своих авторских прав. Неудивительно, ведь они разрабатывали свободную альтернативу их продукту. В марте 93 года суд отклонил большинство их претензий, но юридические баталии все еще продолжались вместе с контр-иском Калифорнийского университета. И только в начале 94 года, когда уже компания Novell стала владельцем Unix, все юридические споры были окончательно урегулированы.
Если смотреть в целом, все эти юридические проблемы на самом деле не помешали распространять и использовать операционную систему BSD. Но возникшие сомнения в защищенности ее юридического положения однозначно замедлили это. По всей видимости, именно поэтому возник тот самый исторический шанс для ядра Linux, который позволил ему неожиданно «выстрелить». А ведь это был просто хобби-проект одного финского студента, в отличие от профессиональной разработки группой ученых ведущего американского университета.
Две разные лицензии
Медленный рост BSD не получится объяснить только лишь юридическими проблемами. В конце концов у GNU/Linux тоже были аналогичные серьезные проблемы в начале 2000-х, когда SCO Group подала в суд на нескольких крупных вендоров Linux и корпоративных пользователей. Эти тяжбы в целом завершились только в 2007 году в пользу Linux. Но тем не менее они не оказали такого негативного воздействия, популярность Linux-а продолжала расти.
Одна из причин почему BSD не смогла обрести такую популярность среди технически продвинутых программистов и админов («хакеров») заключается в характере лицензии Net 2, которая разрешала практически все. В отличие от лицензии GPL проекта GNU, которая обязывает раскрывать исходный код всех производных продуктов, лицензия BSD к этому не обязывает. Программисты могут свободно заимствовать и модифицировать код для любых задач, не делая его публичным. Это очень хорошо для коммерческих проектов, но плохо для «хакеров», которые ценят открытость и прозрачность.
Две разные методологии
Третья важная причина заключается в том, что BSD разрабатывалась относительно небольшой организованной группой профессиональных программистов из Беркли. В то время как разработка ядра Linux велась Линусом Торвальдсом с помощью широкой и гибкой сети добровольцев раскиданных по всему миру. Используя сравнения Эрика Раймонда из его знаменитого эссе, создание BSD было подобно строительству величественного «собора», который тщательно возводила небольшая группа мастеров своего дела. Тогда как развитие Linux-а выглядело как стихийный «базар», в котором дела решались быстро, новые версии появлялись часто, и единственным требованием к членам этой разношерстной команды была способность решать насущные вопросы.
«Соборный» подход также был характерен для самого проекта GNU, еще задолго до появления Linux, но именно Linux показал как можно быстро обрести популярность через частые релизы. Таким образом Линус Торвальдс случайно открыл совершенной новый, более эффективный подход в разработке, благодаря которому Linux смог очень быстро эволюционировать, гораздо быстрее чем BSD.
Наследие BSD
Разумеется, проект BSD не мог просто исчезнуть после стремительного взлета Linux в 90-х. Более того, множество свободных операционных систем, берущих начало из Net 2, в первую очередь NetBSD, OpenBSD, FreeBSD, продолжает жить и здравствовать, пусть с небольшим, но зато преданным комьюнити.
В то же время, характер лицензии BSD привел к ее популярности среди разработчиков проприетарного ПО. Самый яркий пример — это компания Apple, которая использовала исходники BSD в своих операционных системах macOS и iOS. Учитывая это, BSD — в той или иной форме — имеет сегодня огромную армию поклонников, хотя большинство владельцев макбуков и айфонов даже не подозревают, что их устройства используют «open source» код, который разрабатывали в Беркли с 80-х до начала 90-х.
Возможно, это печально, ведь программные решения Apple закрыты настолько, насколько это возможно. Это прямая противоположность того, о чем мечтали создатели BSD, когда выпустили Net 2 в 1991 году. Как бы то ни было, итог получился интересный.
Примечания переводчика
Это был перевод статьи «Open Source History: Why Didn’t BSD Beat Out GNU and Linux?», автор Christopher Tozzi.
Отмечу, что на сайте FreeBSD приводятся немного другие сведения — о том, что первой полноценной операционной системой была не BSD Net 2, а 386BSD, вышедшая в 1992 году. На русском, на английском.
Еще одним ярким примером популярности наследия BSD является игровая приставка Sony Play Station — ее операционная система является форком FreeBSD.
Понимая, что затронута достаточно холиварная тема, прошу всех писать только взвешенные комментарии и уважать другую точку зрения. Давайте также сделаем небольшой опрос.
Источник