What is the difference between Linux and BSD?

  
 

Linux and BSD are free, open source, Unix-like systems. They even use a lot of the same software. They look like an operating system
, so what is the difference?

In fact, the difference between the two goes far beyond what we mentioned below, especially in the philosophical thinking of building a complete operating system and licensing. This essay will give you a quick idea of ​​the differences between them.

Basic

Many people say that "Linux" is not actually Linux. Linux is technically just a Linux kernel, and a typical Linux distribution includes the Linux kernel and a lot of software. This is why Linux is sometimes called GNU/Linux. In fact, many of the software used on Linux is also used on BSD.

Linux and BSD are both UNIX-like operating systems. We can see that Linux and BSD have different pedigrees by reading the history of UNIX-like operating systems. Linux was developed by Linus Torvalds when he was in Finland. BSD stands for "Berkeley Software Distribution, Berkeley Software Suite", which originated from a series of modifications to Bell Labs UNIX developed by the University of California at Berkeley. It eventually evolved into a complete operating system, now with many different BSD branch.

full operating system kernel vs.

Strictly speaking, Linux is just a kernel. The job of making a Linux distribution is to bring together all the software needed to create a complete Linux operating system and combine it into a Linux distribution like Ubuntu, Mint, Debian, RedHat or Arch. There are many different Linux distributions.

In contrast, the name BSD stands for its kernel and operating system. For example, FreeBSD provides the FreeBSD kernel and the FreeBSD operating system. It is maintained as a single project. In other words, if you want to install FreeBSD, there is only one FreeBSD available for you to install. If you want to install Linux, you first need to choose between many Linux distributions.

BSD includes a system called Ports that provides a way to install packages. The Ports system contains the source code for the packages, so if your computer wants to install the software, you need to compile them first. (If you've used Gentoo, which used to be popular, it's a bit like that.) However, packages can also be pre-installed in binary form so that you can run them without having to spend time and system resources compiling them.

license

licenses are typical of the differences, although it will not have an impact on most people. Linux uses the GNU General Public License, the GPL. If you modify the Linux kernel and distribute it, you must release the source code of your changes.

BSD uses a BSD license. If you modify the BSD kernel or distribution and publish it, you don't need to have to publish its source code at all. You are free to do whatever you want with your BSD code. You are not obligated to release the source code of your changes. Of course you want to post it.

Both are open source, but in a different way. People sometimes get caught up in the debate about which license is “more free”. The GPL can help users ensure that they have the source code for the GPL software and restrict developers from forcing them to open the code. A BSD license does not guarantee that the user can own the source code, but rather gives the developer the right to choose whether to advertise the code, even if they want to turn it into a closed source project.

BSD Branch

The following are the three commonly recognized "mainstream" BSD operating systems:

  • FreeBSD: FreeBSD is the most popular BSD for High performance and ease of use. It supports Intel and AMD 32-bit and 64-bit processors.
  • NetBSD: NetBSD is designed to run on almost any architecture and support more architectures. The motto on their home page is "Of course, we run on NetBSD".
  • OpenBSD: OpenBSD designed for maximum security —— This is not just what it claims to be, but it is also true in practice. It is designed for key systems in banks and other important institutions.

    There are two other important BSD operating systems:

  • DragonFly BSD: DragonFly BSD is designed to provide an operating system &mdash that runs in a multi-threaded environment. ;— For example, a computer cluster.
  • Darwin /Mac OS X: Mac OS X is actually based on the Darwin operating system, while the Darwin system is based on BSD. It's a bit different from other BSDs, although the underlying kernel and other software are open source (BSD code), but most of the operating system is closed source Mac OS code). Apple developed Mac OS X and iOS on the basis of BSD, so they don't have to write the underlying operating system, just like Google developed Android on Linux.


    Why did you choose BSD instead of Linux?

    Linux is clearly more popular than FreeBSD. For example, Linux tends to provide support for new hardware earlier than FreeBSD. BSD has a compatibility pack that is available to natively execute Linux binaries like most other software.

    If you've used Linux, FreeBSD won't make you feel too different. If you use FreeBSD as your desktop operating system, you can use the same GNOME, KDE or Xfce desktop environment. You can also use most of the other software on Linux on BSD. One thing to note is that FreeBSD does not automatically install a graphical desktop, so you should take more care of your BSD than Linux. BSD is more conservative.

    The reliability and stability of FreeBSD may be better suited as the operating system of the server. Vendors will choose BSD instead of Linux as their operating system, because they don't have to release their modified code.

    If you are a PC desktop user, you really don't need to care too much about BSD. You might like Linux because it has more advanced hardware support, is easier to install, and has the features of a modern operating system. If you focus on servers or embedded devices, you might prefer FreeBSD.

    We may hear some people say that they use FreeBSD on their desktop

    , of course you may be one of them! But open source operating systems like Ubuntu or Mint are better and more advanced for most users.

  • Copyright © Windows knowledge All Rights Reserved