libx52/INSTALL.md

56 lines
1.3 KiB
Markdown

Installation instructions for x52pro-linux
==========================================
[![Build Status](https://www.travis-ci.org/nirenjan/x52pro-linux.svg?branch=master)](https://www.travis-ci.org/nirenjan/x52pro-linux)
Build has been tested on the following operating systems (x86-64 only):
* Ubuntu 16.04 LTS
* Ubuntu 18.04 LTS
* OS X 10.13.6
# Prerequisites
## Required Packages
* automake
* autoconf
* autopoint
* gettext
* libtool
* libusb-1.0 + headers
* pkg-config
* python3 (3.6 or greater)
### Installation instructions
| Platform | Install instructions |
| -------- | -------------------- |
| Ubuntu | `sudo apt-get install automake autoconf gettext autopoint libtool libusb-1.0-0-dev pkg-config python3` |
| MacOS + Homebrew | `brew install automake autoconf gettext libtool libusb pkg-config python3` |
## Optional Packages
If you want to generate HTML documentation for the library, and manpages for
the utilities, you will need the following packages:
* doxygen
* rsync
You will also need the following packages to run the unit tests:
* faketime
# Installation Instructions
1. Clone the repository
2. Run autogen.sh
3. Run the following commands:
```
./configure \
--prefix=/usr \
--with-udevrulesdir=$(pkg-config --variable=udevdir)/rules.d
make && sudo make install
```