Sunday, April 17, 2016
Sunday, March 6, 2016
One Week with Tribblix 0.16
Exit NetBSD...for now
In my last post I raved about how easy it was to address a certain package install issue by way of pkgin clean followed by pkgin update, which worked just fine for installing new packages, and which also allowed me to have a working Audacity installation. For a very brief moment, I believed my Operating System for Life had just revealed itself.
Before penning my distro-hopper's retirement speech, however, I went to boot Firefox only to be met by some error message (which I neglected to document at the time). No problem, I thought. All I need to do is run pkgin full-upgrade to upgrade all packages in the system. After doing so, apparently Firefox was nowhere to be found. By now I was tingling with the unease that presages some sort of descent into Dependency Hell, a sinking feeling known all-too-well to those of us who've been around the BSD block more than once. Thinking I'd do an end-run around the whole complicated affair, and seeing how this install was still somewhat fresh, I employed what I call the Shoot the Hostage school of problem-solving, named in honor of a certain negotiation tactic espoused in the movie Speed:
I reinstalled the whole system.
All-too-momentarily I was feeling pretty good about myself, thinking I had circumvented The Adjustment Bureau, or something. But it was not to be. The first thing I did after the reinstall was pkgin install firefox, only to find pkgin had no idea what the hell I was talking about. So then I did pkgin install firefox*, which downloaded and installed(?) Firefox 38, but no dependencies. And it wouldn't boot.
Perhaps I could have stuck it out and made do with Midori for browsing until I got to the bottom of my Firefox woes (and I'm sure there's a simple explanation and corresponding solution), but persistent (if not-so-fresh) memories of previous visits to Dependency Hell made it too much to bear, thus draining my will to see it through.
There has to be an easier solution, I thought, and resolved to find it
No trouble with Tribblix
Some websurfing off a live DVD brought me to a YouTube video review of Tribblix, a minimalist illumos distro created and managed by one man, Peter Tribble. (And he's a Star Trek fan, so yes the distro name is a nod to that famous episode featuring those furry little titular menaces as well as his surname.)
As I watched the video I suddenly realized that I had been unfairly dismissive of Tribblix up until that point, thinking it was just OpenIndiana with far fewer features, or a rehash of that Damn Small OpenSolaris iso that I tried back in 2007 or 2008. By half way through the video, though, I was excitedly downloading the Tribblix 0.16 iso (assuming an activity like downloading can ever be done in an excited manner), and getting more and more enthused as I watched and listened with rapt attention.
Once I booted the iso, I entered ./live_install.sh -B c1t0d0 kitchen-sink (which includes the base system plus most of what you'd want or need), and the install took less than ten minutes, perhaps even a little over five minutes. Contrast that with Oracle Solaris 11.3, where an install (on this machine) is more like half an hour or more. Put another way, the Tribblix live iso can boot and install the system in less time than it takes for the Oracle Solaris live DVD to get you to the wristwatch mouse pointer that indicates Gnome 2 is now only three years from coming up.
The newly-installed system boots in less than 30 seconds on this ThinkPad. (I've averaged 28 steamboats from the time I select Tribblix 0.16 in the GRUB menu to the text console login coming up.) This is quite impressive for a SunOS 11 system, but it doesn't end there.
Once you're in the system, you can install pre-built SVR4 packages quickly and easily with zap, a simple package management tool created by Peter Tribble. Installing a single package can be accomplished with zap install package name. Installing something more complicated, and which would ordinarily involve installing additional dependencies, can be done with zap install-overlay overlay name. (In Tribblix parlance, an overlay is a binary package bundled with all of its dependent packages.)
Using zap results in package installations that are, bar none, the fastest I've ever witnessed. LibreOffice, for example, installs in about the time it takes to brush your teeth and then notice the patch of facial hair you missed while shaving earlier that morning.
On the whole I am very impressed and intrigued with the singular vision and dedication to simplicity of this distro and its creator. In its own way, it embodies the Shoot the Hostage philosophy referenced above. It cuts to the chase and lets you get on with life. At the same time, it doesn't keep you from being as UNIX as you want to be. (After all, UNIX shouldn't be exemplified by the degree to which it makes you wade up to your hips in dependency resolution, or lack thereof.)
In short, I am smitten with Tribblix and all that it represents. I'm already on Day Three of what will be at least a week with this OS, maybe more. Give it a month and perhaps Tribblix and I will be planning a wedding together and picking out names for our future children.
And the bad news?
As of yet, the only drawback to Tribblix I can think of is that some of the packages are works in progress. CDE is a very good example of this. It'll give you the usual dtlogin screen, but after that you get what appears to be X without a window manager. I emailed Peter Tribble to see if I had been doing anything wrong, and he replied that CDE is very much unfinished at this point, and that he hopes that over time it will be in working state. (A good way to think of Tribblix CDE at this point is that it is a "placeholder" package for something complete further down the road, and perhaps an enticement for open source developers to pitch in and help.)
One other issue is that I tried to use it to connect to the internet via a free wifi hotspot, and while I was able to connect using the dladm suite of commands (as confirmed by dladm show-wifi), for some reason Firefox wouldn't load any web pages. I'm not sure if this is a Tribblix issue per se, or merely a case of my own inexperience with using dladm. (I've been spoiled by Oracle Solaris and OpenIndiana, both of which provide a graphical wifi login app within Gnome 2.)
In conclusion, Tribblix is a very exciting prospect for those of us who favor simplicity over complexity. (As OpenBSD founder Theo de Raadt once opined, with increased complexity comes increased instability and reduced security. And in fairness, I don't recall ever getting tangled up in dependencies with that OS.)
It may not be for everyone, but Tribblix is very important to the illumos world in that it is proof of concept that another way is possible, and that users needn't be made to grow a beard while waiting for something (be it a package or the system itself) to boot or install. (As a bonus, Tribblix also comes with gcc preinstalled. To my way of thinking, any UNIX or Unix-like distro without a compiler in the base install is like a car that doesn't come with a gas pedal.) Furthermore, it attests to the value of Free and Open Source Software (FOSS), and shows what can happen when one person takes publicly-available code in new directions according to their own preferences and instincts.
Sure, it has some rough edges, but they are easily forgived and forgotten once you've fallen under the spell of its speed and simplicity. And while I still worship at the altar of all that is BSD, perhaps those systems can learn a thing or two from Tribblix and look for some hostages of their own to eliminate. (As per the annecdotal observation above, and for a variety of other reasons, I exempt OpenBSD from this admonition.)
In my last post I raved about how easy it was to address a certain package install issue by way of pkgin clean followed by pkgin update, which worked just fine for installing new packages, and which also allowed me to have a working Audacity installation. For a very brief moment, I believed my Operating System for Life had just revealed itself.
Before penning my distro-hopper's retirement speech, however, I went to boot Firefox only to be met by some error message (which I neglected to document at the time). No problem, I thought. All I need to do is run pkgin full-upgrade to upgrade all packages in the system. After doing so, apparently Firefox was nowhere to be found. By now I was tingling with the unease that presages some sort of descent into Dependency Hell, a sinking feeling known all-too-well to those of us who've been around the BSD block more than once. Thinking I'd do an end-run around the whole complicated affair, and seeing how this install was still somewhat fresh, I employed what I call the Shoot the Hostage school of problem-solving, named in honor of a certain negotiation tactic espoused in the movie Speed:
I reinstalled the whole system.
All-too-momentarily I was feeling pretty good about myself, thinking I had circumvented The Adjustment Bureau, or something. But it was not to be. The first thing I did after the reinstall was pkgin install firefox, only to find pkgin had no idea what the hell I was talking about. So then I did pkgin install firefox*, which downloaded and installed(?) Firefox 38, but no dependencies. And it wouldn't boot.
Perhaps I could have stuck it out and made do with Midori for browsing until I got to the bottom of my Firefox woes (and I'm sure there's a simple explanation and corresponding solution), but persistent (if not-so-fresh) memories of previous visits to Dependency Hell made it too much to bear, thus draining my will to see it through.
There has to be an easier solution, I thought, and resolved to find it
No trouble with Tribblix
Some websurfing off a live DVD brought me to a YouTube video review of Tribblix, a minimalist illumos distro created and managed by one man, Peter Tribble. (And he's a Star Trek fan, so yes the distro name is a nod to that famous episode featuring those furry little titular menaces as well as his surname.)
As I watched the video I suddenly realized that I had been unfairly dismissive of Tribblix up until that point, thinking it was just OpenIndiana with far fewer features, or a rehash of that Damn Small OpenSolaris iso that I tried back in 2007 or 2008. By half way through the video, though, I was excitedly downloading the Tribblix 0.16 iso (assuming an activity like downloading can ever be done in an excited manner), and getting more and more enthused as I watched and listened with rapt attention.
Once I booted the iso, I entered ./live_install.sh -B c1t0d0 kitchen-sink (which includes the base system plus most of what you'd want or need), and the install took less than ten minutes, perhaps even a little over five minutes. Contrast that with Oracle Solaris 11.3, where an install (on this machine) is more like half an hour or more. Put another way, the Tribblix live iso can boot and install the system in less time than it takes for the Oracle Solaris live DVD to get you to the wristwatch mouse pointer that indicates Gnome 2 is now only three years from coming up.
The newly-installed system boots in less than 30 seconds on this ThinkPad. (I've averaged 28 steamboats from the time I select Tribblix 0.16 in the GRUB menu to the text console login coming up.) This is quite impressive for a SunOS 11 system, but it doesn't end there.
Once you're in the system, you can install pre-built SVR4 packages quickly and easily with zap, a simple package management tool created by Peter Tribble. Installing a single package can be accomplished with zap install package name. Installing something more complicated, and which would ordinarily involve installing additional dependencies, can be done with zap install-overlay overlay name. (In Tribblix parlance, an overlay is a binary package bundled with all of its dependent packages.)
Using zap results in package installations that are, bar none, the fastest I've ever witnessed. LibreOffice, for example, installs in about the time it takes to brush your teeth and then notice the patch of facial hair you missed while shaving earlier that morning.
On the whole I am very impressed and intrigued with the singular vision and dedication to simplicity of this distro and its creator. In its own way, it embodies the Shoot the Hostage philosophy referenced above. It cuts to the chase and lets you get on with life. At the same time, it doesn't keep you from being as UNIX as you want to be. (After all, UNIX shouldn't be exemplified by the degree to which it makes you wade up to your hips in dependency resolution, or lack thereof.)
In short, I am smitten with Tribblix and all that it represents. I'm already on Day Three of what will be at least a week with this OS, maybe more. Give it a month and perhaps Tribblix and I will be planning a wedding together and picking out names for our future children.
And the bad news?
As of yet, the only drawback to Tribblix I can think of is that some of the packages are works in progress. CDE is a very good example of this. It'll give you the usual dtlogin screen, but after that you get what appears to be X without a window manager. I emailed Peter Tribble to see if I had been doing anything wrong, and he replied that CDE is very much unfinished at this point, and that he hopes that over time it will be in working state. (A good way to think of Tribblix CDE at this point is that it is a "placeholder" package for something complete further down the road, and perhaps an enticement for open source developers to pitch in and help.)
One other issue is that I tried to use it to connect to the internet via a free wifi hotspot, and while I was able to connect using the dladm suite of commands (as confirmed by dladm show-wifi), for some reason Firefox wouldn't load any web pages. I'm not sure if this is a Tribblix issue per se, or merely a case of my own inexperience with using dladm. (I've been spoiled by Oracle Solaris and OpenIndiana, both of which provide a graphical wifi login app within Gnome 2.)
In conclusion, Tribblix is a very exciting prospect for those of us who favor simplicity over complexity. (As OpenBSD founder Theo de Raadt once opined, with increased complexity comes increased instability and reduced security. And in fairness, I don't recall ever getting tangled up in dependencies with that OS.)
It may not be for everyone, but Tribblix is very important to the illumos world in that it is proof of concept that another way is possible, and that users needn't be made to grow a beard while waiting for something (be it a package or the system itself) to boot or install. (As a bonus, Tribblix also comes with gcc preinstalled. To my way of thinking, any UNIX or Unix-like distro without a compiler in the base install is like a car that doesn't come with a gas pedal.) Furthermore, it attests to the value of Free and Open Source Software (FOSS), and shows what can happen when one person takes publicly-available code in new directions according to their own preferences and instincts.
Sure, it has some rough edges, but they are easily forgived and forgotten once you've fallen under the spell of its speed and simplicity. And while I still worship at the altar of all that is BSD, perhaps those systems can learn a thing or two from Tribblix and look for some hostages of their own to eliminate. (As per the annecdotal observation above, and for a variety of other reasons, I exempt OpenBSD from this admonition.)
Wednesday, March 2, 2016
NetBSD 7.0: Clean and update pkgin database to solve "download mismatch"
Here's a problem I encountered with pkgin in my current NetBSD install, as well as the solution I was able to find. While it may be "NetBSD/pkgsrc 101" for experienced users, I'll pass this along anyway, as I always assume that whenever I'm encountering a certain issue, then odds are someone else is, as well. (Even those of us who have no damn business running an operating system for grown ups deserve guidance every now and then, too.)
The problem in question is that I've been I've been tripping over my own feet while trying to install packages via pkgin install, as shown by the following console porn, which I managed to capture using the script command:
I chose lynx here merely for ease of illustration, rather than, say, kde4. In any case, I got the same results regardless of which package I was trying to install. And so I did much searching on the web along the lines of "NetBSD 7.0 download mismatch" and didn't really get anywhere.
And then, lo and behold, I found what I suspected may have been what I was looking for on the main page of www.pkgin.net. Fearing I may be on the verge of fouling up yet another BSD install (hello FreeBSD 8.2), I took a deep breath and did the following:
And then I typed "lynx" at the prompt and, voila, I was browsing the web like it was 1994. (I'd wax nostalgic about the good ol' days on National Capital FreeNet, but the last thing I need to do is provide even more evidence of how unhip and out-of-touch I've become.)
The problem in question is that I've been I've been tripping over my own feet while trying to install packages via pkgin install, as shown by the following console porn, which I managed to capture using the script command:
darkstar# pkgin install lynx
reading local summary...
processing local summary...
calculating dependencies... -
calculating dependencies... done.
nothing to upgrade.
1 packages to be installed (2284K to download, 5489K to install):
lynx-2.8.8.2nb2
proceed ? [Y/n] y
downloading packages...
downloading lynx-2.8.8.2nb2.tgz: 0%
lynx-2.8.8.2nb2.tgz 0% 0 0.0KB/s 0.0KB/s --:-- ETA
lynx-2.8.8.2nb2.tgz 12% 292KB 292.0KB/s 292.0KB/s 00:06 ETA
lynx-2.8.8.2nb2.tgz 43% 1000KB 333.6KB/s 708.0KB/s 00:03 ETA
lynx-2.8.8.2nb2.tgz 74% 1692KB 369.4KB/s 692.0KB/s 00:01 ETA
lynx-2.8.8.2nb2.tgz 100% 2284KB 571.0KB/s 592.1KB/s 00:04
pkgin: download mismatch: /var/db/pkgin/cache/lynx-2.8.8.2nb2.tgz
I chose lynx here merely for ease of illustration, rather than, say, kde4. In any case, I got the same results regardless of which package I was trying to install. And so I did much searching on the web along the lines of "NetBSD 7.0 download mismatch" and didn't really get anywhere.
And then, lo and behold, I found what I suspected may have been what I was looking for on the main page of www.pkgin.net. Fearing I may be on the verge of fouling up yet another BSD install (hello FreeBSD 8.2), I took a deep breath and did the following:
darkstar# pkgin cleanWith trembling fingers, a dry mouth, and a trickle of sweat upon my furrowed brow, I took another run at installing lynx:
darkstar# pkgin update
processing remote summary (http://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/amd64/7.0/All)...
downloading pkg_summary.bz2: 0%
pkg_summary.bz2 0% 0 0.0KB/s 0.0KB/s --:-- ETA
pkg_summary.bz2 5% 128KB 128.0KB/s 128.0KB/s 00:17 ETA
pkg_summary.bz2 5% 128KB 115.2KB/s 0.0KB/s 00:19 ETA
pkg_summary.bz2 5% 128KB 103.7KB/s 0.0KB/s 00:22 ETA
pkg_summary.bz2 5% 128KB 93.3KB/s 0.0KB/s 00:24 ETA
pkg_summary.bz2 10% 256KB 96.8KB/s 128.0KB/s 00:22 ETA
pkg_summary.bz2 15% 384KB 99.9KB/s 128.0KB/s 00:20 ETA
pkg_summary.bz2 21% 512KB 102.7KB/s 128.0KB/s 00:18 ETA
pkg_summary.bz2 23% 576KB 98.8KB/s 64.0KB/s 00:18 ETA
pkg_summary.bz2 28% 704KB 101.8KB/s 128.0KB/s 00:16 ETA
pkg_summary.bz2 31% 768KB 98.0KB/s 64.0KB/s 00:16 ETA
pkg_summary.bz2 36% 896KB 101.0KB/s 128.0KB/s 00:15 ETA
pkg_summary.bz2 42% 1024KB 103.7KB/s 128.0KB/s 00:13 ETA
pkg_summary.bz2 50% 1216KB 112.5KB/s 192.0KB/s 00:10 ETA
pkg_summary.bz2 57% 1408KB 120.5KB/s 192.0KB/s 00:08 ETA
pkg_summary.bz2 63% 1536KB 121.2KB/s 128.0KB/s 00:07 ETA
pkg_summary.bz2 73% 1792KB 134.7KB/s 256.0KB/s 00:04 ETA
pkg_summary.bz2 76% 1856KB 124.4KB/s 64.0KB/s 00:04 ETA
pkg_summary.bz2 84% 2048KB 131.2KB/s 192.0KB/s 00:02 ETA
pkg_summary.bz2 89% 2176KB 130.9KB/s 128.0KB/s 00:01 ETA
pkg_summary.bz2 94% 2304KB 130.6KB/s 128.0KB/s 00:00 ETA
pkg_summary.bz2 100% 2432KB 110.5KB/s 127.8KB/s 00:22
darkstar# pkgin install lynx
calculating dependencies... -
calculating dependencies... done.
nothing to upgrade.
1 packages to be installed (2284K to download, 5489K to install):
lynx-2.8.8.2nb2
proceed ? [Y/n] y
downloading packages...
downloading lynx-2.8.8.2nb2.tgz: 0%
lynx-2.8.8.2nb2.tgz 0% 0 0.0KB/s 0.0KB/s --:-- ETA
lynx-2.8.8.2nb2.tgz 12% 288KB 288.0KB/s 288.0KB/s 00:06 ETA
lynx-2.8.8.2nb2.tgz 38% 888KB 319.2KB/s 600.0KB/s 00:04 ETA
lynx-2.8.8.2nb2.tgz 69% 1596KB 358.1KB/s 708.0KB/s 00:01 ETA
lynx-2.8.8.2nb2.tgz 97% 2236KB 386.3KB/s 640.0KB/s 00:00 ETA
lynx-2.8.8.2nb2.tgz 100% 2284KB 571.0KB/s 48.1KB/s 00:04
installing packages...
installing lynx-2.8.8.2nb2...
lynx-2.8.8.2nb2: copying /usr/pkg/share/examples/lynx/lynx.cfg to /usr/pkg/etc/lynx.cfg
lynx-2.8.8.2nb2: copying /usr/pkg/share/examples/lynx/lynx.lss to /usr/pkg/etc/lynx.lss
pkg_install warnings: 0, errors: 0
reading local summary...
processing local summary...
marking lynx-2.8.8.2nb2 as non auto-removable
And then I typed "lynx" at the prompt and, voila, I was browsing the web like it was 1994. (I'd wax nostalgic about the good ol' days on National Capital FreeNet, but the last thing I need to do is provide even more evidence of how unhip and out-of-touch I've become.)
Monday, February 29, 2016
The Republican Party has been smacked across the back of the head with a shovel
Perhaps you've had that experience where you're in public and you hear a couple or a group of people having a heated argument, and as you listen you realize that each person is being willfully ignorant of the other(s) or worse, and that the episode will end either with a physical altercation or, at best, with the participants all storming off if separate directions. Maybe on some level you feel pity for them for being trapped at the level of unthinking emotionalism.
In these situations you feel like you shouldn't eavesdrop on people who are making a spectacle of themselves due to things that aren't their fault, such as a medical condition or a lack of education, but nevertheless you can't help yourself.
That is sort of how I feel as I follow the race for the Republican Party's nomination for the upcoming U.S. Presidential election, which has now devolved into a juvenile insult contest. Rather than debate potential solutions to the problems facing their country, Donald Trump and Marco Rubio in particular are now locked in a war of words that has often focused, strangely enough, on which of the two show more evidence of perspiration backstage during televised appearances.
Really?
It seems that with Republicans, collectively, we are witnessing a party that has been smacked across the back of the head with a shovel, having gotten caught and ground into hamburger meat in the gears of Trump's mean-spirited sensationalism. And now on the eve of Super Tuesday, with Trump solidly ahead in the polls, the party's mainstream is realizing too late that they should have upped their game months before now.
Compare that to the Democratic race.
Sure, Hillary Clinton and Bernie Sanders have criticized each other and even traded barbs on occasion, but on the whole their race has been one about issues being discussed with maturity and decorum. In other words, they have respected the intelligence of their supporters and each other, and therefore have brought honor to their party. At no point, from what I have seen, have the Democratic contenders gotten down in the muck and manure like the Republicans. (Up until the last few days it was mainly Trump doing that, but now Rubio has joined in. As I saw a commentator on CNN say earlier, when you sink to Trump's level, "the pig enjoys it and you just get dirty".)
And so following the Republican race is an intensely-fascinating form of people-watching, in terms of the shamelessness of the main participants, as well as the intellectual acrobatics and obfuscation of the pundits who rally by their side. It's like the conservative movement, as a whole, is too factionalized to properly digest someone as deliberately polarizing as Trump.
(As an aside, conservatism tends to become a religion to its adherents, and like any religion it tends to break apart into competing factions. While the Democrats are indeed more "liberal" - at least for the purposes of election campaigns - they seem to be more rooted in a sense of pragmatism. That is why you never hear Democrats questioning each other's ideological purity, unlike the GOP.)
Getting back to the scenario described at the outset, eventually you realize you've had enough. Sooner or later, any guilty pleasure loses its novelty, and you just wish the people you're listening to would either clam up or at least talk about something of substance.
And so it is with the 2016 Republican contest.
In these situations you feel like you shouldn't eavesdrop on people who are making a spectacle of themselves due to things that aren't their fault, such as a medical condition or a lack of education, but nevertheless you can't help yourself.
That is sort of how I feel as I follow the race for the Republican Party's nomination for the upcoming U.S. Presidential election, which has now devolved into a juvenile insult contest. Rather than debate potential solutions to the problems facing their country, Donald Trump and Marco Rubio in particular are now locked in a war of words that has often focused, strangely enough, on which of the two show more evidence of perspiration backstage during televised appearances.
Really?
It seems that with Republicans, collectively, we are witnessing a party that has been smacked across the back of the head with a shovel, having gotten caught and ground into hamburger meat in the gears of Trump's mean-spirited sensationalism. And now on the eve of Super Tuesday, with Trump solidly ahead in the polls, the party's mainstream is realizing too late that they should have upped their game months before now.
Compare that to the Democratic race.
Sure, Hillary Clinton and Bernie Sanders have criticized each other and even traded barbs on occasion, but on the whole their race has been one about issues being discussed with maturity and decorum. In other words, they have respected the intelligence of their supporters and each other, and therefore have brought honor to their party. At no point, from what I have seen, have the Democratic contenders gotten down in the muck and manure like the Republicans. (Up until the last few days it was mainly Trump doing that, but now Rubio has joined in. As I saw a commentator on CNN say earlier, when you sink to Trump's level, "the pig enjoys it and you just get dirty".)
And so following the Republican race is an intensely-fascinating form of people-watching, in terms of the shamelessness of the main participants, as well as the intellectual acrobatics and obfuscation of the pundits who rally by their side. It's like the conservative movement, as a whole, is too factionalized to properly digest someone as deliberately polarizing as Trump.
(As an aside, conservatism tends to become a religion to its adherents, and like any religion it tends to break apart into competing factions. While the Democrats are indeed more "liberal" - at least for the purposes of election campaigns - they seem to be more rooted in a sense of pragmatism. That is why you never hear Democrats questioning each other's ideological purity, unlike the GOP.)
Getting back to the scenario described at the outset, eventually you realize you've had enough. Sooner or later, any guilty pleasure loses its novelty, and you just wish the people you're listening to would either clam up or at least talk about something of substance.
And so it is with the 2016 Republican contest.
Saturday, February 27, 2016
One Week with NetBSD 7.0: A belated post-mortem
Excuses, excuses...
I know my week-long adventure with NetBSD 7.0 ended more than a week ago, and I certainly intended some sort of wrap-up well before now. However, life got in the way and threw my plans off-kilter. For the first two or three days after said week ended, it was a case of my responsibilities as a father of two young boys conspiring with the resulting end-of-day brain melt that goes with such a role to trigger a monumental case of procrastination as far as blog-related matters go.
After those two or three days, however, my good intentions to nail the lid on this NetBSD experiment was again derailed, this time by an illness, which going by previous experience I believe was a nasty bout of food poisoning. The first day felt like death without dying. (I won't go into any detail here, except to say that I couldn't even keep Gravol down.)
As the days wore on, and as I gradually came back to life, I had a SunOS relapse, this time in the form of OpenIndiana Hipster (the October 2015 iso patched up to that day's build), which this time around seemed a heckuva lot more unstable than my previous fling. Don't think for a moment I'm intending this as a negative - Hipster is OI's fast-moving 'test' branch, and so I went into it expecting some breakage, and even ended up submitting two bug reports, which in itself was part of the itch I was scratching.
Craving a bit more stability, I then reinstalled Oracle Solaris 11.3 and was able to get in a few days of using my laptop for actual productivity purposes. However, it didn't take long before I was missing the stripped-down sensibility that is NetBSD, and so earlier this evening I decided to take another plunge back into the pool, and followed the directions I had noted in earlier posts to get myself back to where I was before. (I'm too frugal to spend money on sticky notes, so instead I leave notes to myself on my blog. So if you see a post resembling a shopping list or a reminder to return a library book, you'll know I'm just being practical.)
And so now I'll be working to cross the remaining goals off my original list, which consists of conquering wireless connectivity as well as getting Audacity up and running. (I did pkgin install audacity, but when I go to start it I get a message saying Shared object "libportaudio.so.2" not found. I'm hoping a quick Google search or two will lead me to the promised land.)
As for SD card readability and digital video playability, that can wait because I need to buy a new SD card USB adapter. (The little card slots on the adapter got caked with chocolate. Don't ask.)
And so the curtain falls
That's the road ahead for now, and so although my One Week with NetBSD 7.0 blog series is now concluded, I am not done with NetBSD 7.0 itself, and plan to write more about it whenever I have anything worthwhile to share or simply feel like gushing about this worthwhile system.
As for closing thoughts, I think much of the attraction (for me) to a system like NetBSD (or its siblings, OpenBSD and FreeBSD), aside from coming with console Tetris out-of-the-box, is that it makes no assumptions about what you're going to do with it, which would explain why a fresh install consists simply of the base system, Xorg and a Reagan-era window manager (twm). Where you go with it from there is completely up to you.
That's the lure of the big three BSD-based operating systems for a fella like me, as they embody what I consider the ultimate computing experience, in that the user is trusted and respected enough by the system's developers that they are free to explore, study and modify the system in any way they see fit. Compare that to Windows or Mac OSX, where the user is confined to a walled garden controlled by the vendor. (Yes, OSX is BSD-derived, but it is not the freeform experience of any traditional BSD or UNIX system. While Apple has a healthy respect for great design principles, its products lead the proverbial horse to water and then force it to drink.)
In short, systems like Windows, OSX and Ubuntu, not to mention Android and other tablet/smartphone operating systems, are built to serve corporate vanity and profits, full stop, and thus do not trust the user to modify as they see fit. (Oracle Solaris is somewhere in the middle of this spectrum, as it allows for much customizing for those who know what they're doing, but is nevertheless a closed-source system with certain limitations on use, particularly for those using it at home for free.)
With the traditional BSD systems, you are limited only by your own skills, knowledge and sensibilities. NetBSD is as good a standard-bearer as any for this level of versatility. After all, it can run a toaster or provide TCP support for satellite networks.
Also, if you have a sincere love for Unix and/or want to learn it from the ground up, then I don't think you could possibly go wrong with NetBSD. And while I don't think any "Unix" operating system (even ones that are legally-entitled to market themselves as "UNIX(TM)") can claim to have enough code purity to be the one true descendant of AT&T Unix, the BSD's can all trace their lineage directly to the original system, and all three provide as traditional a Unix experience as possible (second only to booting Version 7 Unix in simh), while also providing access to most of the graphical applications one would need or want in this Windows-based world.
So while NetBSD may not be able to call itself UNIX(TM), it is certainly Unix to the nth degree in more ways than one, and possibly to a greater extent than some of the systems that are officially certified by The Open Group, the organization that owns and polices the UNIX trademark.
And finally, NetBSD will not hold your hand but it will give you an opportunity to learn that's simply not provided by more GUI-based systems. If you keep at it and give yourself permission to make mistakes, figure out solutions, and simply forge onward, you may find yourself able to do more with your hands than you previously thought possible.
As for myself, I still have some learning to do, so I'll be keeping NetBSD around for awhile.
I know my week-long adventure with NetBSD 7.0 ended more than a week ago, and I certainly intended some sort of wrap-up well before now. However, life got in the way and threw my plans off-kilter. For the first two or three days after said week ended, it was a case of my responsibilities as a father of two young boys conspiring with the resulting end-of-day brain melt that goes with such a role to trigger a monumental case of procrastination as far as blog-related matters go.
After those two or three days, however, my good intentions to nail the lid on this NetBSD experiment was again derailed, this time by an illness, which going by previous experience I believe was a nasty bout of food poisoning. The first day felt like death without dying. (I won't go into any detail here, except to say that I couldn't even keep Gravol down.)
As the days wore on, and as I gradually came back to life, I had a SunOS relapse, this time in the form of OpenIndiana Hipster (the October 2015 iso patched up to that day's build), which this time around seemed a heckuva lot more unstable than my previous fling. Don't think for a moment I'm intending this as a negative - Hipster is OI's fast-moving 'test' branch, and so I went into it expecting some breakage, and even ended up submitting two bug reports, which in itself was part of the itch I was scratching.
Craving a bit more stability, I then reinstalled Oracle Solaris 11.3 and was able to get in a few days of using my laptop for actual productivity purposes. However, it didn't take long before I was missing the stripped-down sensibility that is NetBSD, and so earlier this evening I decided to take another plunge back into the pool, and followed the directions I had noted in earlier posts to get myself back to where I was before. (I'm too frugal to spend money on sticky notes, so instead I leave notes to myself on my blog. So if you see a post resembling a shopping list or a reminder to return a library book, you'll know I'm just being practical.)
And so now I'll be working to cross the remaining goals off my original list, which consists of conquering wireless connectivity as well as getting Audacity up and running. (I did pkgin install audacity, but when I go to start it I get a message saying Shared object "libportaudio.so.2" not found. I'm hoping a quick Google search or two will lead me to the promised land.)
As for SD card readability and digital video playability, that can wait because I need to buy a new SD card USB adapter. (The little card slots on the adapter got caked with chocolate. Don't ask.)
And so the curtain falls
That's the road ahead for now, and so although my One Week with NetBSD 7.0 blog series is now concluded, I am not done with NetBSD 7.0 itself, and plan to write more about it whenever I have anything worthwhile to share or simply feel like gushing about this worthwhile system.
As for closing thoughts, I think much of the attraction (for me) to a system like NetBSD (or its siblings, OpenBSD and FreeBSD), aside from coming with console Tetris out-of-the-box, is that it makes no assumptions about what you're going to do with it, which would explain why a fresh install consists simply of the base system, Xorg and a Reagan-era window manager (twm). Where you go with it from there is completely up to you.
That's the lure of the big three BSD-based operating systems for a fella like me, as they embody what I consider the ultimate computing experience, in that the user is trusted and respected enough by the system's developers that they are free to explore, study and modify the system in any way they see fit. Compare that to Windows or Mac OSX, where the user is confined to a walled garden controlled by the vendor. (Yes, OSX is BSD-derived, but it is not the freeform experience of any traditional BSD or UNIX system. While Apple has a healthy respect for great design principles, its products lead the proverbial horse to water and then force it to drink.)
In short, systems like Windows, OSX and Ubuntu, not to mention Android and other tablet/smartphone operating systems, are built to serve corporate vanity and profits, full stop, and thus do not trust the user to modify as they see fit. (Oracle Solaris is somewhere in the middle of this spectrum, as it allows for much customizing for those who know what they're doing, but is nevertheless a closed-source system with certain limitations on use, particularly for those using it at home for free.)
With the traditional BSD systems, you are limited only by your own skills, knowledge and sensibilities. NetBSD is as good a standard-bearer as any for this level of versatility. After all, it can run a toaster or provide TCP support for satellite networks.
Also, if you have a sincere love for Unix and/or want to learn it from the ground up, then I don't think you could possibly go wrong with NetBSD. And while I don't think any "Unix" operating system (even ones that are legally-entitled to market themselves as "UNIX(TM)") can claim to have enough code purity to be the one true descendant of AT&T Unix, the BSD's can all trace their lineage directly to the original system, and all three provide as traditional a Unix experience as possible (second only to booting Version 7 Unix in simh), while also providing access to most of the graphical applications one would need or want in this Windows-based world.
So while NetBSD may not be able to call itself UNIX(TM), it is certainly Unix to the nth degree in more ways than one, and possibly to a greater extent than some of the systems that are officially certified by The Open Group, the organization that owns and polices the UNIX trademark.
And finally, NetBSD will not hold your hand but it will give you an opportunity to learn that's simply not provided by more GUI-based systems. If you keep at it and give yourself permission to make mistakes, figure out solutions, and simply forge onward, you may find yourself able to do more with your hands than you previously thought possible.
As for myself, I still have some learning to do, so I'll be keeping NetBSD around for awhile.
Wednesday, February 17, 2016
One Week with NetBSD 7.0: A mixed review of Xfce 4.12
The universe is governed by the forces of irony.
At least that's the notion I publicly subscribe to, as it allows me sufficient cover to rail against full-bodied desktop environments (and champion primitive window managers) in one post, and then in the next one do something really cute, like report on the installation and use of a full-bodied desktop environment, in this case Xfce 4.12. And then if anyone calls me out on my BS, I can simply point to this self-created God of Irony, who will respond to my detractors with a simple shrug of His celestial shoulders and bathe us all in His ever-loving gaze of indifference.
In all seriousness, there's Unix users, and then there's human beings, and so if you're setting up user accounts for the latter on a given machine, particularly with limited exposure (if any) to Unix, then a desktop environment is the best way to ease them into it. (Put another way, let their first Unix experience be what Linux blogger Penguin Pete once dubbed "I-can't-believe-it's-not-Windows!")
As for the installation, I followed the steps laid out in slice2's appropriately-titled blog post, HOWTO install the XFCE 4.12 Desktop on NetBSD 7. Unlike the procedures for installing Flash, there are no hiccups or deviations to report here. I followed each and every step exactly as written by slice2, and was up and running with Xfce 4.12 in no time. (Some of the steps didn't apply, as the post assumes you're starting from a fresh NetBSD install with nothing added or configured, so to be more exact I followed all of the relevant steps.)
All-in-all, Xfce 4.12 on NetBSD is good, but not without a blemish or two.
For starters, I'm not keen on the default theme, ("Xfce-dusk"), but that's a non-issue easily addressed via the theme manager dialogue box. A slightly more serious issue, if appearances matter, is the fact that I'm unable to change the desktop background from the default solid grey to either a different color or image. One of the key elements of a desktop environment is personalization, and although I live in a snoozy government town, I don't feel like a dull grey desktop background truly expresses my inner self. (I could be wrong.)
Although I'm confident the solution is one Google search away, I've been avoiding that route in the interest of getting a sense of Xfce's ease of discoverability. After all, if it is geared towards being usable by general as well as technical people, then an external search engine shouldn't be required to find out how to do something as trivial as changing a background. I've used Xfce on many BSD and Linux distros, and have never encountered this sort of roadblock.
Another irritant here is that I can't use Alt-Tab to cycle through windows, which one would think is an easy way to help level the learning curve. Again, I swear I remember this feature being available in other Xfce implementations, so I don't know if the Xfce project has decided to drop the feature in the interest of self-defeat, or if it's just a rough spot in the NetBSD implementation. Either way, I'm not a fan of having to take a hand off the keyboard to move the mouse up to the task bar when a fairly standard keyboard shortcut exists in other implementations of the same environment.
And finally, for some reason this incarnation of Xfce 4.12 requires you to type soffice in a terminal window to activate LibreOffice, rather than having it available in the Applications drop-down menu. While I'm in no way adverse to command lines (as the vain muscle-flexing of my previous post made abundantly clear), any self-respecting desktop environment should make a major productivity suite like LibreOffice available within a series of mouse clicks, and as few of them as possible at that.
Beyond the above complaints, I have nothing bad to say about Xfce 4.12 on NetBSD 7.0, per se. If you're looking for a usable default GUI for a 'guest account' on your machine while entertaining inlaws for the weekend, then you can't really go wrong with Xfce. As for myself, the issues outlined above make it seem incomplete, therefore keeping it from being my 'go-to' desktop environment.
At least that's the notion I publicly subscribe to, as it allows me sufficient cover to rail against full-bodied desktop environments (and champion primitive window managers) in one post, and then in the next one do something really cute, like report on the installation and use of a full-bodied desktop environment, in this case Xfce 4.12. And then if anyone calls me out on my BS, I can simply point to this self-created God of Irony, who will respond to my detractors with a simple shrug of His celestial shoulders and bathe us all in His ever-loving gaze of indifference.
In all seriousness, there's Unix users, and then there's human beings, and so if you're setting up user accounts for the latter on a given machine, particularly with limited exposure (if any) to Unix, then a desktop environment is the best way to ease them into it. (Put another way, let their first Unix experience be what Linux blogger Penguin Pete once dubbed "I-can't-believe-it's-not-Windows!")
Xfce 4.12 in action: A good 'default GUI' choice for guest accounts on your machine,
but not without some issues that keep it from being the author's 'go-to' desktop
environment, assuming he'd want a desktop environment in the first place.
but not without some issues that keep it from being the author's 'go-to' desktop
environment, assuming he'd want a desktop environment in the first place.
As for the installation, I followed the steps laid out in slice2's appropriately-titled blog post, HOWTO install the XFCE 4.12 Desktop on NetBSD 7. Unlike the procedures for installing Flash, there are no hiccups or deviations to report here. I followed each and every step exactly as written by slice2, and was up and running with Xfce 4.12 in no time. (Some of the steps didn't apply, as the post assumes you're starting from a fresh NetBSD install with nothing added or configured, so to be more exact I followed all of the relevant steps.)
All-in-all, Xfce 4.12 on NetBSD is good, but not without a blemish or two.
For starters, I'm not keen on the default theme, ("Xfce-dusk"), but that's a non-issue easily addressed via the theme manager dialogue box. A slightly more serious issue, if appearances matter, is the fact that I'm unable to change the desktop background from the default solid grey to either a different color or image. One of the key elements of a desktop environment is personalization, and although I live in a snoozy government town, I don't feel like a dull grey desktop background truly expresses my inner self. (I could be wrong.)
Although I'm confident the solution is one Google search away, I've been avoiding that route in the interest of getting a sense of Xfce's ease of discoverability. After all, if it is geared towards being usable by general as well as technical people, then an external search engine shouldn't be required to find out how to do something as trivial as changing a background. I've used Xfce on many BSD and Linux distros, and have never encountered this sort of roadblock.
Another irritant here is that I can't use Alt-Tab to cycle through windows, which one would think is an easy way to help level the learning curve. Again, I swear I remember this feature being available in other Xfce implementations, so I don't know if the Xfce project has decided to drop the feature in the interest of self-defeat, or if it's just a rough spot in the NetBSD implementation. Either way, I'm not a fan of having to take a hand off the keyboard to move the mouse up to the task bar when a fairly standard keyboard shortcut exists in other implementations of the same environment.
And finally, for some reason this incarnation of Xfce 4.12 requires you to type soffice in a terminal window to activate LibreOffice, rather than having it available in the Applications drop-down menu. While I'm in no way adverse to command lines (as the vain muscle-flexing of my previous post made abundantly clear), any self-respecting desktop environment should make a major productivity suite like LibreOffice available within a series of mouse clicks, and as few of them as possible at that.
Beyond the above complaints, I have nothing bad to say about Xfce 4.12 on NetBSD 7.0, per se. If you're looking for a usable default GUI for a 'guest account' on your machine while entertaining inlaws for the weekend, then you can't really go wrong with Xfce. As for myself, the issues outlined above make it seem incomplete, therefore keeping it from being my 'go-to' desktop environment.
Subscribe to:
Posts (Atom)
