Top 5 unsuccessful searches on OpenSolaris 2008.05
By Roman Strobl on Jun 25, 2008
I read today notes from an OpenSolaris meeting where it was reported that the most common unsuccessful searches for OpenSolaris 2008.05 are following:
- 1- sudo
- 2- top
- 3- mplayer
- 4- vlc
- 5- mc
As a relatively new user of OpenSolaris I also needed these packages - and found out that they are available, but you need to (re)search a bit. So let's take them one by one:
1. Sudo - OpenSolaris doesn't use sudo for executing processes with root privileges. However there is a similar command that comes inside of OpenSolaris distribution called pfexec. Pfexec allows you to execute programs with different privileges. See its man page for details. The most typical usage of sudo is:
sudo [some command]
In OpenSolaris you can do the same task by running:
pfexec [some command]
For example you cannot install a package as a regular user, thus in order to install Apache2 you need to run:
pfexec pkg install SUNWapch22
Similarly as for sudo, there is a different command for "top" in OpenSolaris. It's called prstat.
You can simply run:
You'll see realtime information about processes similarly as when you use "top" in Linux.
I was searching for mplayer as well because of my home cinema (I bought a great projector so I am watching my favorite movies from OpenSolaris on a 2.5 meter projection on wall :) I'll blog about how to get external projection to work in one of the future posts. Mplayer is not available in the default IPS repository (pkg.opensolaris.org). However you can get mplayer from Blastwave which has migrated to IPS quite recently. One disadvantage is that Blastwave installs many different packages in it's separate directory, but that's something I can live with - watching movies from OpenSolaris is more important for me than having a minimalistic distribution on my disk :).
To add the Blastwave repository you need to run:
pkg set-authority -O http://blastwave.network.com:10000/ Blastwave
This command makes the Blastwave repository accessible for the "pkg" command. Then you can install mplayer using:
pfexec pkg install IPSmplayer
Now you can watch your favorite movies on OpenSolaris (note that Blastwave programs are in /opt/csw/bin). I strongly suggest to add this directory to default path and run mplayer or you can run mplayer using /opt/csw/bin/mplayer.
I was also trying to install Vlc on OpenSolaris recently because mplayer doesn't handle some of the streaming video well and Vlc player is much better for it. Vlc player is also available in the Blastwave repository, however I had limited success with it - I couldn't get the video to run. Maybe you'll have better success (or the package might get updated), so to get Vlc run:
pfexec pkg install IPSvlcYou can then run vlc using the /opt/csw/bin/vlc command (or again add /opt/csw/bin to default path and run just vlc).
Midnight commander is my favorite file manager. Yes, the UI looks very arcane, it looks like the old good Norton Commander (or my favorite Volkov Commander - I am from Eastern Europe :) At any case it's a very useful piece of software, unfortunately not available in the standard distribution.
You can get Midnight Commander from the default pkg.opensolaris.org repository easily by running:
pfexec pkg install SUNWgnu-mc
Then simply run mc.
will try to get a more complete listing of the search results and see
if I can find the most requested applications and blog about how to get
them on OpenSolaris. Note that getting more packages to OpenSolaris is now an important goal so you'll see more and more software easily available for OpenSolaris in near future.