Robert’s Ramblings

Robert Alonso’s Thoughts on Technology and More…

Archive for July, 2010

July-14-10

Enabling the Partner Repository in Ubuntu 10.04 (Linux)

Posted by Robert Alonso under Advice, Software

I am in the process of setting up Alfresco Community Edition on Ubuntu 10.04. In case you don’t already know, Alfresco is an open source collaboration suite that is a replacement for the Microsoft SharePoint offering. It requires that you install the Sun Java Development libraries. These are not a part of the Ubuntu repository. You must update a file called sources.list and run a command to obtain access to the partner repository which includes the Sun Java JDK. Here’s how you do it:

1. sudo su root

(enter password)

2. vi /etc/apt/sources.list

3. Uncomment the two lines that I have bolded and italicized below:

## Uncomment the following two lines to add software from Canonical’s
## ‘partner’ repository.
## This software is not part of Ubuntu, but is offered by Canonical and the ## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu lucid partner
deb-src http://archive.canonical.com/ubuntu lucid partner

(save the file)

4. apt-get update Once this update is finished, you are ready to install the Sun Java JDK and all the other components that are required.

(I know that is entry is a bit more technical than most that I write about, but it is something that I am sure is holding up a lot of people. It took me a little while to figure it out.)

Robert Alonso
Alonso Consulting

Bookmark and Share