View on GitHub

Cangjians

Arch Linux

libcangjie has not been included in official repository yet, but only in AUR. If it works for you and you like it, please don't hesitate to vote it on upvote it. You can install it with yaourt:

$ yaourt libcangjie

Debian Unstable / Sid

libcangjie is included in the default Debian repositories, so you can just install it with apt-get, as the root user:

# apt-get install libcangjie2

Note that if you need the development headers, then you should also install the libcangjie2-dev package.

Fedora

libcangjie is included in the default Fedora repositories, so you can just install it with yum:

$ sudo yum install libcangjie

Note that if you need the development headers, then you should also install the libcangjie-devel package.

Gentoo

Libcangjie is included in the Gentoo repositories. It is currently masked. You will need to add "app-i18n/libcangjie" to your /etc/portage/package.accept_keywords or use autounmask. Once unmasked install as root with :

$ emerge app-i18n/libcangjie

Ubuntu 14.04

libcangjie is included in the default Ubuntu repositories, starting with the 14.04 release, so you can install it with apt-get:

$ sudo apt-get install libcangjie2

Note that if you need the development headers, then you should also install the libcangjie2-dev package.

NixOS

libcangjie is included in the default NixOS channel, starting with the 14.02 release, so you can install it with nix-env:

$ nix-env --install libcangjie

Build from the sources

Dependencies

To build this library, you will need the following:

Install from a release tarball

Download a release tarball from the download section of our website.

From the root folder of the unpacked tarball, do the usual Autotools dance:

$ ./configure
$ make
$ sudo make install

Install from Git

First, you need to clone the development repository:

$ git clone git://github.com/Cangjians/libcangjie

Then, from the root folder of the Git clone, do the usual Autotools dance:

$ ./autogen.sh
$ make
$ sudo make install