Feeds

The Reg guide to Linux, part 3

Media playback and the no.1 thing to remember

  • alert
  • submit to reddit

The essential guide to IT transformation

Getting down to it: Flash, Java, MP3 and so on

First, you need to tell APT to refresh its memory – to fetch the latest list of packages from the repositories. Type:

sudo apt-get update

The "sudo" command means to do this command as the SuperUser – that is, as the administrator. It'll ask you for a password; just enter your own. You'll see rows of text go past as it gets the latest info. Next, type:

sudo apt-get dist-upgrade

This will upgrade all installed software – operating system, apps, the lot – in one go. It's like Microsoft Update on steroids, only it does all your third-party apps as well. If it finds everything is already current, it will say: 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

That's a good sign. Otherwise, it will ask you for permission to continue – just say yes to everything. If you're really keen, you can manually do this yourself every day, but there's no real need – Ubuntu's update manager will check daily for you and pop up and tell you if updates are available. (This, incidentally, is one of the areas that Ubuntu and its relatives score over rivals such as Mepis and PC-LinuxOS.)

Now onto the real stuff: installing those nasty proprietary (or semi-proprietary) bits and bobs that power the fun bits of the web and so on.

sudo apt-get install ubuntu-restricted-extras icedtea6-plugin

This installs two packages, but APT automatically sucks in dozens of other requirements: the installer for the latest Adobe Flash player, Java, support for MP3, MP4 and more.

You have to admit, it's a lot easier than going to Adobe.com, downloading the Flash installer, running it, then going looking for MP3 codecs, downloading them, installing them, then video codecs – and all that.

That's it. Your copy of Ubuntu can now play MP3 or rip CDs to MP3, display web pages with Flash and Java, handle most common video formats and more.

Finally, there are a few things that are good to have, but aren't legal in some parts of the world – for instance the USA, due to the DMCA. This means have to look outside the Ubuntu standard repositories. We probably ought to insert a disclaimer here: check if you're allowed to do naughty things like watch DVDs on your own Linux computer in your country before continuing.

The easiest way to get this code – and several other useful extras – is by adding a new repository from a project called Medibuntu. The Medibuntu instructions are on the site, but in brief, copy this and paste it into your command prompt:

sudo wget --output-document=/etc/apt/sources.list.d/medibuntu.list http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list && sudo apt-get --quiet update && sudo apt-get --yes --quiet --allow-unauthenticated install medibuntu-keyring && sudo apt-get --quiet update

After this, you can just install the last few bits:

sudo apt-get install app-install-data-medibuntu apport-hooks-medibuntu libdvdcss2 w32codecs

This adds entries for the new toys in the GUI, but more importantly, DVD support and the Windows media codecs. (If you're running 64-bit Ubuntu, use "w64codecs" instead.) Ideally, read the instructions on the Medibuntu site.

That's about it. By typing – or copying-and-pasting – just five lines, you've installed all the media codecs and components for Ubuntu to be a fully-fledged citizen of the 2010 Interweb and got past the problems that put most people off it. You should find that even locked-down stuff like Quicktime movies will play seamlessly in Firefox.

Final reminder

Apart from this stuff, remember, when it comes to doing stuff that you know how to do on Windows, don't try the same method on Ubuntu until you've had a quick look at Google to see whether it's the appropriate method.

It doesn't take long to adjust. Give Ubuntu a go for a few weeks and you may well find you don't want to go back to Windows. ®

Secure remote control for conventional and virtual desktops

More from The Register

next story
The Return of BSOD: Does ANYONE trust Microsoft patches?
Sysadmins, you're either fighting fires or seen as incompetents now
Munich considers dumping Linux for ... GULP ... Windows!
Give a penguinista a hug, the Outlook's not good for open source's poster child
Intel's Raspberry Pi rival Galileo can now run Windows
Behold the Internet of Things. Wintel Things
Linux Foundation says many Linux admins and engineers are certifiable
Floats exam program to help IT employers lock up talent
Microsoft cries UNINSTALL in the wake of Blue Screens of Death™
Cache crash causes contained choloric calamity
Eat up Martha! Microsoft slings handwriting recog into OneNote on Android
Freehand input on non-Windows kit for the first time
Linux kernel devs made to finger their dongles before contributing code
Two-factor auth enabled for Kernel.org repositories
prev story

Whitepapers

Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Top 10 endpoint backup mistakes
Avoid the ten endpoint backup mistakes to ensure that your critical corporate data is protected and end user productivity is improved.
Top 8 considerations to enable and simplify mobility
In this whitepaper learn how to successfully add mobile capabilities simply and cost effectively.
Rethinking backup and recovery in the modern data center
Combining intelligence, operational analytics, and automation to enable efficient, data-driven IT organizations using the HP ABR approach.
Reg Reader Research: SaaS based Email and Office Productivity Tools
Read this Reg reader report which provides advice and guidance for SMBs towards the use of SaaS based email and Office productivity tools.