分类: LINUX
2008-06-29 09:14:40
This howto covers installing the windows media codecs for use on Fedora.
The "all" codec pack from mplayer is normally the best option. You may choose to install which ever you would like. There is also a win32 only pack. This howto covers installing the "all" codec pack. There are also other mirrors for the codec pack(s) so if one does not work, try another. The following is an example way to install the "all" pack as root:
cd /tmp
wget codecs/all-20071007.tar.bz2
tar -jxvf all-20071007.tar.bz2
su -c 'mkdir -p /usr/local/lib/codecs'
su -c 'cp all-20071007/* /usr/local/lib/codecs'
rm -rf /tmp/all-20071007*
This step is not required but might help some users to fufill their needs for the codecs when trying to use them from other applications.
su -c 'ln -sf /usr/local/lib/codecs /usr/lib/codecs && ln -sf /usr/local/lib/codecs /usr/local/lib/win32 && ln -sf /usr/local/lib/codecs /usr/lib/win32'