LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-01-2006, 03:54 AM   #1
rob5044
LQ Newbie
 
Registered: Apr 2006
Location: West London
Posts: 1

Rep: Reputation: 0
How much difference is there between Solaris 10 and various linux versions?


As a Sun hardware engineer I mostly deal with solaris 8 and 10. My laptop runs both solaris 10 and Suse linux with Java Desktop. I have to say that I rarely do anything complicated when using Suse and JDS, so I've rarely done anything at the command line level. What are the differences between solaris 10 and linux? I know the differences between solaris 8 and 10, which are quite significant. I was told that solaris 10 has been designed to make it more compatible with linux; but what do other users have to say on this?

A question for Guru's, I think!!!!

Cheers,

Rob.
 
Old 12-01-2006, 06:41 AM   #2
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
Hmm. The initial impression is "lots," but after a little reflection, not all that much -- depending on what you're talking about.

At the user level, not all that much; Linux and Solaris, at the command line level, look pretty much the same. All the "standard" System V, Berkeley, etc. utilities look and work pretty much like they're supposed to.

At the developer level, particularly with, say, SUNWspro installed, there are some little gotcha differences compared to GCC (and, on Sun platforms, I'd rather have Sun's compiler than any other). And SPARCs are 64 bit where most Linux boxes, not all, but most, are built on PC platforms and you get into multi processors versus single and MSB, LSB and all that. Solaris does a tremendous job, as far as I'm concerned, managing multi processors although I have no experience with multi processor Linux so I can't really comment further on that.

I have found that a lot of open source packages that I'd sometimes like to have on a SPARC box will not build unless GCC is installed along with SUNWspro; GCC-specific functions, libraries, things like that cause pain. The big ones; e.g., Apache, PHP and a few others, however, build and work just fine.

Administrative stuff is, well, different. Some Linux distributions, Slackware for example (which is what I use) do start up with "run command" files (rc.sshd, for example), others do the rc.0, rc.1, ... way (like Solaris does). Pick your poison, live with it. (One of the things I like most about Slackware is that it's "closest to System V" in that it's the most un-fooled-around-with distribution I've found and doesn't insist on "doing" (invisible) things to or for me that I don't want done, kind of like Solaris. Making the switch from Solaris to Slackware was pretty painless.) Other, little things, are, oh, drive naming conventions, CUPS, and some others I can't think of right now -- which tells you that they probably don't matter much. I have almost -- almost -- no trouble porting code between Solaris and Slackware and everything works as I expect it to.

There are a few things that Linux distributions come with that Solaris doesn't. I'm really, really old fashioned; I prefer nawk over gawk any day of the week, vi over elvis, Sun C over GCC, things like that. For some inexplicable reason people seem to think that bloat is good and keep adding "features" to basic utilities that, well, I'd be happy to live without. M. Douglas McIlroy had it right: a program should do one thing and do it well and I can live quite happily with an editor that edits files and doesn't try to scratch my nose for me while it's at it.

I use Solaris' implementation of CDE (and like it) on Sun boxes and KDE (which is OK) on Linux boxes. I'm a software engineer by trade and I don't give much of a hoot about click-and-drool (gimme a terminal window and leave me alone, dammit). Overall I can't say that, other than a few Solaris-specific system calls versus Linux-specific system calls, mounting drive partitions, administering printers once or twice a year and the like that there's all that much of a learning curve switching back and forth.

So, let's see. There are a few -- very few -- compatibility differences but, in my experience, they're down there in exotic system calls and aren't annoying enough to be a big problem. To a user, look and feel are pretty much identical (well, CDE is different that KDE, but...). Standard utilities are... standard; you print with lp, you list files with ls, you exit with ^D. Adding drives is different, partitions are named differently, but so what. 64- versus 32 bit, well, yeah, but it's really hard to notice most of the time. A couple of hundred users going at it at once, well you pays your money and you gets your platform.

I kind of think that Linux is getting to be more like Solaris than the other way around.
 
Old 12-01-2006, 07:34 AM   #3
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
Does Solaris 10 use the GNU versions of the standard command line tools? I've used sunos 4, and the basic command line tool-set there lacked a lot of the GNU niceness (extra options and so on).
 
Old 12-01-2006, 08:23 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
Originally Posted by matthewg42
Does Solaris 10 use the GNU versions of the standard command line tools? I've used sunos 4, and the basic command line tool-set there lacked a lot of the GNU niceness (extra options and so on).
I am using Solaris Express, and bash is available as well as some other gnu tools like gtar, gmake etc. I am not sure if the gnu tools came as default or were added when I installed Sun Studio 11. Someone more familiar with Solaris maybe able to give you a more detailed answer.
 
Old 12-01-2006, 08:36 AM   #5
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
If someone wants to check a tool to see if it's a GNU one, all the GNU tools support a --version option (at least it's part of the GNU coding standards, so all but a few naughty ones support it). e.g.
Code:
ls --version
ls (GNU coreutils) 5.96
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software. You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.

Written by Richard Stallman and David MacKenzie.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
difference between linux and solaris ganeshjeyaraman Linux - General 8 06-19-2006 06:38 AM
Difference in enterprise versions? cackley Red Hat 1 02-20-2005 04:46 AM
Solaris vs. Linux - What's the difference? zzzt Linux - General 7 10-20-2003 01:12 PM
What is the main difference between Linux Versions and Manufacturers? phantom87s Linux - Newbie 2 07-15-2003 08:50 AM
Difference between Madrake versions keirobyn Linux - General 2 12-20-2001 02:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration