Skip to content

Commit

Permalink
Add instructions for brew users
Browse files Browse the repository at this point in the history
Fixes azeam#8
  • Loading branch information
kerryhatcher committed Dec 2, 2020
1 parent 5770f93 commit 0f76e5c
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,20 @@ pkg-config
If running from source (not using the camset pip package) you will also need gi (PyGObject @ pip) and OpenCV (opencv-python @ pip)

**Installation**
For Ubuntu:
## For Ubuntu:
1. `sudo apt-get install python3 python3-pip v4l-utils pkg-config libcairo2-dev libgirepository1.0-dev`
2. `pip3 install camset`

The pip install includes a .desktop file, which should be picked up by the DE. If `camset` is not found you may need to set up your path environment, for example:
`PATH=$PATH:/home/USER/.local/bin`

### Note for LinuxBrew(HomeBrew) users:

Brew can sometimes take over `ld` and `pkg-config` binarys from system installed ones depending on what apps may have installed via brew in the past.

See: (Install fails on pycairo dependancy )[https://github.com/azeam/camset/issues/8]

To fix install the requried dependaices via brew (This will install a lot of things and take a very long time):
`brew install cairo pkg-config pygobject3 gtk+3`

Alternatively disable or remove brew compeonts that provide or require `pkg-config` and `ld` then follow the Ubuntu instructions from above.

0 comments on commit 0f76e5c

Please sign in to comment.