Install ======= To install the current release package on Debian and Ubuntu, use the package manager: .. code-block:: bash sudo apt install libserial-dev To install LibSerial from source, first clone the repository at https://github.com/crayzeewulf/libserial Using https: .. code-block:: bash git clone https://github.com/crayzeewulf/libserial.git Using ssh: .. code-block:: bash git clone git@github.com:crayzeewulf/libserial.git Next, using make, execute the following commands from your libserial directory: .. code-block:: bash make -f Makefile.dist ./configure make To install the build to your /usr/local/ directory you may simply: .. code-block:: bash sudo make install To install to another directory, simply use the *prefix* argument in the configure step above: .. code-block:: bash ./configure --prefix= The code is also easily built using `CMake` via a bash script: .. code-block:: bash ./compile.sh To install, change directories to the build directory and proceed as with make: .. code-block:: bash cd build/ sudo make install