Squeezebox Setup

Installing LAME

Faad (required to stream m4a files) now comes with Squeezecenter (7.3.3 and greater). If you want to install it seperately you can but it’s not necessary. With that in mind it’s not on this page any more.
Before installing squeezecenter we need to install Lame – to decode mp3 files. The easiest way to do this is to add a repository with Lame in it, and use yum to install the approprate packages. So first lets install the repository – this involves installing the repository key, and adding the repository to the yum config. To install the key:

[root@tranquilpc ~]# rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt

Next we can download the repository package, and check it against the key (making sure we are in our home directory first with a cd by itself):

[root@tranquilpc ~]# wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.i386.rpm
--2010-03-13 16:25:18-- http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.i386.rpm
Resolving packages.sw.be…
Connecting to packages.sw.be||:80… connected.
HTTP request sent, awaiting response… 302 Found
Location: http://rpmforge.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.5.1-1.el5.rf.i386.rpm [following]
--2010-03-13 16:25:18-- http://rpmforge.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.5.1-1.el5.rf.i386.rpm
Resolving rpmforge.sw.be…
Connecting to rpmforge.sw.be||:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 16600 (16K) [application/x-rpm]
Saving to: `rpmforge-release-0.5.1-1.el5.rf.i386.rpm'

100%[========================================================================================>] 16,600 76.2K/s in 0.2s

2010-03-13 16:25:20 (76.2 KB/s) – `rpmforge-release-0.5.1-1.el5.rf.i386.rpm' saved [16600/16600]
[root@tranquilpc ~]# rpm -K rpmforge-release-0.5.1-1.el5.rf.*.rpm
rpmforge-release-0.5.1-1.el5.rf.i386.rpm: (sha1) dsa sha1 md5 gpg OK

Then just install the repository package:

[root@tranquilpc ~]# rpm -i rpmforge-release-0.5.1-1.el5.rf.i386.rpm

We dont want the repository on by default – that can make it override packages from the base system – a bad thing. So edit the file /etc/yum.repos.d/rpmforge.repo and change the enabled option.

### Name: RPMforge RPM Repository for Red Hat Enterprise 5 – dag
### URL: http://rpmforge.net/
name = Red Hat Enterprise $releasever – RPMforge.net – dag
baseurl = http://apt.sw.be/redhat/el5/en/$basearch/rpmforge
mirrorlist = http://apt.sw.be/redhat/el5/en/mirrors-rpmforge
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge
enabled = 0
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1

And finally install the lame package itself

[root@tranquilpc ~]# yum --enablerepo=rpmforge install lame
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: mirrors.manchester.icecolo.com
* base: mirrors.melbourne.co.uk
* extras: mirrors.manchester.icecolo.com
* rpmforge: fr2.rpmfind.net
* updates: mirrors.manchester.icecolo.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package lame.i386 0:3.98.2-1.el5.rf set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

Package Arch Version Repository Size
lame i386 3.98.2-1.el5.rf rpmforge 569 k

Transaction Summary
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)

Total download size: 569 k
Is this ok [y/N]: y


Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: