mirror of
https://github.com/LCTT/TranslateProject.git
synced 2025-01-25 23:11:02 +08:00
finish
This commit is contained in:
parent
57bdfd56ec
commit
51ff960346
@ -1,86 +0,0 @@
|
||||
Mike Translating...
|
||||
|
||||
HTG Explains: What’s the Difference Between Linux and BSD?
|
||||
================================================================================
|
||||
![](http://cdn.howtogeek.com/wp-content/uploads/2014/06/freebsd-devil-mascot-and-ubuntu-linux.jpg)
|
||||
|
||||
Both Linux and the BSDs are free and open-source, Unix-like operating systems. They even use much of the same software — these operating systems have more things in common than they do differences. So why do they all exist?
|
||||
|
||||
There are more differences than we can cover here, especially philosophical differences about the way one should build an operating system and license it. This should help you understand the basics, though.
|
||||
|
||||
### The Basics ###
|
||||
|
||||
[What most people call “Linux” isn’t actually Linux][1]. Linux is technically just the Linux kernel — typical Linux distributions are made up of many pieces of software. This is [why Linux is sometimes called GNU/Linux][2]. In fact, much of this same software on top of Linux is the same software used on the BSDs.
|
||||
|
||||
Linux and the BSDs are both Unix-like operating systems. As we covered when we looked at [the history of Unix-like operating systems][3], Linux and BSD have a different lineage. Linux was written by Linus Torvalds when he was a student in Finland. BSD stands for “Berkeley Software Distribution,” as it was originally a set of modifications to Bell Unix created at the University of California, Berkeley. It eventually grew into a complete operating system and now there are multiple different BSDs.
|
||||
|
||||
![](http://cdn.howtogeek.com/wp-content/uploads/2014/06/freebsd-boot-screen.png)
|
||||
|
||||
### Kernel vs. Complete Operating System ###
|
||||
|
||||
Officially, Linux is just a kernel. [Linux distributions][4] have to do the work of bringing together all the software required to create a complete Linux OS and combining it into a Linux distribution like Ubuntu, Mint, Debian, Fedora, Red Hat, or Arch. There are many different Linux distributions.
|
||||
|
||||
In contrast, the BSDs are both a kernel and an operating system. For example, FreeBSD provides both the FreeBSD kernel and the FreeBSD operating system. It’s maintained as a single project. In other words, if you want to install FreeBSD, you just install FreeBSD. If you want to install Linux, you’ll need to choose among the many Linux distributions first.
|
||||
|
||||
BSDs include the ports system. which provides a way of installing software packages. The ports system contains software in source form, so your computer has to compile them before they’ll run. (If you ever used Gentoo when it was popular, it’s a bit like that.) However, packages can also be installed in pre-installed binary form so you don’t have to spend time and system resources compiling them.
|
||||
|
||||
![](http://cdn.howtogeek.com/wp-content/uploads/2014/06/ubuntu-14.04-unity-desktop.png)
|
||||
|
||||
### Licensing ###
|
||||
|
||||
Licensing is a significant difference, although it won’t matter to most people. Linux uses the GNU General Public License, or GPL. If you modify the Linux kernel and distribute it, you have to release the source code for your modifications.
|
||||
|
||||
The BSDs use the BSD license. If you modify the BSD kernel or distribution and distribute it, you don’t have to release the source code at all. You’re free to do whatever you like with the BSD code and you’re not obligated to release the source code, although you can do so if you like.
|
||||
|
||||
Both are [open-source][5], but in different ways. People sometimes get into debates about which license is “more free.” The GPL helps users by ensuring they can have the source code to GPL software, but it limits developers by forcing them to release the code. The BSD license doesn’t ensure users can have the source code, but it gives developers the freedom to do whatever they choose with the code, even if they want to turn it into a closed-source project.
|
||||
|
||||
### The BSDs ###
|
||||
|
||||
These are often thought of as the three “main” BSD operating systems:
|
||||
|
||||
- [FreeBSD][6]: FreeBSD is the most popular BSD, aiming for high performance and ease of use. It works well on standard Intel and AMD 32-bit and 64-bit processors.
|
||||
- [NetBSD][7]: NetBSD is designed to run on almost anything and supports many more architectures. The motto on their homepage is “Of course it runs NetBSD.”
|
||||
- [OpenBSD][8]: OpenBSD is designed for maximum security — not just with its features, but with its implementation practices. It’s designed to be an operating system banks and other serious institutions would use for critical systems.
|
||||
|
||||
There are two other notable BSD operating systems:
|
||||
|
||||
- [DragonFly BSD][9]: DragonFly BSD was created with the design goal of providing an operating system that would run well in multithreaded environments — for example, in clusters of multiple computers.
|
||||
- [Darwin / Mac OS X][10]: Mac OS X is actually based on the Darwin operating system, which is based on BSD. It’s a bit different from other BSDs. While the low-level kernel and other software is open-source BSD code, most of the rest of the operating system is closed-source Mac OS code. Apple built Mac OS X and iOS on top of BSD so they wouldn’t have to write the low-level operating system themselves, just as [Google built Android on top of Linux][11]
|
||||
|
||||
![](http://cdn.howtogeek.com/wp-content/uploads/2014/06/mac-os-x-is-built-on-darwin-bsd.png)
|
||||
|
||||
### Why Would You Choose BSD Over Linux? ###
|
||||
|
||||
Linux is still more popular than even FreeBSD. Linux tends to get new hardware support before FreeBSD does, for example. The BSDs have a compatibility package available so they can natively execute Linux binaries, and most of the software works similarly.
|
||||
|
||||
If you’ve used Linux, FreeBSD won’t feel all that different. Install FreeBSD as a desktop operating system and you’ll end up using the same GNOME, KDE, or Xfce [desktop environments][12] you’d use on Linux along with most of the same other software. That’s once you get to that point, though — FreeBSD won’t automatically install a graphical desktop, so you’re left to fend for yourself more than you are with modern Linux distributions. It’s a more old-school experience.
|
||||
|
||||
FreeBSD may be preferred on some server operating systems for its reliability and stability. Manufacturers creating devices may choose BSD for the operating system instead of Linux so they won’t have to release the modifications to their code.
|
||||
|
||||
If you’re a desktop PC user, you really don’t need to care too much about the BSDs. You’ll probably prefer Linux for its superior hardware support, easier installation, and general modern and bleeding-edge nature. If you’re putting together a server or embedded device, you may prefer FreeBSD for another reason.
|
||||
|
||||
We’ll probably get comments from people who use FreeBSD on their desktop computers now, and you certainly could do so! But an operating system like Ubuntu or Mint will be more user-friendly and modern for most people.
|
||||
|
||||
Image Credit: [atzerok on Flickr][13]
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://www.howtogeek.com/190773/htg-explains-whats-the-difference-between-linux-and-bsd/
|
||||
|
||||
译者:[译者ID](https://github.com/译者ID) 校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[1]:http://www.howtogeek.com/177213/linux-isnt-just-linux-8-pieces-of-software-that-make-up-linux-systems/
|
||||
[2]:http://www.howtogeek.com/139287/the-great-debate-is-it-linux-or-gnulinux/
|
||||
[3]:http://www.howtogeek.com/182649/htg-explains-what-is-unix/
|
||||
[4]:http://www.howtogeek.com/132624/htg-explains-whats-a-linux-distro-and-how-are-they-different/
|
||||
[5]:http://www.howtogeek.com/129967/htg-explains-what-is-open-source-software-and-why-you-should-care/
|
||||
[6]:http://www.freebsd.org/
|
||||
[7]:http://www.netbsd.org/
|
||||
[8]:http://www.openbsd.org/
|
||||
[9]:http://www.dragonflybsd.org/
|
||||
[10]:http://opensource.apple.com/
|
||||
[11]:http://www.howtogeek.com/189036/android-is-based-on-linux-but-what-does-that-mean/
|
||||
[12]:http://www.howtogeek.com/163154/linux-users-have-a-choice-8-linux-desktop-environments/
|
||||
[13]:http://www.flickr.com/photos/atzerok/5378691454
|
@ -0,0 +1,82 @@
|
||||
HTG 解释:Linux 与 BSD 有什么不同?
|
||||
================================================================================
|
||||
![](http://cdn.howtogeek.com/wp-content/uploads/2014/06/freebsd-devil-mascot-and-ubuntu-linux.jpg)
|
||||
|
||||
Linux和BSD都是免费的,开源的,类Unix系统。他们甚至使用很多相同的软件。他们看上去简直就像是一个操作系统,那么,不同点真的不存在吗?
|
||||
|
||||
其实,两者之间的不同,远远超出了我们将提到的这些,尤其是在构建完整操作系统和许可授予的哲学思想上,更是相差深远。尽管这只能帮助你简单的理解他们的不同。
|
||||
|
||||
### 基础 ###
|
||||
[许多人所称的“Linux”实际上不是Linux ] [1]。Linux从技术上说只是Linux内核,典型的Linux分支则包括了Linux内核,还有许多软件。这是[为什么Linux有时被称为GNU/Linux][2]。事实上,许多同样的软件在Linux上使用BSD相同的软件。
|
||||
|
||||
Linux和BSD 都是类UNIX操作系统。我们可以通过阅读[类UNIX操作系统历史][3]发现Linux和BSD有不同的谱系。Linux是由Linus Torvalds在芬兰上大学的时候开发的。BSD则代表“伯克利软件套件”。因为这是在1977至1995年间由加州大学伯克利分校开发和发布的。
|
||||
|
||||
![](http://cdn.howtogeek.com/wp-content/uploads/2014/06/freebsd-boot-screen.png)
|
||||
|
||||
### 内核 vs. 完整操作系统 ###
|
||||
Linux 是只是一个内核。[Linux 发行版][4] 所要做的工作汇集了创建一个完整的 Linux 操作系统所需的所有软件,将它组合到一个 Linux 内核上,像 Ubuntu,Mint,Debian、 Red 或者是 Arch。当然还有许多不同的 Linux 发行版。
|
||||
|
||||
与此相反的是,Bsd 是一个内核和操作系统。例如,FreeBSD 提供了 FreeBSD 内核和 FreeBSD 操作系统。它是作为一个单一的项目维护的。换句话说,如果你想要安装 FreeBSD,你只需安装 FreeBSD。如果你想要安装 Linux,你需要首先在许多 Linux 发行版之间选择。
|
||||
|
||||
BSDs include the ports system. which provides a way of installing software packages. The ports system contains software in source form, so your computer has to compile them before they’ll run. (If you ever used Gentoo when it was popular, it’s a bit like that.) However, packages can also be installed in pre-installed binary form so you don’t have to spend time and system resources compiling them.
|
||||
|
||||
Bsd 包括Ports体系。提供了一种安装软件包的方式。Ports体系包含以源代码形式发布软件,所以您的计算机如果想安装,则需要先编译他们。(如果您曾经使用过 Gentoo,它就是那样的。然而,包也可以是预安装的二进制形式,所以你不需要花时间和系统资源编译他们就能运行。
|
||||
|
||||
![](http://cdn.howtogeek.com/wp-content/uploads/2014/06/ubuntu-14.04-unity-desktop.png)
|
||||
|
||||
### 授权 ###
|
||||
|
||||
授权是显著的差异,虽然它不会对大多数人产生影响。Linux 使用 GNU 通用公共许可证或 GPL。如果你修改 Linux 内核,并将其分发,你必须释放您的修改的源代码。
|
||||
|
||||
Bsd 使用 BSD 许可证。如果你修改的 BSD 内核,你不需要发布其源代码。你可以自由地编写任何你喜欢的 BSD 代码,你不是有义务发布的源代码,虽然你可以这样做如果你喜欢。
|
||||
|
||||
两者都是 [开放源码] [5],但以不同的方式。人们有时会陷入关于哪种许可是"更自由"的辩论。GPL 可以帮助用户通过确保他们可以有 GPL 软件的源代码,但它通过迫使他们开放代码来限制开发人员。BSD 许可证并不能确保用户可以拥有有源代码,但它给开发人员选择是否公布代码的权利,即使他们想要把它变成一个闭源项目。
|
||||
|
||||
### 有关BSDs ###
|
||||
|
||||
这些都是通常被认为是"主要"BSD的三个操作系统:
|
||||
|
||||
- [FreeBSD][6]: FreeBSD 是最受欢迎的 BSD,针对高性能和易用性。它支持英特尔和 AMD 32 位和 64 位处理器。
|
||||
- [NetBSD][7]: NetBSD 设计运行在几乎任何架构上,支持更多的体系结构。在他们的主页上的格言是"Of course it runs NetBSD"。
|
||||
- [OpenBSD][8]:OpenBSD 为安全性设计的 —— 不仅仅因为它的功能,还包括他执行的方法。它是为银行和其他重要机构的关键系统设计的。
|
||||
|
||||
有两个其他的 BSD 操作系统:
|
||||
|
||||
- [DragonFly BSD][9]: DragonFly BSD 的设计目标是提供一个运行在多线程环境中的操作系统 — 例如,计算机集群。
|
||||
- [Darwin / Mac OS X][10]: Mac OS X 实际上基于Darwin操作系统,Darwin系统基于 BSD。它与其他的 Bsd 有点不同。虽然底层内核和其他的软件是开源代码(BSD 代码),但操作系统的大部分是闭源代码(Mac OS 代码)。苹果内置 Mac OS X 和 iOS 基于BSD,这样他们就不必写操作系统底层,就像 [谷歌 android 系统在 Linux 上] [11]
|
||||
|
||||
![](http://cdn.howtogeek.com/wp-content/uploads/2014/06/mac-os-x-is-built-on-darwin-bsd.png)
|
||||
|
||||
### 你为什么会选择 BSD 而不是 Linux?###
|
||||
|
||||
Linux 仍然比 FreeBSD 更受欢迎。Linux 往往会在FreeBSD之前提供新硬件的支持,例如,BSD可以提供兼容包,使之能像大多数的其他软件一样执行Linux的二进制程序。
|
||||
|
||||
如果您使用过 Linux和FreeBSD,你也不会发现有所不同。安装 FreeBSD 作为桌面操作系统,你也可以使用相同的 GNOME,KDE 或 Xfce [桌面环境] [12] 你也会在BSD上使用 Linux 上的其他软件。有一点需要注意,FreeBSD 不会自动安装的图形化桌面,所以你要花相对于Linux更多的心思来照顾你的BSD。
|
||||
|
||||
如果你是一个桌面的 PC 用户,你真的不需要太过在意 Bsd。你可能会喜欢 Linux,因为它具有更高级的硬件支持,更容易安装,具有现代操作系统的特点。如果你聚集服务器或设计嵌入式的设备,你可能会喜欢 FreeBSD。
|
||||
|
||||
我们可能会听到在桌面电脑上使用FreeBSD的人发表的评论,你当然也可能是其中之一!但像Ubuntu或Mint一样的开源操作系统将会变得更加用户友好。
|
||||
|
||||
图片来源: [atzerok on Flickr][13]
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://www.howtogeek.com/190773/htg-explains-whats-the-difference-between-linux-and-bsd/
|
||||
|
||||
译者:[MikeCoder](https://github.com/MikeCoder) 校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[1]:http://www.howtogeek.com/177213/linux-isnt-just-linux-8-pieces-of-software-that-make-up-linux-systems/
|
||||
[2]:http://www.howtogeek.com/139287/the-great-debate-is-it-linux-or-gnulinux/
|
||||
[3]:http://www.howtogeek.com/182649/htg-explains-what-is-unix/
|
||||
[4]:http://www.howtogeek.com/132624/htg-explains-whats-a-linux-distro-and-how-are-they-different/
|
||||
[5]:http://www.howtogeek.com/129967/htg-explains-what-is-open-source-software-and-why-you-should-care/
|
||||
[6]:http://www.freebsd.org/
|
||||
[7]:http://www.netbsd.org/
|
||||
[8]:http://www.openbsd.org/
|
||||
[9]:http://www.dragonflybsd.org/
|
||||
[10]:http://opensource.apple.com/
|
||||
[11]:http://www.howtogeek.com/189036/android-is-based-on-linux-but-what-does-that-mean/
|
||||
[12]:http://www.howtogeek.com/163154/linux-users-have-a-choice-8-linux-desktop-environments/
|
||||
[13]:http://www.flickr.com/photos/atzerok/5378691454
|
Loading…
Reference in New Issue
Block a user