A Django site.
June 29, 2008
» “What Would You Like To See?” Poll Expiring Tomorrow

I want to thank everyone for the great feedback that I got on the poll regarding what you’d like to see on this site.  I think the results are pretty clear, although some of them did surprise me.  For those that haven’t taken a look at the results they are as follows:

Gnome Desktop Tips : 221 votes

Virtualization Topics : 163 votes

Installation & Upgrade : 163 votes

Security Related :152 votes

Ubuntu Server : 152 votes

3D Effects : 117 votes

Getting Involved : 69 votes

KDE Stuff : 65 votes

If you’d still like to voice your opinion the poll is still up for another day.  You can also comment on this post if you’d like to see topics not listed in the current poll.

I will try to keep these results in mind going forward.  I have seen website traffic go up recently, and I’m glad to see people are interested and coming to read the site.

A new poll will be starting July 1 so please come and give me your feedback at that point.

Related

June 21, 2008

Clint Savage
herlo
Sexy Sexy Penguins » Tech
» FUDCon Friday: A very, very, very long day - quite fun!

Got to FUDCon today after a nice semi-sleepy red-eye flight.  I was surprisingly awake for a person who has had less than 3 hours of sleep in the last 24+ hours.  As I arrived, following Max’s instructions to the Hyne’s Convention Center, an announcement.  The spins hackfest was beginning.

I quickly grabbed some coffee and an apple and headed in after Max.  Little did I know how great this fest was going to be, all 4+ hours of it.  After a good list of goals, Max handed control over to Mo and off we went.

Discussion surrounded three main stories, one for a user wanting to download a spin, one desiring to submit a spin and one for reviewers of spins.  As it turns out, developing stories for the first two were pretty easy, and just before 11, we had a good idea of how to implement applications for these two users.

However, the third story, the one for reviewing.  Yeah, that one.  Well, I guess I just need to ask one hard question.  The question I had was a simple one, but the answer is apparently much more complex, including both technical and legal questions about third-party distributions.  And while it seems like a simple distinction, I brought this upon myself, uncovering a discussion that has been going on for 2+ years now.

The biggest problem is for those spins that include software not in the fedora repositories.  How do we treat these spins?  The discussion ended up being that while hosting these spins might not be feasible, we’d like to have a way to market the spins as built on Fedora or something similar. It seems that this is a good choice, but it needs to go through legal.

After an hour long discussion about these details (which I caused), we tabled it and came up with a good list of tasks to get the project started.  Thanks to Ian Weller, there’s a good wiki page covering much of this discussion.  In fact, I have a couple of tasks to complete this week.

At the end of the day, I ended up with some Red Hat folks at Legal Sea Foods, good wine, great company.  If I wasn’t so tired, I’d have stayed much longer.  Good times…

Tomorrow’s FUDCon barcamp looks to be pretty interesting.  I plan to attend the video tools, the getting contributors and bug triage.  In addition, there will probably be a couple that will come up tomorrow morning, so we’ll se how it goes.

Cheers,

Herlo

June 12, 2008

Scott Morris
nexangelus
OpenSUSE Linux Rants
» How many ways can you install an RPM in OpenSUSE Linux?

Introduction

Package management in OpenSUSE in recent years has had its share of challenges. In OpenSUSE 10.1, the package management was an epic trainwreck. Package management in OpenSUSE 10.3 is as good as that was bad. There are various types of speed improvements. Some of them huge. There is some caching of the repository package info. Progress bars so the user knows what’s going on. All sorts of goodness.

But I wanted to see how many ways I could install a package on OpenSUSE 10.3 (and 11.0, for that matter) without any help from any third-party package management tools that don’t come stock on a fresh OpenSUSE install. Like no apt, yum, smart, etc. Just using the package management tools that come on the fresh install, how many ways can one install a package? There’s a method to this madness, too. You never know under what circumstances you’ll have what access to the machine you’re working on, especially if it is remote. One of the mantras of Linux pros is that there is four billion ways to skin a cat. OK, so I made that up. It’s good to know many ways of doing the same thing, though.

Especially if we want to automate something. If we do it one way, maybe it requires human interaction. If we do it a different way, no human interaction is required, and thus, we can automate that process.

OK, without any more excessive yammer, let’s take a look, shall we?

RPM Installation Methods

1. Use YAST - Let’s get the obvious one out of the way. Click on the YAST icon, put in your root password. In the window that appears, select SOFTWARE from the left, and SOFTWARE MANAGEMENT on the right. At some point, the YAST Package Management window appears. Search for the desired package, click ACCEPT. Approve any additional necessary packages. YAST installs everything, and asks if you want to install or remove more packages. Say no, and you’re done.

This is the classic way to install packages in OpenSUSE using YAST. One benefit is that it does a good job of resolving dependencies for you. One possible drawback is that it reauires all kinds of human interaction. So there’s our first way.

2. Use zypper - This is a powerful command-line tool used in OpenSUSE much in the same way we might use something like apt-get. To see all the ways you can use this tool, run zypper –help from a command line:

[2318][root@linux:/]$ zypper –help
  Options:
        –help, -h              Help.
        –version, -V           Output the version number.
        –quiet, -q             Suppress normal output, print only error messages.
        –verbose, -v           Increase verbosity.
        –terse, -t             Terse output for machine consumption.
        –table-style, -s       Table style (integer).
        –rug-compatible, -r    Turn on rug compatibility.
        –non-interactive, -n   Don’t ask anything, use default answers automatically.
        –no-gpg-checks         Ignore GPG check failures and continue.
        –root, -R <dir>        Operate on a different root directory.

  Commands:
        help, ?                 Help
        shell, sh               Accept multiple commands at once
        install, in             Install packages or resolvables
        remove, rm              Remove packages or resolvables
        search, se              Search for packages matching a pattern
        repos, lr               List all defined repositories.
        addrepo, ar             Add a new repository
        removerepo, rr          Remove specified repository
        renamerepo, nr          Rename specified repository
        modifyrepo, mr          Modify specified repository
        refresh, ref            Refresh all repositories
        patch-check, pchk       Check for patches
        patches, pch            List patches
        list-updates, lu        List updates
        xml-updates, xu         List updates and patches in xml format
        update, up              Update installed resolvables with newer versions.
        info, if                Show full information for packages
        patch-info              Show full information for patches
        source-install, si      Install a source package
