Skip to content

Installation: Debian and Ubuntu

Fabian Wolf edited this page Jul 4, 2015 · 11 revisions

This page describes how to install sup from both repositories and rubygems on recent versions of Ubuntu and Debian.

You might want to prepend commands with sudo where root access is needed.

Install from repository

Installing the sup-mail Debian package is as simple as

apt-get install sup-mail

Note that the sup binary is renamed to sup-mail in the Debian package.

Install from rubygems

Install required system packages

apt-get install build-essential libncursesw5-dev uuid-dev zlib1g-dev

Install Ruby, Rubygems, and Rake

  • Install system Ruby: run apt-get install ruby-full rubygems rake.
  • Or install Ruby via rvm or rbenv.

Install Sup via rubygems

gem install sup # sudo is not needed if not using system ruby

Note: On a freshly set-up Debian 8.1 with a virgin ruby installation, you might get an error while trying to install the latest version of Sup, which is thanks to a missing library (xapian). Easily fixed by fetching the native Debian version straight from the repository (apt-get install ruby-xapian) and running the above commands again ;)

Rubygems PATH issue on old systems

On Debian 6.0 and lower (and other old Ubuntu systems), You'll have to manually add /var/lib/gems/2.X.X/bin to PATH environment variable. Or you'll get an command not found error when running sup.

Next step

See New User Guide.

On even older versions of Debian / Ubuntu

See this page if you're on a really old system and previous instructions still doesn't work.

Clone this wiki locally