Ask Your Question

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

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

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 precise main
deb-src precise main
deb-src precise-updates main
deb precise universe
deb-src precise universe
deb precise-updates universe
deb-src precise-updates universe
deb precise-security main
deb-src precise-security main
deb precise-security universe
deb-src precise-security universe

And here are the Swift packages I can find:

$ apt-cache policy swift
  Installed: (none)
  Candidate: 1.4.8-0ubuntu2.2
  Version table:
     1.4.8-0ubuntu2.2 0
        500 precise-updates/universe amd64 Packages
        500 precise-security/universe amd64 Packages
     1.4.8-0ubuntu2 0
        500 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

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

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

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 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

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

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 for ubuntu versions and swift highest version mappings and their last modified date.

edit flag offensive delete link more


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

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

Get to know Ask OpenStack

Resources for moderators

Question Tools



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

Seen: 1,429 times

Last updated: Aug 06 '13