[2319][root@linux:/]$

To install a package from the command line using zypper, you’ll do that this way:

[2321][root@linux:/]$ zypper install bzflag
* Reading repository ‘openSUSE-10.3-Updates’ cache
* Reading repository ‘openSUSE-10.3-OSS-KDE 10.3′ cache
* Reading repository ‘Jpackage’ cache
* Reading repository ‘Main Repository (NON-OSS)’ cache
* Reading repository ‘Eric Lavar - Germany’ cache
* Reading repository ‘Main Repository (OSS)’ cache
* Reading installed packages [100%]

The following NEW package is going to be installed:
  bzflag

Overall download size: 10.8 M. After the operation, additional 15.0 M will be used.
Continue? [yes/no]: yes
Downloading package bzflag-2.0.8-78.x86_64, 10.8 M (15.0 M unpacked)
Downloading: media
* Downloading [100%]
Downloading: bzflag-2.0.8-78.x86_64.rpm
* Downloading [100%]
* Installing: bzflag-2.0.8-78 [100%]
[2323][root@linux:/]$

It resolves all dependencies, and installs everything it needs. Great way to do things without so much human interaction. There are even flags that will allow us to omit human interaction entirely (–non-interactive and –no-gpg-checks). Very nice.

3. Use the rpm command - Every once in awhile, there is a package that YAST cannot find in the available repositories. When this happens, I head over to one of three places: rpmseek.com, Rpmfind, or pbone.net. In almost every case, I can find an RPM that was built for whatever version of OpenSUSE that I am using on that particular box. I just download the RPM in question, and install it with the rpm command. Many people suggest doing this in the following manner:

[2215][scott@linux:~]$ rpm -Uvh [full path to RPM here]

This is one of the possibly more difficult ways to install an RPM. Not because it’s a difficult command, but because it doesn’t resolve dependencies. If there are dependencies, you get to resolve those babies yourself. It’s possible, but I would definitely prefer a poke in the eye with a sharp stick.

4. 1-Click Install - Tell you what, one of the coolest things that OpenSUSE has come up with thus far is the 1-Click Install. At first, I thought it was an April Fool’s Joke. But realizing it wasn’t April, I decided to give it a try. To see how cool this is, head over to the OpenSUSE Build Service. Search for a package like kopete. Scroll through the results. When you find the one you want to install, click on the “1-Click Install” button off to the right side. You’ll have to verify some things and provide your root password, but other than that, it is virtually hands-off installation of the package. Hands-down easiest way to install packages in OpenSUSE.

5. Install with YAST from custom installation repository - Sometimes, you will have an rpm that you want installed, but cannot find it in YAST. You can download it and try to install it with rpm. The problem is that it has 12 dependencies. What then? Switch distributions to something more sensible? No way, we’ll just take the easy way out. Create our own repository and point YAST to that. This process is very simple.

Install the createrepo package. Then, create a directory to be used as the repository. Dump the RPM in there. Then, run the createrepo command on that directory. For example, make a directory called /my_inst_src. Throw your RPM (as hard as you can) into that folder. Then, create the repository with this command:

[2246][root@linux:/home/scott]$ createrepo /my_inst_src
1/1 - pidgin-2.4.2-5.1.i586.rpm
Saving Primary metadata
Saving file lists metadata
Saving other metadata
[2247][root@linux:/home/scott]$

Then, just add that directory as an installation source in YAST=>SOFTWARE=>SOFTWARE REPOSITORIES.

Finally, go into YAST=>SOFTWARE=>SOFTWARE MANAGEMENT and search for the RPM you placed into your new repository. You should be able to find and install it easily. The great part here is that YAST should be able to resolve the package dependencies.

Yes, there are a few steps involved here. However, you can take this concept and apply it to an entire network of desktop or server machines. Pick a repository server on your network and create your own repository on it. Then, export that repo via NFS to the rest of the network. Next, just add that repository to the other machines on the network. The great part is that you only have to add the repository to each of the other machines once. But then, instant access to install that package on any of those boxes. This particular solution has been very helpful for me on several occasions.

6. Install with zypper from custom installation repository - Same thing as the previous method. We download a stand-alone RPM that has many dependencies. So the approach will be similar. Install createrepo, make a repository directory, and put your RPM in there. Use createrepo to build your repository as demonstrated above.

Then, instead of YAST, go ahead and add your new repository using the zypper command, like so:

[2308][root@linux:/home/scott]$ zypper addrepo /my_inst_src “My Installation Source”
* Adding repository ‘My Installation Source’
Repository ‘My Installation Source’ successfully added:
Enabled: Yes
Autorefresh: Yes
URL: dir:///my_inst_src
[2309][root@linux:/home/scott]$

Make sure it was installed properly, again using zypper:

[2258][root@linux:/home/scott]$ zypper repos
# | Enabled | Refresh | Type   | Alias                                                             | Name
–+———+———+——–+——————————————————————-+———————————————————–
1 | Yes     | Yes     | rpm-md | openSUSE-10.3-Updates                                             | openSUSE-10.3-Updates
2 | Yes     | No      | yast2  | openSUSE-10.3-OSS-KDE 10.3                                        | openSUSE-10.3-OSS-KDE 10.3
3 | No      | Yes     | NONE   | http://download.opensuse.org/distribution/10.3/repo/debug/        | http://download.opensuse.org/distribution/10.3/repo/debug/
4 | Yes     | Yes     | rpm-md | Jpackage                                                          | Jpackage
5 | Yes     | Yes     | yast2  | http://download.opensuse.org/distribution/10.3/repo/non-oss/      | Main Repository (NON-OSS)
6 | Yes     | Yes     | rpm-md | Eric_Lavar_-_Germany                                              | Eric Lavar - Germany
7 | Yes     | Yes     | rpm-md  | My Installation Source                                            | My Installation Source
8 | Yes     | Yes     | yast2  | http://download.opensuse.org/repositories/openSUSE:10.3/standard/ | Main Repository (OSS)
[2259][root@linux:/home/scott]$

