Ask Your Question
0

How can I install the latest version of Swift on Ubuntu Precise?

asked 2013-08-05 19:03:27 -0600

rahmu gravatar image

I am trying to install a Swift cluster on machines running Ubuntu Precise (12.04). Here's a list of the repositories I have enabled:

deb http://archive.ubuntu.com/ubuntu precise main
deb-src http://archive.ubuntu.com/ubuntu precise main
deb-src http://archive.ubuntu.com/ubuntu precise-updates main
deb http://archive.ubuntu.com/ubuntu precise universe
deb-src http://archive.ubuntu.com/ubuntu precise universe
deb http://archive.ubuntu.com/ubuntu precise-updates universe
deb-src http://archive.ubuntu.com/ubuntu precise-updates universe
deb http://security.ubuntu.com/ubuntu precise-security main
deb-src http://security.ubuntu.com/ubuntu precise-security main
deb http://security.ubuntu.com/ubuntu precise-security universe
deb-src http://security.ubuntu.com/ubuntu precise-security universe

And here are the Swift packages I can find:

$ apt-cache policy swift
swift:
  Installed: (none)
  Candidate: 1.4.8-0ubuntu2.2
  Version table:
     1.4.8-0ubuntu2.2 0
        500 http://archive.ubuntu.com/ubuntu/ precise-updates/universe amd64 Packages
        500 http://security.ubuntu.com/ubuntu/ precise-security/universe amd64 Packages
     1.4.8-0ubuntu2 0
        500 http://archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages

If I understand correctly, this means that only Swift 1.4 is available in the Ubuntu repos. I would like to install a newer version, ideally the latest.

Where can I find the latest versions of Swift packaged for Ubuntu, and ideally, can anyone walk me through how to add them to the sources.list?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
2

answered 2013-08-06 09:29:40 -0600

updated 2013-08-06 09:30:48 -0600

Swift is a part of OpenStack so you need to add cloud archive for grizzly release to get latest version of it:

apt-get install -y ubuntu-cloud-keyring
echo "deb http://ubuntu-cloud.archive.canonical.com/ubuntu precise-updates/grizzly main" >> /etc/apt/sources.list.d/cloud-archive.list
apt-get update

After that you should get: 1.8.0-0ubuntu1.2~cloud0

edit flag offensive delete link more
0

answered 2013-08-06 06:53:37 -0600

I am not sure if the higher versions and feature differences, since I can see updates to all the versions. If you want higher version of swift via package repositories, Swift 1.4.8 is the highest package supported on Precise Pangolin. You may need to update your ubuntu installation in order to get higher version of Swift. Have a look at https://launchpad.net/ubuntu/+source/swift for ubuntu versions and swift highest version mappings and their last modified date.

edit flag offensive delete link more

Comments

Thank you. So isn't there a way to backport packages to previous versions?

rahmu gravatar imagerahmu ( 2013-08-06 07:43:14 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2013-08-05 19:03:27 -0600

Seen: 1,382 times

Last updated: Aug 06 '13