What is the difference between Linux and BSD?

Source: Internet
Author: User

What is the difference between Linux and BSD?

This article was written by someone else and made a little change.
Sinox is based on BSD development, so it can be understood as a BSD branch, but because Sinox is not open source, is excluded. BSD is not a commercial software, is a more thorough free open source software.
Han o sinox server, as a PC desktop, have performed well.

Linux and BSD are free, open-source, Unix-like systems. They even use very much the same software. They look just like an operating system, so what's the difference?

In fact, the difference between the two is far beyond what we mentioned below, especially in the philosophical thinking of building a complete operating system and licensing. This passage will make it easy to understand the difference between them.

Basis
What many people call "Linux" is actually not Linux. Linux is technically just a Linux kernel, and a typical Linux distribution includes the Linux kernel and many software. This is why Linux is sometimes called gnu/linux. In fact, many of the same software used on Linux is also used on BSD.

Both Linux and BSD are UNIX-like operating systems. We were able to discover that Linux and BSD have different lineages by reading the UNIX-like operating system history. Linux was developed by Linus Torvalds at a university in Finland. BSD, on behalf of the "Berkeley software distribution, Berkeley software Suite", originally originated from the University of California, Berkeley, developed a series of changes in Bell Labs UNIX, but was later told 10 years, BSD forced rewrite code once again, no longer infringing Unix, it finally developed into a complete operating system, now has a number of different BSD branches.

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

In contrast, the BSD name represents its kernel and operating system. FreeBSD, for example, 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 that you can install. Assuming you want to install Linux, you first need to choose between many Linux distributions.

BSD includes a system called Ports, which provides a way to install packages. The Ports system includes the source code of the package, so your computer assumes you want to install the software, you need to compile them first. (Let's say you've used previously popular Gentoo, a bit like that.) Only, packages can also be pre-installed in binary form so that you don't have to spend time and system resources compiling them to execute.

License
A license is a typical difference, although it does not affect most people. Linux uses the GNU general Public License, which is the GPL. Assuming you change the Linux kernel and distribute it, you have to release the source code of your changes.

BSD uses BSD license. If you change the BSD kernel or release, and publish it, you don't have to publish its source code at all. You are free to do whatever you want to do with your BSD code, you have no obligation to publish the source code of your changes, of course, you want to publish also line.

Both are open source, but in a different way. People sometimes get bogged down in debates about what kind of license is "freer". The GPL can help users to ensure that they have the source code for GPL software and restrict developers from forcing them to open their codes. The BSD license does not ensure that the user can own the source code, but rather gives the developer the right to choose whether or not to publish it, even if they want to turn it into a closed source project.

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

Freebsd:freebsd is the most popular BSD for high performance and ease of use. It supports both Intel and AMD's 32-bit and 64-bit processors.
Netbsd:netbsd is designed to perform in almost no matter what architecture, supporting many other architectures. The motto on their homepage is "take it for granted that we execute on NetBSD".
The OPENBSD:OPENBSD is designed for maximum security-not just the functionality it claims, it's also true in practice. It is designed for the key systems of banks and other important institutions.
There are also two other important BSD operating systems:

The Dragonfly Bsd:dragonfly BSD design goal is to provide an operating system that executes in a multithreaded 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 is a bit different from the other BSD, 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 has developed Mac OS X and IOS on a BSD basis, so they don't have to write down the OS, just as Google has built Android on Linux.
Why would you choose BSD instead of Linux?
Linux is obviously more popular than FreeBSD. For example, Linux tends to provide new hardware support earlier than FreeBSD. BSD has a Compatibility pack that makes it possible to run Linux binaries as native as most other software.

If you have used Linux, FreeBSD will not make you feel much different. Assuming that FreeBSD is used as a desktop operating system, you can also use the same gnome,kde or XFCE desktop environment, and you can use most of the other software on Linux on BSD. It is important to note that FreeBSD does not actively install the graphical desktop itself, so you have to spend a lot of other than Linux to take care of your BSD. BSD is a bit more conservative.

The reliability and stability of FreeBSD may be more appropriate as a server operating system. And vendors will choose BSD instead of Linux as their operating system, so they don't have to release the code they've changed.

Assuming you're a PC desktop user, you really don't need to be too concerned with BSD. You might like Linux because it has more advanced hardware support, more easy to install, and features a modern operating system. If you are concerned about server or embedded devices, you might prefer FreeBSD.

We may hear some people say that they are using FreeBSD on a desktop computer, and of course you may be one of them! But open-source operating systems like Ubuntu or Mint are more experienced and advanced for most users.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.