forked from OpenZWave/python-openzwave
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathINSTALL_ARCH.txt
More file actions
84 lines (47 loc) · 1.83 KB
/
Copy pathINSTALL_ARCH.txt
File metadata and controls
84 lines (47 loc) · 1.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
:orphan:
========================================
Installing python-openzwave from archive
========================================
This is the simplest (and the fastest) way to install python-openzwave. It cames with openzwave source files and is already cythonized.
This is surely the best soltion to install python-openzwave on a raspberry pi.
Get archive of python-openzwave
===============================
You are now ready to download sources of python-openzwave here :
.. code-block:: bash
http://bibi21000.no-ip.biz/python-openzwave/
This archive contains sources of python-openzwave and openzwave.
.. code-block:: bash
tar xvzf python-openzwave-X.Y.Z.tar.gz
This command will extract all the needed sources. And change to the right directory.
.. code-block:: bash
cd python-openzwave-X.Y.Z
Install the needed tools
========================
You must install git and other tools to get sources of python-openzwave and
openzwave and build them. Look at the documentation of your Linux distribution to do that.
On a debian like distribution :
.. code-block:: bash
sudo make deps
Build process
=============
Now, you can compile sources :
.. code-block:: bash
make build
If you have already built python-openzwave or the build failed
you can use the clean option :
.. code-block:: bash
sudo make clean
make build
Do not use root to build python-openzwave as it will surely fails. Please use a "normal user".
Installation
============
You can now install the packages using the following command will.
.. code-block:: bash
sudo make install
The installation script create a list of installed files. So you can remove
python-openzwave using the following command :
.. code-block:: bash
sudo make uninstall
If it fails
===========
Simply remove the python-openzwave-x.y.z directory and extract it again.