This question is asked again and again. Why Linux don't support mp3, allow watching DVDs and selected wifi cards out of the box?
Short answer - copyright/IP laws prevent shipping all these software(s) and technologies/plugins with each Linux distribution. However some distribution comes with all these goodies but they are not free (try Linspire, which is not free but support is included for many common software). You need to purchase a subscription.
In the United States and many other countries, companies or developers or manufacturers must pay patent royalties to use an MP3 player or MP3 Encoder or Windows movie decoders. There is also conflicts between patent licenses and the licenses of application source code, so mp3 support is not provided out of box. This has been done for legal reasons. No one wants to get sued for breaking patent laws.
Most of these drivers are "restricted" because they are not available under a completely Free licence.
In short GNU/Linux and other distro try to follow rule:
- If something is proprietary, it cannot be included in Linux
- If it violates United States federal law (most popular distros are manufactured in USA), it cannot be included in Linux
- Patent-encumbered software etc
Following packages/drivers/encoder are not includes in most distros:
=> Nvidia /ATI graphics card
=> Vmware player kernel modules
=> Wifi chipsets
=> MP3 Support
=> Real Media and Player
=> CSS encrypted DVDs (DVD Playback)
=> SUN JAVA
=> Adobe Flash Player etc
The patent holder is not ready to give an unrestricted patent grant, as required by the GPL license. To get mp3 support for your distribution you must use third party repositories (or vendor site) to download application.
So how do I get working mp3 and other stuff?
You need to download RPM files or add selected repositories to your distributions. Following list summaries the work around for popular distribution:
Use apt-get to install required software. However you may find Debian-multimedia repo good to install few codecs.
Add debian-multimedia.org repositories to your /etc/apt/sources.list file:
# vi /etc/apt/sources.list Append following line:
deb http://www.debian-multimedia.org sarge mainOR
deb http://www.debian-multimedia.org stable mainJust update all packages list:
# apt-get update
Use apt-get command to install multimedia packages such as mp3 players, DVD players etc.
=> Download and more information available at debian-multimedia
Use Automatix which is a graphical interface for automating the installation of the most commonly requested applications in Debian based linux operating systems. See how to install and use automatix to run mplayer music player
For Intel Centrino wifi card and other graphics card you need to use Ubuntu binary only package called linux-restricted-modules. Common modules are:
=> nvidia-glx/ATI graphics card
=> Wifi chipsets etc
Most of above are restricted formats and as an end user you need to download and install them on Linux desktop system.
Under Ubuntu Linux linux-restricted* package is installed by default. You can always update this package to get bug fix and stability via update manager or type following commands:
$ sudo apt-get update
$ sudo apt-get install package-name
$ sudo apt-get install linux-restricted-modules-x.x.xx
Always use latest kernel. Replace x.x.xx with your kernel version number. Use uname -r to find out kernel version. If kernel version number is 2.6.17 use package name linux-restricted-modules-2.6.17
Fedora Core (Red hat and friends)
Dag's RPM/ RPMforge.net repositories provides support for following Linux distributions:
- Red Hat Enterprise Linux
- Fedora Core
- Old Red Hat Linux
- Yellow Dog Linux
- Aurora Linux
- Scientific Linux
- WhiteBox Linux
See how to play mp3 under Fedora Core Linux.
Don't forget to check out your distributions help documentation and official forum/mailing list :)
Please note that I am not a lawyer but just trying to answer a question which is asked by new Linux desktop users again and again. Hope this small how to provide answer and work around. If you have a better solution or thoughts on how we can help to solve this problem please comment back :)
Other possible solutions
- Mp3 licensing FAQ
- The Unofficial Fedora FAQ provides workaround for mp3 and other restricted format under Fedora Core
- Unofficial Ubuntu Starter Guide provides workaround for mp3 and other restricted format under Ubuntu Linux
- OpenSuse restricted formats wiki page and suggestion for restricted formats
- Automatix Download
Updated for accuracy.
- 30 Handy Bash Shell Aliases For Linux / Unix / Mac OS X
- Top 30 Nmap Command Examples For Sys/Network Admins
- 25 PHP Security Best Practices For Sys Admins
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- Linux: 20 Iptables Examples For New SysAdmins
- Top 20 OpenSSH Server Best Security Practices
- Top 20 Nginx WebServer Best Security Practices
- 20 Examples: Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors
- 15 Greatest Open Source Terminal Applications Of 2012
- My 10 UNIX Command Line Mistakes
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- The Novice Guide To Buying A Linux Laptop