github.com/sym3tri/etcd@v0.2.1-0.20140422215517-a563d82f95d6/Documentation/platforms/freebsd.md (about)

     1  # FreeBSD
     2  
     3  Starting with version 0.1.2 both etcd and etcdctl have been ported to FreeBSD and can
     4  be installed either via packages or ports system. Their versions have been recently
     5  updated to 0.2.0 so now you can enjoy using etcd and etcdctl on FreeBSD 10.0 (RC4 as
     6  of now) and 9.x where they have been tested. They might also work when installed from
     7  ports on earlier versions of FreeBSD, but your mileage may vary.
     8  
     9  ## Installation
    10  
    11  ### Using pkgng package system
    12  
    13  1. If you do not have pkg­ng installed, install it with command `pkg` and answering 'Y'
    14  when asked
    15  
    16  2. Update your repository data with `pkg update`
    17  
    18  3. Install etcd with `pkg install coreos­etcd coreos­etcdctl`
    19  
    20  4. Verify successful installation with `pkg info | grep etcd` and you should get:
    21  
    22  ```
    23  r@fbsd­10:/ # pkg info | grep etcd
    24  coreos­etcd­0.2.0              Highly­available key value store and service discovery
    25  coreos­etcdctl­0.2.0           Simple commandline client for etcd
    26  r@fbsd­10:/ #
    27  ```
    28  
    29  5. You’re ready to use etcd and etcdctl! For more information about using pkgng, please
    30  see: http://www.freebsd.org/doc/handbook/pkgng­intro.html
    31   
    32  ### Using ports system
    33  
    34  1. If you do not have ports installed, install with with `portsnap fetch extract` (it
    35  may take some time depending on your hardware and network connection)
    36  
    37  2. Build etcd with `cd /usr/ports/devel/etcd && make install clean`, you
    38  will get an option to build and install documentation and etcdctl with it.
    39  
    40  3. If you haven't installed it with etcdctl, and you would like to install it later, you can build it
    41  with `cd /usr/ports/devel/etcdctl && make install clean`
    42  
    43  4. Verify successful installation with `pkg info | grep etcd` and you should get:
    44   
    45  
    46  ```
    47  r@fbsd­10:/ # pkg info | grep etcd
    48  coreos­etcd­0.2.0              Highly­available key value store and service discovery
    49  coreos­etcdctl­0.2.0           Simple commandline client for etcd
    50  r@fbsd­10:/ #
    51  ```
    52  
    53  5. You’re ready to use etcd and etcdctl! For more information about using ports system,
    54  please see: https://www.freebsd.org/doc/handbook/ports­using.html
    55  
    56  ## Issues
    57  
    58  If you find any issues with the build/install procedure or you've found a problem that
    59  you've verified is local to FreeBSD version only (for example, by not being able to
    60  reproduce it on any other platform, like OSX or Linux), please sent a
    61  problem report using this page for more
    62  information: http://www.freebsd.org/send­pr.html