Skip to content

Cyphertite installation

David Hill edited this page Jul 17, 2013 · 1 revision

Table of Contents

Tested Operating Systems

cyphertite has been tested on the following operating systems:

  • OpenBSD 4.9, 5.0, 5.1, 5.2, and -current (i386 and amd64)
  • FreeBSD 7.4 (i386), and 8.2 (amd64)
  • Fedora 14 (i686 and x86_64)
  • Fedora 15 (i686 and x86_64)
  • Ubuntu 10.04 LTS (i386 and amd64)
  • Ubuntu 11.04 (i386 and amd64)
  • Ubuntu 11.10 (i386 and amd64) (compiled with clang - there is a known issue with the gcc version available on this OS)
  • Ubuntu 12.04 LTS (i386 and amd64) (compiled with clang - there is a known issue with the gcc version available on this OS)
  • Ubuntu 12.10 (i386 and amd64) (compiled with clang - there is a known issue with the gcc version available on this OS)
  • OpenSUSE 11.4 (i586 and x86_64).
Throughout this wiki you will see mention of "Linux/BSD" and that is meant to include the aforementioned operating systems. As we port to and confirm functionality on additional operating systems, the above list will be updated.

Linux/BSD:

cyphertite for open source operating systems can be installed in the following ways:







  1. Install from binary package
  2. Install from source tarball
  3. Install from git
each of these methods has separate instructions which are found below.

Install from binary package

The easiest way to install cyphertite is to add the binary package. All the cyphertite dependencies should be added automatically via the package tools. Not all Linux/BSD operating systems have a binary package that can be installed. If you find breakage when using the binary package, please post about it on our forum, [email protected] or start a live chat.

The operating systems that currently have a binary package are:

OpenBSD

Conformal hosts the latest pre-built packages for the following versions of OpenBSD to ease the installation of cyphertite and its dependencies:

  • OpenBSD 5.0 (i386 and amd64)
  • OpenBSD 5.1 (i386 and amd64)
  • OpenBSD 5.2 (i386 and amd64)
Installation is performed by issuing the following command:
$ sudo env PKG_PATH=http://opensource.conformal.com/packages/OpenBSD/$(uname -r)/$(arch -s)/ pkg_add cyphertite

Fedora

Conformal has created yum repositories for several supported distributions to ease the installation of cyphertite and its dependencies.

Currently there are repositories for the following:

  • Fedora 14 (i686 and x86_64)
  • Fedora 15 (i686 and x86_64)
In order to configure yum to see the Conformal repository and install cyphertite, perform the following steps:
  1. Create the file '/etc/yum.repos.d/conformal.repo' with your favorite editor and paste the following contents:
    [conformal]
    name=Conformal Fedora $releasever - $basearch
    baseurl=https://opensource.conformal.com/packages/fedora/$releasever/$basearch
    enabled=1
    gpgcheck=1
    gpgkey=https://opensource.conformal.com/packages/fedora/RPM-GPG-KEY-conformal.asc
  2. Now that yum is setup to work with the Conformal repository, cyphertite installation can be performed by issuing the following command:
    sudo yum install cyphertite

Ubuntu

Conformal has created trivial apt repositories for several supported distributions to ease the installation of cyphertite and its dependencies.

Currently there are repositories for the following:

  • Ubuntu 10.04 LTS (i386 and amd64)
  • Ubuntu 11.04 (i386 and amd64)
  • Ubuntu 11.10 (i386 and amd64)
  • Ubuntu 12.04 LTS (i386 and amd64)
  • Ubuntu 12.10 (i386 and amd64)
In order to configure apt to see the Conformal repository and install cyphertite, perform the following steps:
  1. Use the following command to create and populate the file '/etc/apt/sources.list.d/conformal.list':
    sudo sh -c 'echo "deb https://opensource.conformal.com/packages/ubuntu/$(lsb_release -rs)/\$(ARCH)/ ./" > /etc/apt/sources.list.d/conformal.list'
    1. Update the list of available packages from the apt sources:
      sudo apt-get update
    2. Now that apt is setup to work with the Conformal repository, cyphertite installation can be performed by issuing the following command:
      sudo apt-get install cyphertite

    Install from source tarball

    Most versions of Linux/BSD should support installation from a source tarball. Some Linux distros do not have gcc installed by default, so you may need to install the gcc package. If you find breakage in the build process or when using the new binaries, please post about it on our forum, [email protected] or start a live chat.

    • The first step is to download the most recent source tarball from our source snapshots directory
    • Extract the archive
      cd <your_download_dir><br />tar zvxf cyphertite-full-1.4.1.tar.gz&lt;/div&gt;</your_download_dir>
    • In many cases the system will be missing the required dependencies to build cyphertite. In an effort to support some older platforms, Conformal provides select back ported development packages for some distributions. In order to access these development packages, the package management tools have to be configured to include the Conformal repositories:
      On Ubuntu prior to 11.10:
      Follow the first two steps here

      On Fedora prior to 16:
      Follow the first step here
    • Here is a list of the required packages on various operating systems
      On OpenBSD prior to 5.2
      sudo pkg_add -i curl libevent lzo2 sqlite3 xz

      On OpenBSD 5.2 and higher
      sudo pkg_add -i curl libevent lzo2 xz

      On Ubuntu:
      sudo apt-get install gcc libbsd-dev libcurl4-openssl-dev libedit-dev libevent-dev libexpat-dev libz-dev liblzma-dev liblzo2-dev libsqlite3-dev

      On Fedora prior to 16:
      sudo yum install gcc libbsd-devel libcurl-devel libedit-devel libevent2-devel expat-devel lzo-devel xz-devel sqlite-devel perl

      On Fedora 16 and higher:
      sudo yum install gcc libbsd-devel libcurl-devel libedit-devel libevent-devel expat-devel lzo-devel xz-devel sqlite-devel perl

      On OpenSuSE:
      sudo zypper install gcc make libbsd-devel libcurl-devel libedit-devel libevent-devel libexpat-devel lzo-devel xz-devel zlib-devel sqlite3-devel

      On FreeBSD:
      sudo pkg_add -r libevent2 expat lzo2 xz sqlite3 perl
    • build and install cyphertite
      cd cyphertite-1.4.1
      sudo ./ct_install.sh

    Install from git

    Most Linux/BSD operating systems should support installation from git sources. git is where we keep the brand new code and we give anonymous git access so that you can checkout the newest code and try it out.

    Since the git repository is a reflection of our work-in-progress, it may episodically be in a state where it encounters unusual errors, e.g. it won't compile. Please keep this in mind when installing from git. If you find breakage in the build process or when using the new binaries, please post about it on our forum, [email protected] or start online live chat.

    The instructions for installation from git are very similar to those for the source tarball.

    • ensure you have git installed on your machine and install it if it is absent
    • in many cases the system will be missing the required dependencies to build cyphertite -- see the Install from source tarball section above for a list of required packages for various operating systems
    • download the cyphertite git build script to simplify the cyphertite build process
    • run the script and it will pull the source code from git, build, and install it:
      sudo ./ct_git_install.sh

    COMING SOON - On Mac OSX:

    work-in-progress

    Now that you have completed installation, visit the configuration page to make your first backup!

    You can also return to the Cyphertite main wiki page.