There it is, highlighted in red. Rock on, now we can make sure zypper finds our new package, thusly:

[2309][root@linux:/home/scott]$ zypper search pidgin
Refreshing ‘My Installation Source’
repomd.xml is unsigned, continue? [yes/no]: yes
* Building repository ‘My Installation Source’ cache
* Reading installed packages [100%]

S | Repository                                                        | Type    | Name                   | Version    | Arch
–+——————————————————————-+———+————————+————+——-
  | http://download.opensuse.org/repositories/openSUSE:10.3/standard/ | package | pidgin                 | 2.1.1-13   | i586
i | http://download.opensuse.org/repositories/openSUSE:10.3/standard/ | package | pidgin                 | 2.1.1-13   | x86_64
v | My Installation Source                                            | package | pidgin                 | 2.4.2-10.1 | x86_64
  | http://download.opensuse.org/repositories/openSUSE:10.3/standard/ | package | pidgin-bot-sentry      | 1.1.0-45   | i586
  | http://download.opensuse.org/repositories/openSUSE:10.3/standard/ | package | pidgin-bot-sentry      | 1.1.0-45   | x86_64
  | http://download.opensuse.org/repositories/openSUSE:10.3/standard/ | package | pidgin-bot-sentry-lang | 1.1.0-45   | i586
  | http://download.opensuse.org/repositories/openSUSE:10.3/standard/ | package | pidgin-bot-sentry-lang | 1.1.0-45   | x86_64
  | http://download.opensuse.org/repositories/openSUSE:10.3/standard/ | package | pidgin-devel           | 2.1.1-13   | i586
  | http://download.opensuse.org/repositories/openSUSE:10.3/standard/ | package | pidgin-devel           | 2.1.1-13   | x86_64
[2309][root@linux:/home/scott]$ 

The one we’re looking for is highlighted in red. Looks like we’re ready to go ahead and install the application:

[2313][root@linux:/home/scott]$ zypper in pidgin

If the package is so brand-new that it has dependencies that are unresolvable, obviously you’ll have problems. But for many common packages, this method works great.

As a side note, you can also set your machines up so that you don’t even need the discs to install packages. Put the DVD ISO on your machine and you can put that into YAST as an installation source. Disable the source that uses the local optical drive. Then, it will pull packages from the ISO.

Even better, you can put that DVD ISO on a server on your network. Mount it on that server, and export the mount point via NFS to the rest of the network. Go to each machine in the network. Disable the source that uses the local optical drive. Add the NFS share from the server as an installation source on each box. Then, the machines on the network will pull packages from the NFS share.

Conclusion

There are at least a handful of ways to get installed what you need installed on your box. Depending on whether you are a home user with one computer or a Linux system administrator with 100 servers, or anything in between, you’re bound to use one or more of these methods. And these methods work on both OpenSUSE 10.3 and 11.0. Have a lot of fun…

May 15, 2008

Clint Savage
herlo
Sexy Sexy Penguins » Tech
» Utah Fedora/Ubuntu Linux Release Party Outtakes

Well, usually I forget to take pictures, because either A) I forget my camera [I brought it this time] or 2) I get wrapped up in the event and forget to bring it with me.  But this release party, I plain just forgot to charge my batteries for my camera, oops!

Fortunately, I was able to snap a few pictures with some of the spare, also not fully-charged, batteries I did have on hand.  However, others took many pictures and I’ve listed them below.

To summarize the party, much celebration was had with foosball, a chess game on one of the largest chess boards around, video games, air hockey and much more was provided by CodeGreene.  The FedoraProject and Utah Open Source sponsored the food and prizes.  If you’ve never had a Chipotle burrito, they are the best burritos around.

I was able to spend time with about 5-7 people myself sharing the Preview Release of Fedora 9 (codename Sulphur) including two who had never had previous success with Fedora or Linux in general.  It was very satisfying to see things work for them.

The Ubuntu folks were there in strength as well.  The Hardy Heron (8.04) CDs were being passed out, while we Fedoran’s provided LiveUSB versions.  I even saw people taking advantage and obtaining both!  Its great to see communities come together and celebrate together.

The party continued at Salt Lake Pizza & Pasta for another couple hours.  Lot’s of talk about the releases, upcoming events, and general mayhem took place including having Heartsbane shoot beer through his nose when I swore at him!

All in all, quite a successful evening and I look forward to helping others in November at our next release party.

Cheers,

Herlo

UPDATE: Another 70+ pictures have been added, check them out!

December 14, 2007

Clint Savage
herlo
Sexy Sexy Penguins » Tech
» Distro Comparison: openSUSE 10.3 first impressions

I don’t know if I can last an entire week with openSUSE 10.3. I can’t believe I even thought it possible. I am jonesing for Fedora right now, even though any other distro would probably do…

What’s wrong with SUSE you ask? Just about EVERYTHING! I’m not comfortable at all in this rancid environment. It sucks the life right out of you. I hope some SUSE people come running to save me from this turmoil I feel as I currently hate using this distro. Here’s my first impressions: (beware, the list is rather long)

GOOD

The items below are positives and the openSUSE team deserves credit for all of their hard work in these areas.

  • Wireless works (+1)
    • My Intel wireless card from my T60p is recognized and associates with my access points
  • The nautilus-open-terminal package is enabled by default (+2)
    • This is the right-click on desktop –> Terminal option, (something severely lacking in fedora and not easily installed in a kickstart)
    • Having this feature, its very simple to get started with the terminal which is definitely needed for the power user in me
  • Install allowed me to choose not to use their grub (0) [while this is nice, if I had installed their grub, it would have wiped out my fedora grub components]
  • zypper is much improved over the previous rug (10.1) tool (+1)
    • still needs work though
    • easy to add repos compared with fedora
      • packagekit can solve much of the incontinuity in fedora
      • though its nice to have a simple gui to add repos, knowing which repos is still a bit of an exercise in futility.

