Skip to content

Add instructions for brew users #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 3, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,22 @@ 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:
## Installation

### 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`](#for-ubuntu). from above.