What is the basic difference between Linux and Solaris?
As both the OS are derived from UNIX so where lies the difference between Linux and Solaris? Are they because of creation by different companies or is there basic difference in between them?
|
What is the basic difference between Linux and Solaris? As both the OS are derived from UNIX so where lies the difference between Linux and Solaris? Are they because of creation by different companies or is there basic difference in between them? | ||||
|
feedback
|
This question came from our site for professional and enthusiast programmers.
|
both are unix based and supports the POSIX API but the kernel implementation is completely different. the Solaris (and OpenSolaris) kernel supports some interesting features not supported by the Linux kernel, like ZFS which is probably the best file system at the moment in any operating system, and Zones which allow you to create lightweight instances of the operating system - similar to isolated virtual machines but with much lower overhead. Another difference is the userland tools. the Linux GNU tools are generally more mature and useful than the Solaris userland tools, but OpenSolaris comes with many of the GNU tools and it's also possible to add the GNU tools to Solaris. | |||
|
feedback
|
|
If you want more detailed comparison of Kernels of Solaris and Linux, have a look at this open solaris page. It explains a LOT! Both are types of UNIX. | |||
|
feedback
|
|
You should have a listen to FLOSS Weekly #88 where Linus Torvalds talks about creating Linux. One of the interesting things he said was at Uni they had Solaris servers, and he wanted his Unix to be like Solaris, and be available to students with no money. Solaris has a huge install base in enterprises, and tries very hard to not break anything when they release new versions. For this reason, many tools are very slow to change or add features. On the flip side, Solaris has created some really useful code in recent years, including DTrace, ZFS, and Zones. | |||
|
feedback
|
|
I think it's also worth pointing out that Solaris has a rock solid kernel and pre-dates linux yet is propriety software. This usually lends itself to large unix installations and enterprise level users. | |||
|
feedback
|
|
The main difference, historically, is that Linux is actually a kernel with a GNU userland - militants stress that Linux should be called GNU/Linux because of this - and Solaris (actually SunOS) is a kernel with a Solaris userland. This isn't such a hard and fast rule anymore, evidenced by Nexenta OS for example, which has the Solaris kernel and GNU userland. The biggest difference from a functionality point of view is that Linux has a lot more device drivers. Cheers | |||||||
feedback
|
|
There are two main kinds of UNIX, historically, System V and BSD. Solaris is much more like System V, but Linux is more BSD-like. As such, there are a lot of userland differences. Further, Solaris is proprietary, whereas Linux is completely open source. There is an OpenSolaris, but it is missing some things that Solaris has. If you're looking for a widely-supported and popular operating system, then Solaris might not be what you want. | |||
|
feedback
|
|
Main difference is that most common tools like tar, awk, sed, top... and so on are lacking something or are broken and you end up using GNU versions instead. But apart from that it is very stable and has good zoneing support. | |||||||
feedback
|
|
The fundemental difference is that on is logically derived from UNIX and written by SUN (solaris) and the other is derived from MINIX and was written by an awful lot of people. | |||||||||||||
feedback
|