📜  Linux和macOS之间的区别

📅  最后修改于: 2021-08-27 04:35:24             🧑  作者: Mango

1. Linux:
Linux是由Linus Torvalds开发的一组类似于Unix的开源操作系统。它是Linux发行版的打包。一些最常用的Linux发行版是Debian,Fedora和Ubuntu。它基本上是用C语言和汇编语言编写的。 Linux中使用的内核是Monolithic内核。 Linux发行版的目标系统是云计算,嵌入式系统,移动设备,个人计算机,服务器,大型计算机和超级计算机。 1991年发布了第一个Linux版本。

2. macOS:
macOS是Apple Incorporation提供的一系列专有图形操作系统。它以前被称为Mac OS X,后来被称为OSX。它是专门为Apple mac计算机设计的。它基于Unix操作系统。它是使用C,C++,Objective-C,汇编语言和Swift开发的。它是仅次于Windows的个人计算机中第二使用最多的操作系统。苹果于2001年发布了macOS的第一个版本。

Linux和macOS之间的区别:

S.No. LINUX MACOS
1. It was developed by Linus Torvalds. It was developed by Apple Incorporation.
2. It was launched in 1991. It was launched in 2001.
3. Its target system types are embedded systems, mobile devices, personal computers, servers, mainframe computers and supercomputers. Its target system types are workstation, personal computers and embedded systems.
4. Computer architectures supported by Linux are IA-32, x86-64, ARM, PowerPC and SPARC. Computer architectures supported by macOS are Ax86-64(10.4.7-present), IA-32(10.4.4-10.6.8) and PowerPC(10.0-10.5.8).
5. Its kernel type is Monolithic. Its kernel type is Hybrid with modules.
6. Its native APIs are LINUX/POSIX. Its native APIs are Carbon, Cocoa, Java and BSD-POSIX.
7. It has preferred license of GNU GPLv2 (kernel). It has the preferred license of Proprietary, APSL and GNU GPL.
8. Its package management depends on the distribution. Its package management is macOS installer.
9. The non-native APIs supported through its subsystems are Mono, Java, Win16 and Win32. The non-native APIs supported through its subsystems are Toolbox, Win16 and Win32.
10. Its update management depends on the distribution. Its update management is Software Update.
11. File systems supported by Linux are ext2, ext3, ext4, btrfs, ReiserFS, FAT, ISO 9660, UDF and NFS. File systems supported by macOS are HFS+, APFS, HFS, UFS, AFP, ISO 9660, FAT, UDF, NFS, SMBFS, NTFS, FTP, WebDAV and ZFS.