Positive Score: +4

BAD

Whle there is some good in openSUSE, its apparent to me that there is much to be improved.  As noted below, many more things are in need of improvement, to put it nicely.

  • The install takes much longer than necessary (-3)
    • Still uses ugly YAST text user interface
      • YAST didn’t recognize my video driver, but could have just used the VESA driver for the gui install
    • Asks too many questions about details that could easily be simpler
    • Did not work well with other OSes (GRUB)
      • YAST installer wanted to overwrite my fedora GRUB configuration, shouldn’t Linux play well with each other in this sense?
  • One-click install is more like 10-click (-1)
    • From opensuse.org, you can do what is called a “one-click install”, and about 8-10 clicks later its installed. If its one-click, its should be one (maybe two) clicks total.
  • The initial GNOME config of openSUSE is too Windows-like (-1)
    • If I wanted my Linux desktop to look like Windows, I’d use KDE (or even run Windows)
    • It has only one bar, and at the bottom, not enough room for status apps
    • I had to add workspaces as only one was provided by default, that seems limiting
  • bluez-gnome doesn’t have hidd or any sort of recognition for my bluetooth mouse (or anyone’s bluetooth mouse, for that matter) (-2)
  • The bash prompt is ugly - (0)
    • This one is a personal preference, but its hard to tell when I am the root user and when I am not. As such, I will modify my .bashrc and fix the PS1 value
  • The wireless driver for my T60p is not the new iwl3945, but the ipw3945 proprietary from intel - (-1)
    • The open driver has been out for quite some time
    • Proprietary codecs were not easy to find, nor install (0)
      • Fedora doesn’t make this simple either really.  Yet, when I found them in Fedora they worked first try, gstreamer failed miserably several times in openSUSE
      • an attempt at a codec buddy like tool was made, but doesn’t work…
    • zypper does not inform you of the dependencies needed to install even though it reports how much it will download (-1)
      • I want to know what packages I’ll be installing before I install them

    Negative Score: -9

    Total score for day 1:  -5 OOPS - that’s not good!

    To be honest, I think I’m being very generous in some of the points I’m giving.  OpenSUSE makes it very difficult for my lifestyle so far.  I’m not sure what they can do with 10.3 to make it better, but I’d like to hear comments and suggestions on ways to help.

    I’m sure hoping that day two will be better.  I’m already starting my list and will be testing such things as; video, development, lvm, raid, kvm/xen virtualization and much, much more.  As I continue to suffer through this bluetoothless mouse world openSUSE has created for me.

    Cheers until tomorrow,

    Herlo

    December 13, 2007

    Clint Savage
    herlo
    Sexy Sexy Penguins » Tech
    » A New Series: Distro Comparisons, with Flair!

    Its been a little couple weeks since I posted anything useful in my Program of the Week (POW) series. And while I still plan to keep that up in the near future, I am going to be doing a new series, Distro Comparisons, with Flare!

    My plan is to install the other two major distros of Linux (OpenSUSE and Ubuntu) and compare them with Fedora, my favorite distribution. I’ll be comparing them on installation, features, tools and any other thing that I regularly use in my day-to-day life. Once the distros are all installed (in a triple-boot, no less), I’ll be keeping each one for a week at a time over the next few months.

    Over each week, I’ll write down things that are awesome, good, bearable, or just plain bug me, and each will get a score. To be fair, I’ll make sure to rank them with a maximum of +5 and a minimum of -5. Its possible that a negative score can happen, but I expect that this will not be the case for any of the distros.

    Anyway, wish me luck on my triple-boot installs and my future blogging with these comparisons. I also hope this will enlighten others about the options available in each of the distros and encourage the developers to continue to improve the usability and functionality of their particular distribution.

    Tonight, I’ll be installing and setting up OpenSUSE 10.3 and running it for the next week. During the holidays, I’ll be taking a bit of a break, so blogging might be a bit slower. In early January, I’ll install Ubuntu Gutsy (7.10) as well. See you all on the flip side.

    Cheers,

    Herlo

    November 14, 2007

    Clint Savage
    herlo
    Sexy Sexy Penguins » Tech
    » POW: Bluetooth Improvements in Fedora 8

    The POW is going to be the improvements made in the Bluetooth functionality in Fedora 8. I’m actually quite impressed with it as its been a bit of a challenge to keep my little mouse connected in the past.

    Fedora 8 provides a new extended technology with its bluez-gnome package. In fact, the simplicity of it is that I only have to be able to click and approve a new device.

    When I first turn on my bluetooth mouse and start to move it around, it doesn’t work, but up in the top right hand corner of my GNOME desktop is the bluetooth manager. It has a message for me:

    bluetooth-authorize.png

    The message indicates a click to authorize the device, namely the bluetooth mouse. (One note here, I was originally unable to use my touchpad, so I had to resort to other tactics [not pretty] to enable my mouse. Probably ought to have some other options available instead of clicking.)

    Clicking on the notification window above brings me to an authorization window.

    bluetooth3.png

    At this point, authorization is quite simple. Click yes for a one time authorization of the mouse (Note the Bluetooth Travel Mouse indicated in the description), and to authorize it more permanently, choose Always Grant Access.

    That’s it. My Bluetooth mouse is now enabled and working. I’d say this is much friendlier than what I used to have to do, including running hidd –connect <bluetooth id> after pressing the little connect button on the bottom of the mouse. This is sure nice now!

    Its possible, that at some point, disconnecting the device might be necessary. To do this, right-click on the nice little Bluetooth logo at the top right of your screen.

    bluetooth5.png

    Choose Preferences. Up pops the Bluetooth Preferences window. From this window, three tabs are available. In the first (and also selected) tab, there is a section at the bottom of the window which lists the devices that are currently bonded and/or trusted. Choose the device from the list and then the appropriate action. The choices are Disconnect, Trust or Delete.

    bluetooth4.png

    In addition to just configuring your devices, it appears it might be possible to do things like Bluetooth DUN with a Treo, or enable data synchronization between laptops. One thing I’ve always wanted to try is to get my bluetooth headset working so I could do Skype or Asterisk phone calls through my headset, to my computer and out through the service.

    Cheers,

    Herlo

    November 10, 2007

    =Utah Open Source=
    Utah Open Source
    The Utah Open Source Foundation
    » One Last Reminder - MDRP Today!

    If you’ve been hiding under a rock, or ignoring posts lately, this is a good time to read.  Later today will be the Multi-Distro Release Party. Ubuntu (Gutsy Gibbon), Fedora (Werewolf) and OpenSUSE (10.3) will be available via network install.  CDs and DVDs for all three distributions, and possibly others, will also be available.  Come and enjoy the festivities!

    Map: http://tinyurl.com/yprnqr
    When: Saturday (Today!), November 10, 2007 1pm-5pm MDT
    What: Installfest, pizza, drinks and more.

    Cheers,

    Clint Savage
    The Utah Open Source Foundation, Open Source for Utah, and the world!


    Clint Savage
    herlo
    Sexy Sexy Penguins » Tech
    » Werewolf (Fedora 8) Upgrade in 3 Easy Steps Using yum

    Recently, there was a request in one of my comments on this post. The request was for an easy way to upgrade from Fedora 7 to Fedora 8. So I took this on as a bit of a challenge. I feel pretty comfortable with yum and I thought it would be a good and easy task.

    A bit of warning here, make sure your current Moonshine ( Fedora 7 ) release is update by running yum update. Also, it is recommended that backups be made of files being modified. If you don’t backup the file, it may be impossible to fix in the future. YOU HAVE BEEN WARNED

    Let’s upgrade Moonshine ( Fedora 7 ) to Werewolf ( Fedora 8 ) in three easy steps:

    First things first, lets print out some version info:

    $ cat /etc/*release
    Fedora release 7 (Moonshine)
    Fedora release 7 (Moonshine)
    $ uname -r
    2.6.23.1-21.fc7

    Its easy to tell that this machine is indeed using Moonshine ( Fedora 7 ), so let’s upgrade!

    Step 1 - Modify the yum repo files

    Located in /etc/yum.repos.d directory are where the yum repository files are stored. We need to modify one line so that yum will know where to look:

    $ su -
    # vim /etc/yum.repos.d/fedora.repo

    Find the first line that starts:

    mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch

    and change it:

    mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-8&arch=$basearch

    What changed? Well, the $releasever value is the current value for our version of fedora, in this case 7. By changing it to 8, it’ll load the correct repositories for Werewolf (F8) instead of Moonshine (F7). Save the file, and now we’re ready to move onto the next step.

    Step 1 (Alternate)

    Since posting this, I’ve learned that another option is available. To update the repositories, its possible to install an rpm to accomplish the same as above and it won’t require Step 3.

    Choose your mirror from http://mirrors.fedoraproject.org. I picked University of Oregon’s site because it was close to me.

    # rpm -Uvh \
    ftp://ftp.osuosl.org/pub/fedora/linux/releases/8/Everything/i386/os/Packages/fedora-release-*.rpm

    Your ftp/http line here may be different, that is fine. This command installs the updated repositories for Werewolf ( Fedora 8 )

    Step 2 - Upgrade

    In this step, we just need to run (as root):

    # yum update
    fedora               100% |===============| 2.1 kB   00:00
    primary.sqlite.bz2   100% |===============| 4.9 MB   00:03
    Setting up Update Process
    Resolving Dependencies
    .. snip ..

    A few prompts will appear, after the repository data is loaded, a list of several hundred megs (possibly a gigabyte or more) of packages will be ready to install. This is the moment of truth.

    Transaction Summary
    ============================
    Install     88 Package(s)
    Update     836 Package(s)
    Remove       1 Package(s)
    
    Total download size: 1.0 G
    Is this ok [y/N]:

    Start the download of over 800 packages (in my case) and install and update your system. If you feel a bit of trepidation, I concur. Its still exciting though, isn’t it?

    Is this ok [y/N]: y

    Now aren’t you excited! In about 30-45 minutes, you’ll have a newly upgraded Werewolf ( Fedora 8 ).

    Downloading Packages:
    orca-2.20.0.1-1. 100% |=========================| 1.5 MB    00:01
    .. snip ..

    Step 3 - Cleanup and Reboot

    Welcome to your new Werewolf. Treat it wisely. First things first though, we need to clean up our editing from step 1:

    # vim /etc/yum.repos.d/fedora.repo

    Find the first line that starts:

    mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-8&arch=$basearch

    and change it:

    mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch

    Save the file, or if you prefer, copy the backup you made over the modified repo file.

    In addition, there are some items that aren’t in Fedora 8 the same way they were in Fedora 7. For these, read this guide. I didn’t have these problems myself, ymmv.

    To get the newly updated kernel and all the new goodness of Werewolf, a reboot is necessary. Enjoy your new Lycanthrope on the flip side.

    Cheers,

    Herlo

    November 7, 2007

    Clint Savage
    herlo
    Sexy Sexy Penguins » Tech
    » POW: Codec Buddy

    This week’s Program of the Week is a bit ahead of its release. The package is Codec Buddy, and is currently slated for release in Fedora 8 tomorrow.

    Codec Buddy, with a little help from the Fedora and Fluendo development teams has grown into something that could be great. I see Codec Buddy really helping those who want to use and play non-free media sources from within Fedora. If you are currently running rawhide, you probably already know about this, but very soon, many other people will start to understand how Codec Buddy works as well.

    One of the goals of the Fedora Project is to be free of any proprietary software. Though I don’t see that many people using Fedora without at least a few proprietary components, media codecs, drivers, etc. Maybe one day…we can always hope.

    To that end, I am a big media buff. I regularly watch TV shows and movies that use proprietary codecs. As an example, most people don’t realize that using the reverse engineered DVD encoding provided by DVD Jon could be considered illegal. Fedora doesn’t want to be encumbered by these risks, and truthfully, I don’t blame them one bit. Considering that my backlog of mp3s and DVD rips will require an additional bit of software not normally included with Fedora, I think this is a great software solution. Give the user what they want without compromising the integrity of the project.

    Codec Buddy is provided to help the average Joe understand the world of media formats. Its job was originally to provide a short description of why Fedora doesn’t include this in its distribution. Then point to where one might find more information about these formats. Codec Buddy has been altered a little, but attempts to accomplish the same thing using the Fluendo website.

    Fluendo is the company that employs many of the individuals that work on the gstreamer project. Its quite a noble project, providing media codecs (installable formats) for many of the audio and video we like to use every day. Its great to have open source companies like Fluendo helping open source grow.

    Codec Buddy works by launching a small application when someone tries to access a media codec not currently on the system. For instance, I’ve attempted to play a show I’ve downloaded.

    Launch Totem

    Opening Totem

    Open the file

    Opening a media file

    Start the video

    Start the video

    As the video attempts to play, a prompt appears, indicating the media isn’t supported. Codec buddy then provides a few options to enable playback for this particular media format.

    Choose your codec wisely, young padawan

    The available items are MP3 Audio Decoder, MPEG Playback Bundle and MPEG4 Part 2 Video Decoder. By default only the MP3 Audio Decoder, which is also the only codec that will be installed without payment, is checked. The other two codecs are available for a small fee, which helps Fluendo to provide these codecs.

    Clicking the “Get Selected” button will immediately start the download of the MP3 Audio Decoder (if it was selected).

    Downloading the MP3 Codec

    A license agreement then appears, make sure to read this and if you agree, click Accept.

    Agreement

    Once the agreement is complete, its time to purchase the remaining codecs. Choose Start Web Browser and in a few moments, the Fluendo website should appear. This should allow you to purchase the remaining codecs needed for the video I want to watch.

    Open Web Browser

    The Fluendo website has a good list of available codecs beyond the choices available in Codec Buddy.

    Fluendo website

    The purchase will seem similar to many others on the web, add things to the cart, and pay.

    Fluendo is a good start. I’m sure there will be many people interested in purchasing these codecs here. However, I believe however, that the biggest problem is that most people can get these codecs for free on Windows, Mac and even other Linux distributions. So far, the thing I feel is missing here is the explanation for why charge for these codecs and who benefits.

    Fluendo is a great resource and provides some kick-ass codecs. If there is no explanation as to why we need to pay for something that one can get for free. Potential customers who don’t understand the reasoning behind it might go elsewhere, or worse even, choose another distro or operating system.

    I love fedora for the freedom it gives me to choose my path. I love fedora for its focus on making sure things are free and open, both monetarily and in liberty. I love fedora for trying things like Codec Buddy, I want it to succeed. I hope that with a few suggestions, both fedora and Fluendo can make Codec Buddy the informational tool that it was originally intended.

    Cheers,

    Herlo

    November 6, 2007

    Clint Savage
    herlo
    Sexy Sexy Penguins » Tech
    » Thoughts on the Fedora Upgrade - Part 1

    So its been a whole two days since I upgraded to Werewolf. I love it! Most everything works out of the box (OOTB), wireless, bluetooth, even suspend/resume seem to be possible for the first time!

    But one of the oddities I encountered while upgrading was the names of the packages. Mind you, this is just my twisted mind being interested in some of the funny odd or strange package names I found while the yum upgrade was taking place.

    So here’s the list anyway, with a short description of each. Enjoy:

    • gwenhywfar - A multi-platform helper library for networking and security applications and libraries.
    • meanwhile - Lotus Sametime session functionality.
    • neon - An HTTP and WebDAV client library.
    • coolkey - Linux Driver support for the CoolKey and CAC products.
    • rarian - Designed as a replacement for scrollkeeper; A documentation meta-data library.
    • openjade - An implementation of the ISO/IEC 10179:1996 standard DSSSL.
    • sox - (Sound eXchange) is a sound file format converter.
    • cadaver - A command-line WebDAV client.
    • booty - Small python library for use with bootloader configuration.
    • orca - A flexible, extensible, and powerful assistive technology.
    • zenity - Lets you display Gtk+ dialog boxes from the command line and through shell scripts.
    • eog - Eye of GNOME (EOG) is an image viewer.
    • gok - Enables users to control their computer without relying on a standard keyboard or mouse, leveraging GNOME’s accessibility framework
    • devilspie - A window-matching utility.*

    This information was gathered using the command ‘rpm -qi <packagename>’.  This provided enough information to help understand at least the basics of each of these packages and whether to consider using them in the future.

    The packages in italics above are packages that I consider interesting, and I plan to attempt to blog about each of them in turn as part of my POW series.

    The devilspie package has a * which means that I’ve used this program before.  I quite enjoyed using the Devil’s Pie, and plan to take a look at it again in Fedora 8 as the previous package had some real limitations and lacked needed flexibility.

    Please watch for the upcoming articles on these utilities.  Also, if there are packages that you found interesting during your upgrade, please comment and let me know what they are so I can learn and possibly use them as well.

    Cheers,

    Herlo

    November 5, 2007

    Clint Savage
    herlo
    Sexy Sexy Penguins » Tech
    » Upgraded! Fedora 8 (Werewolf) is installed!

    And so the saga continues!

    Transaction Summary
    =============================================================================
    Install     98 Package(s)
    Update    1092 Package(s)
    Remove       2 Package(s)
    
    Total download size: 1.3 G
    Is this ok [y/N]: y

    Resulted in:

    $ cat /etc/*release
    Fedora release 8 (Werewolf)
    Fedora release 8 (Werewolf)
    Fedora release 8 (Werewolf)

    I did have a few problems, mostly things that were from non-fedora repositories. Once I cleared those up, all went well. Fedora 8 is beautiful.

    A couple things to note. My ATI drivers seemed to stay in place and as horrible as ever for dual displays. I’m going to be trying xrandr as soon as I can find the open ATI drivers. Another is that I love to use vlc, but its in the livna repository and currently requires python 2.4, but Werewolf uses python 2.5. I guess I’ll have to get the src.rpm and rebuild it with python 2.5 as the requirement. I also noted that my mouse pad is currently not working, I’ll have to find out why the synaptics drivers stopped working.

    Update: I’ve decided it might be useful to at least include a couple cool pictures of the new theme, so here you go.

    fedora8-background.png   fedora8-gimp.png   fedora8-rsyslogviewer.png

    Cheers,

    Clint

    November 4, 2007

    Clint Savage
    herlo
    Sexy Sexy Penguins » Tech
    » Upgrading to werewolf

    Wish me luck. I’ve decided to take the plunge and upgrade to werewolf tonight. After reading Max Spevack’s post about how to upgrade to Fedora 8, this post from Will Woods stating that Rawhide is now ready to go and of course the current code freeze for this Thursday’s release, I think its time to upgrade.

    In fact, I plan for Fedora 9 to do this much earlier so I can help test the release. I post here and now to make sure that commit to helping the Fedora Project squash bugs for Fedora 9. I’ll accomplish this by installing it at Test 1 and actually report bugs as I find them.

    Wish me luck with this upgrade and my future endeavors. I think its a good cause and a great way to get further involved with the community.

    Cheers,

    Herlo

    October 31, 2007

    Clint Savage
    herlo
    Sexy Sexy Penguins » Tech
    » POW: Yum installation by groups

    The second in the Program of the Week (POW) is here.

    Yum, the Yellowdog Updater Modifer, has a very interesting feature. One which you might find useful if you want to install an entire set of packages for say a new “Windows File Server”.

    Yum provides this feature right out of the box these days, and its quite a nice feature. SUSE 10.1 has rug which is a very similar feature, called bundles. I would guess that Ubuntu either already has this feature, or will in the near future.

    So how does installation by groups work? Pretty simple really, first we must learn a few new options in yum:

    First is “grouplist”. Grouplist will tell you which groups of packages you have installed and which ones haven’t been installed.

    $ yum grouplist
    Setting up Group Process
    
    Installed Groups:
      Office/Productivity
      Engineering and Scientific
      .. snip ..
    
    Available Groups:
      .. snip ..
    
      Windows File Server
      .. snip ..
    
      Development Tools
    Done

    In my case, you can see that I’ve not yet installed “Windows File Server”. Interestingly enough, I’m not sure what’s in that group of packages, so its time to check:

    $ yum groupinfo "Windows File Server"
    Setting up Group Process
    Group: Windows File Server
     Description: This package group allows you to share files
     between Linux and MS Windows(tm) systems.
    
     Mandatory Packages:
       samba
       samba-client
     Default Packages:
       system-config-samba

    Wow, quite a few packages, there’s also some good information here. We now know that there are 10 optional packages and 1 conditional package that can be installed. To get the details on any of these packages, yum can tell us:

    $ yum info samba
      .. snip ..
    
    Available Packages
    Name   : samba
    Arch   : i386
    Version: 3.0.26a
    Release: 0.fc7
    Size   : 3.1 M
    Repo   : updates
    Summary: The Samba Suite of programs
    Description:Samba is the suite of programs by which a lot of
    PC-related machines share files, printers, and other
    information (such as lists of available files and printers).
    The Windows NT, OS/2, and Linux operating systems support
    this natively, and add-on packages can enable the same thing
    for DOS, Windows, VMS, UNIX of all kinds, MVS,
    and more..

    Yum informs us that the “samba” package is useful for setting up file sharing between Windows and Linux. Other packages from the list above will also be installed so we’ll get to play with some of those as well. If desired, ‘yum info’ can be run for each of the packages found in the grouplist. However, for us, lets move on and install the group of packages:

    $ su -# yum groupinstall "Windows File Server"
    .. snip ..
    
    ============================================================
    Package               Arch    Version        Repo      Size
    ============================================================
    Installing:
    system-config-samba   noarch  1.2.52-1.fc7   updates  287 k
    Installing for dependencies:
    samba                 i386    3.0.26a-0.fc7  updates  3.1 M
    Transaction Summary
    ============================================================
    Install      2 Package(s)
    Update       0 Package(s)
    Remove       0 Package(s)
    
    Total download size: 3.4 M
    Is this ok [y/N]:

    At this point, we need to choose whether we’re going to install the 2 packages that will enable samba for us. Hitting enter will answer no, so we need to type a ‘y’ and hit enter. The packages are then downloaded, and installed:

    Is this ok [y/N]: y
    Downloading Packages:
    (1/2): system-config-samb 100% |=============| 287 kB  00:00
    (2/2): samba-3.0.26a-0.fc 100% |=============| 3.1 MB  00:02
    Running rpm_check_debug
    Running Transaction Test
    Finished Transaction Test
    Transaction Test Succeeded
    Running Transaction
    Installing: samba                 ################## [1/2]
    Installing: system-config-samba   ################## [2/2]
    Installed: system-config-samba.noarch 0:1.2.52-1.fc7
    Dependency Installed: samba.i386 0:3.0.26a-0.fc7
    Complete!

    As you can see, its pretty nice to be able to install a group of packages together, letting yum do the work to figure out the details. In another article in the near future, I’ll cover how we create these relationships and build a back end yum server from the ground up.

    Cheers,

    Herlo

    October 21, 2007

    Clint Savage
    herlo
    Sexy Sexy Penguins » Tech
    » Firefox - My Addons/Extensions

    Thanks to the great “Extension List Dumper” extension, I’m happy to share with all of you my favorite extensions and a short little bit about each of them.

    Adblock Filterset.G Updater 0.3.1.2/Adblock Plus 0.7.5.3

    This is a great extension for blocking ads. Using the Filterset.G component provides me with automatic updates which tell Adblock Plus which pictures are ads and which are valid content. I quite enjoy this one and don’t get the flashing ads nor do I get the buzzing bees anymore :)

    Download Statusbar 0.9.5.1

    synic saw this tonight and asked me what it was. I run Download Statusbar in “Mini Mode” and never use the standard download dialog provided from Firefox. If you prefer to show all of your downloads near the status bar at the bottom, the Download Statusbar is for you.

    FireGPG 0.4.3

    FireGPG provides me with a quick and easy way to use my gpg keys. I can sign, verify, encode and decode messages in my gmail by clicking the extra options this extension gives me. I’m sure it works in Yahoo! Mail and others as well. I regularly get mail that is signed with someone’s gpg key, this is very nice for that reason.

    Foxmarks Bookmark Synchronizer 1.0.1

    Foxmarks is in my opinion the best bookmark synchronization tool. Google has one, other people have one, but Foxmarks gives me something that those others just can’t. I get the ability to manage all of my bookmarks from the safety and security of the extension itself. Setting up the account, updating and synchronizing can all be done from within my Firefox browser. I don’t have to go to a web page and agree to terms, it just works.

    Morning Coffee 1.26

    I use this feature off and on though I really like its concept. When you add this extension, you get a little coffee mug up near your search box. Every day when you open your firefox, it will automagically load your chosen sites into the browser for you. Customizations can be made for each day, weekends and the whole week IIRC. Its a great little extension.

    StumbleUpon 3.11

    If you’ve never used StumbleUpon, you’re missing out. This extension provides you with hours of entertainment. Think of it as social networking on crack! You’ll be so addicted to “stumbling”, that by the time you get tired of it, you realize its morning. I absolutely love the StumbleUpon extension.

    TinyUrl Creator 1.0.4

    If you’ve never been to tinyurl.com, check it out, but this little plugin will help you make long web links into short, manageable ones you can give to your friends. Never again will you have to copy and paste http://maps.google.com/maps/ms?ie=UTF8&hl=en&msa=0&msid=111843562736606607846.000001132f1a80671132d&z=13&om=1 but rather http://tinyurl.com/3bx3yv. Now isn’t that so much better?

    I’ve recently discovered a couple more that I find interesting. I’ll report back to you all when I’ve tested them out, but here’s a quick list for your enjoyment:

    ScribeFire - Blog from Firefox

    Firefox Showcase - Hit F12 to show a quick preview of all of your tabs. Reload and browse here too if you like.

    What are your favorite extensions. What ones did I miss? I’d love to hear from you about some that will make my Firefox even better!

    Cheers,

    Herlo

    October 11, 2007

    Clint Savage
    herlo
    Sexy Sexy Penguins » Tech
    » Fedora 8 Test 3 Released

    I’m loving this, 4 distros released within one month. Of course fedora is one of them! Fedora 8 Test 3 came out last Thursday, and I’ve been playing with it a little.

    It has a nice new look and feel, some cool new features including CodecBuddy, OnlineDesktop and improvements in Bluetooth, NetworkManager and PulseAudio (improved sound quality).

    I’m really excited to see all of the talk about these cool new features and looking forward to helping you all install this great wonderful distro (along with Ubuntu, OpenSUSE and OpenBSD) on November 10 at the Multi-Distro Release Party at the OSTC.

    I’ve also included a few screenshots for the curious onlooker:

    Fedora 8 Installation - Beginning Fedora 8 Installation - Formatting

    Cheers,

    Herlo

    May 31, 2007

    Clint Savage
    herlo
    Sexy Sexy Penguins » Tech
    » Fedora 7 is Live!

    As of 8 AM MDT, Fedora 7 is available!

    There are several to choose from so choose wisely. This Fedora is one of the largest undertakings by the Fedora Project. Here are just a few things you’ll get with Fedora 7:

    • CD Creation Tools - Build your own custom Fedora CD/DVD with its own rpms and cateogories
    • Live CD for both GNOME and KDE - Something cool to give away to somebody who has never tried Linux. Or use it for rescuing a machine.
    • KVM Virtualization - A new way to make multiple operating systems run on your box.
    • Tickless Kernel - Better power consumption for laptops.
    • Extended wireless functionality - My wireless card will work now, yea!!!

    There are many more than what are listed here. Go out and get your Fedora 7 today. There are two ways you can get the release, one by internet:

    http://fedoraproject.org/wiki/Distribution/Download — Currently, down. Keep trying!
    http://torrent.fedoraproject.org - Currently working.

    Or you can come to the release party tonight, where I’ll be demonstrating (hopefully) many of these cool features. You can find that announcement:

    http://www.utos.org/2007/05/29/utah-open-source-the-open-source-technology-center-and-fedora-7/

    And the map to the event:

    http://tinyurl.com/25394b

    Hope to see you with your sparkling new Fedora 7 box very soon.

    Cheers,

    Herlo

    May 19, 2007

    Clint Savage
    herlo
    Sexy Sexy Penguins » Tech
    » Thunderbird 2.0 - Fedora Core 6

    So, I recently installed Thunderbird 2.0 on my Fedora Core 6 box. Here is what I did to get it working:

    # yum --enablerepo=development list thunderbird
    . . . snip . . .
    Available Packages
    thunderbird.i386 2.0.0.0-1.fc7 development

    # yum -y --enablerepo=development update thunderbird
    . . . snip . . .
    Updated: thunderbird.i386 0:2.0.0.0-1.fc7
    Complete!

    The great thing is Thunderbird 2.0 comes with some really cool features which I have completely enjoyed:

    • Save searches as folders
    • Type as you go search in the message body
    • GMail and .mac accounts in two clicks
    • Custom message tags

    This is also fun to write as a comparison to the Thunderbird installation on Ubuntu.  I thought you’d like to hear the experience from another side.

    Cheers,

    Herlo