返回正常中文阅读
想对这篇译文“指手画脚”吗?
大错
小错
不顺
建议
What is Linux?
So, you\'ve heard a lot about this Linux thing, and decided to check it out. If you\'re new to Linux, or just new to computing in general, it might be a bit confusing at first. Don\'t worry about it. It\'s actually pretty simple. Get relaxed and read on, and we\'ll explain what all the fuss is about.
Depending on the context, the word "Linux" describes a couple of things. Most accurately, the word "Linux" describes an operating system kernel -- that is, the low-level part of an operating system that does all the hard work of talking to the computer\'s hardware, managing memory and devices, and generally doing the grunt work. Unless you are an advanced user, or you run into some sort of hardware or software problem, you\'ll almost never interact or even need to think about the kernel itself.
While it\'s a very important part of the system, it\'s not something that users interact with directly. Instead, you\'ll be working with what are referred to as "user-space" programs -- so called because users actually work with the programs directly. When a vendor or project bundles the Linux kernel and a bunch of user-space programs together in a way that\'s useful to end users, that\'s called a Linux distribution, often just "Linux" for short -- because Linux is at the heart of the whole thing to begin with, and saying "Linux distribution" every time is a bit long winded. Generally speaking, when people say something like "I use Linux," or "have you tried Linux?" they\'re not just talking about the kernel, they\'re talking about a Linux distribution.
What's a distribution, and which one should I use?
Speaking of Linux distributions, you might be wondering what the heck a distribution actually is. It\'s pretty simple, really. As we\'ve already discussed, the Linux kernel itself isn\'t terribly useful for end users on its own. You can\'t play Tetris, write a document, serve Web pages, or send an email with the Linux kernel itself -- and what use is a computer if you can\'t do those things?
So, lots of vendors and projects have decided to put the Linux kernel together with useful software so that folks like you can get things done. They also provide installation routines, so you can install Linux on a computer, and management utilities so you can do things like add and manage devices, or manage users, without having to know low-level commands or do the grunt work with a text editor and the command line. When you put the Linux kernel together with useful software, an installer, and management utilities, you have a Linux distribution.
The next logical question is, which distribution -- or distro -- should you use? Unfortunately, this isn\'t as simple as explaining what a distribution is. We can\'t really tell you which distribution you should be using, for a couple of reasons; it really all depends on your personal preferences, and what you want to get done.
Some distros, like Red Hat Enterprise Linux and SUSE Linux Enterprise Server are designed primarily for companies that use Linux on servers. Some distros, like Fedora Core, Ubuntu, and openSUSE have different profiles that are suitable for use on the desktop or on the server.
If you ask 20 Linux users which distro you should use, you\'re likely to get several different answers -- and they\'re all right, at least for those users.
The nice thing is that most Linux distributions are free, and you can download each one and test them to see if they fit your needs. See our distro center for descriptions and more information about the most popular Linux distros.
This is all free?
It sounds too good to be true, doesn\'t it? Microsoft, Apple, and other companies charge for their software, so it sounds a bit odd that you\'d be able to download software that\'s equivalent to Windows or Mac OS X free of charge. What\'s up with that?
The short answer is that some people think that software should be distributed under free and open source licenses that allow the software to be freely shared -- and even modified! This has been going on a very long time; the GNU Project was formed in 1984 by Richard Stallman, before Microsoft shipped the first version of Windows, and the same year Apple shipped the first version of its "classic" Mac OS.
It took a while to gather steam, and it wasn\'t until 1991 that Linus Torvalds put out the first public release of Linux. Torvalds had also ported the Bash shell and GCC to Linux, to make it worth using. Eventually, Torvalds settled on the GNU General Public License (GPL) as the kernel\'s license.
The GPL, which was developed by the GNU Project, allows you to share software under the GPL with anyone you want. You can even modify the software you get under the GPL, and distribute the new version, as long as you share your changes under the same terms (the GPL) that you received the software under.
What\'s all this about GNU/Linux?
Some folks refer to Linux as GNU/Linux, because they want to emphasize the importance of the GNU Project\'s contribution to Linux distributions. While the Linux kernel plays a big part of any Linux distro, so does the software contributed by the GNU Project. For example, without the GNU Compiler Collection (GCC), how would you compile the kernel and other programs that run on Linux? Most Linux distros default to GNU Bash for the shell, and GNU glib is used by GNOME, GTK+, and many other programs that you would use all the time on Linux.
Without listing all of the software used in Linux from the GNU Project, suffice it to say it\'s a lot. Without GNU, we\'d be missing a lot of wonderful software.
So the GNU Project has made an effort to get recognition for its contribution to Linux distributions. But, the GNU Project isn\'t the only major contributor. It should be noted that Linux distros are comprised of software from many other projects too -- like GNOME, KDE, X.org, OpenOffice.org, the Mozilla Foundation, and too many others to mention.
Whether you call it Linux or GNU/Linux is up to you.
The difference between free software and open source software
There is a difference between free software and open source software. Specifically, all free software is also open source software -- because it fits within the Open Source Initiative (OSI) definition of open source (often called the OSD for short).
However, not all open source software fits the definition of free software as defined by the GNU Project or the Debian Project. What\'s the difference? Primarily, it\'s one of philosophy. The free software philosophy is centered on the idea that, in the words of the GNU Project, free software "is a matter of liberty, not price."
Open source, on the other hand, is primarily centered around the development model. The idea is that the open source model -- distributed development, a transparent development process, and peer review of code -- is better than the proprietary development model. Thus, open source licenses may restrict users in ways that free software licenses may not.
Not all software that runs on Linux is free in either sense of the word. Lots of companies make proprietary software for Linux, and charge a pretty penny for it, too. For example, Oracle\'s products run on Linux, and they don\'t give them away -- they have turned quite a profit running the Oracle database and other products on top of Linux.
While the GPL and other licenses require that derivative works carry the same license terms, they don\'t require that non-derivative products carry the same licensing terms, so companies can and do sell software that runs on Linux without breaking any rules or violating the licenses.
In fact, a few companies actually sell Linux and support it, and do pretty well at that. Red Hat\'s distribution, Red Hat Enterprise Linux, is comprised of free and open source software (FOSS) and they\'ve been turning a profit for some time doing so. Instead of making its money on the sale of licenses, Red Hat makes its revenue on selling support for the distribution because lots of companies are willing to pay to have someone to turn to if and when they have problems or need new features.
Can I run my Windows programs under Linux?
If you\'re coming from a Windows background, and most people are, you might have some Windows programs that you really want to keep using even when you\'re using Linux. Windows programs will not run natively on Linux, but you can find a few solutions to run Windows apps under Linux or within a Linux session if you really need to do so.
Wine is one option for running Windows apps under Linux. Wine is an open source implementation of the Windows API for Linux and Unix operating systems. It\'s a compatibility layer for Windows apps, so that they can run unmodified on top of Linux. Another option is CodeWeavers CrossOver, which is based on Wine, but not entirely open source. CodeWeavers includes features not in Wine to make it easier to set up and run Windows programs under Linux.
Virtualization is another option for running your Windows applications under Linux. Virtualization software like VMware Server and VMware Workstation, Parallels, and Qemu will allow you to run a full instance of Windows under Linux -- so you can run almost any Windows program unmodified on top of Linux, within the Windows environment. (Some applications that require 3D support may not run under virtualization because virtual machines typically do not provide 3D graphics.)
In the long run, however, you might prefer to find a native Linux program as a substitute for your Windows applications. The next section will discuss how to find software for Linux, and how to install it.
什么是Linux
欢迎光临我的个人网站:http://www.yayu.org/look.php?id=124
也许你已经听过很多关于Linux的事情,而且决定体验一下它。如果你是个Linux新手,或者你对电脑都是陌生的,那在最开始的的可能会有点迷惑。但是不要当心这个,事实上这是相当简单的事情。放松一下继续阅读下去吧,我们会为你解释所有的问题。
在本文中,“Linux”这个单词描述的是一组东西。精确地讲,“Linux”代表着一个操作系统内核 -- 也就是说,它是一个操作系统的底层,所有的艰苦的工作,如与计算机的硬件对话,管理内存和驱动程序,都是由它完成。除非你是一个计算机高级用户,或者你要深入进去解决一些硬件或软件问题,否则你将永远不会接触到它,甚至不需要考虑到它的存在。
尽管它对于计算机系统来说是非常重要的,但是对用户来说是不会直接接触到它的。相反的是,你会工作在一个被称为“用户平台”的程序中 -- 如此称呼是因为用户是直接工作在这些程序之上的。当一个发行商或项目组把Linux内核和一些对用户有用的用户平台上的程序捆绑在一起,我们将之称为Linux分发版,或简称为“Linux” -- 因为Linux在其中处于核心地位,而且每次称作“Linux分发版”会使人喘气太困难了。一般来说,当有人和你说“我使用Linux”,或“你用过Linux吗?”,他们不仅是在说内核,他们说的是整个Linux分发版。
什么是分发版,哪一个是我应该选择的?
谈及Linux分发版,你可能会奇怪的觉得究竟什么是分发版。这个是相当简单的。在我们上面的讨论中,我们知道这个Linux内核本身对终端用户是很难有用的。你不能用它玩俄罗斯方块、写文档、开通网页服务,或者发送邮件 -- 如果你不能做这些事情,它怎么能称之为计算机呢?
所以,很多的发行商和项目组们决定把Linux内核和一些有用的软件整合在一起,于是你就可以很有亲切感的做很多事情了。同时,他们也提供了安装步骤,这样你就可以在电脑上安装Linux了和管理应用程序:如添加和管理驱动、管理用户、无需在命令行环境下使用文本编辑器和指令工作。当你把Linux内核和有用的软件、安装程序、软件管理工具整合在一起,你就拥有一个Linux分发版了。
下一个问题是,哪一个分发版 -- 或发行套件 -- 是你该选择的?不幸的是,这个问题不像分发版那样好解释。基于很多的因素,我们无法告诉你该选择哪个分发版,这完全取决于你的个人经历,和你想用来做什么。
一些发行套件,像Rad Hat企业版和SUSE企业版主要是为一些使用Linux作服务器的企业使用的。一些如Fedora Core、Ubuntu和openSUSE的发行套件有着不同的外观,它们适合使用桌面或用作服务器的用户。
如果你问20个Linux的使用者他们该选择那个发行套件,你可能会得到很多不同的答案 -- 而且他们都是对的,至少对他们自己而言。
非常好的是大多是Linux分发版都是免费的,你可以下载每一种,然后试试看哪一种能满足你的需要。可以看看我们的套件中心来得到最流行的发行套件和更多信息。
它们都是免费的吗?
这个消息是真的吗?微软、苹果以及其他的公司都对他们的软件进行收费,你能够免费下载与Windows或Mac OS X旗鼓相当的软件,这听起来有点奇怪。这是怎么回事呢?
简而言之,一些人认为这些软件应该自由和开源的分发,这样软件就可以自由的分享了 -- 而且你甚至可以修改它!这个行动已经存在很长时间了。GNU项目于1984年由Richard Stallman创建,这个时间早于微软公司发行他的第一版Windows操作系统,同年,苹果公司发布他第一版经典的Mac OS操作系统。
这个项目一直在聚集着力量,在1991年的时候Linus Torvalds发布了Linux的第一个公开的发行版。Linus Torvald也把Bash Shell和GCC加进了Linux,以使它更有使用价值。最终Torvalds决定采用GPL作为内核的许可协议。
GPL,是由GNU组织发展起来的,他允许你根据GPL把软件分享给你任何你愿意的人。你可以依据GPL修改这些软件,并分发出新的版本。一旦你在这些许可协议下分享了这些软件,你就接受了这个协议。
GNU/Linux包含了什么?
一些人乐意把Linux称作GNU/Linxu,因为他们想用这种方式来强调GNU组织对Linux分发版的贡献。Linxu内核在任何Linux分发版都扮演着巨大作用,而这离不开GNU组织所贡献出的软件。例如,如何没有GNU Compiler Collection (GCC),你如何编译内核或者其它运行在Linux下的程序?大多数Linux分发版把GNU Bash作为默认的Shell,GNOME、GTK+使用着GNU glib,还有其它很多的程序在Linux全天候运行着。
没有必要列出所有的由GNU组织开发运行在Linux的软件,这实在是太多了。没有GNU,我们将错过许多精彩的软件。
从Linux的分发版中,GNU组织获得了很大影响力的认可。但是,GNU组织并不是唯一的主要贡献者。值得记载的是,Linux分发版所的软件来自许多其他的组织--比如GNOME、KDE、OpenOffice.org、Mozilla基金会等等。
Linux还是GNU/Linux,这就取决于你了。
自由软件和开源软件的区别
自由软件和开源软件是有区别的。需要注意的是,所有的自由软件都是开源软件 -- 因为它符合Open Source Initiative (OSI)对开源的定义,其简称为OSI
然而,并不是所有的开源软件符合GNU组织或Debian组织对自由软件的定义。那他们有什么区别呢?基本上,他们存在哲学上的差异。在GNU组织的世界中,自由软件事关自由,而不是价钱。
而另一方面,开源软件最初起源于它的开发模式。它的开源软件模式 -- 分布式的开发,透明的开发过程,可修改的代码 -- 比私有软件开发模式要好点。因此,开源许可协议可能在某些方面对用户有所限制,而自由软件却不一定会。
并非所有运行在Linux的软件都是自由或者免费的。很多公司为Linux开发了私有性的软件,你可以付出一点钱来得到它。例如,Oracle有产品运行在Linux上,但他们并没有开放它 -- 他们出售运行在Linux上的Oracle数据库和其它软件来获取利益。
尽管GPL和其他许可协议要求其下的衍生产品执行相同的许可协议,但他们没有要求非其衍生的产品执行相同的许可协议,所以很多公司可以出售运行在Linux上的软件,这不会破坏任何规定和许可协议。
事实上,的确有一些公司在出售Linux并做售后服务,而且做得也很不错。红帽子分发版、红帽子企业版,它们包含了自由和开源软件(FOSS),他们从中获取利益已经一段时间了。他们并不是依靠出售许可协议而获取利益,而是在对分发版的技术支持上得到收益,因为很多公司愿意在遇到问题或需要新的功能时付出酬劳。
我可以在Linux下运行Windows程序吗?
如果你曾经是一个Windows用户,当然大多数人都是这样的,你可能在使用Linux时也能支持你所需要的Windows程序。原本上,Windows程序是不能运行在Linux上的,但是你在Linux上找到替代方法,或者你的确需要的话,你可以使用一些Linux插件来帮助你。
Wine就是这样的一个选择。Wine是一个开源的软件,它可以让Windows程序运行在Linux或Unix操作系统上。它对Windows程序是兼容的,所以你可以不改变程序的前提下在Linux运行它。另一个选择是CodeWeavers CrossOver,它是基于Wine的,但并不是完全开源的。它拥有一些Wine不具备的功能,使得其在Linux下更加容易安装和运行Windows程序。
还有一个选择是虚拟机。虚拟机和VMware、VMware工作平台、Parallels和Qemu一样,可以让你在Linux下像在处于Windows环境中一样运行程序 -- 所以你可以在Linux下无需修改的运行几乎所有的Windows程序,这就好像在Windows下运行一样。(一些要求3D支持的应用可能在虚拟机无法运行,因为虚拟机不支持3D图形环境)。
在不远的未来,你可能更愿意使用Linux下程序来取代你在Windows下的程序了。下一章中,我们将讨论如何找到Linux下的程序,并安装它们。
