0

I'm trying to install Picom compositor on Ubuntu and have installed all the dependencies but when I get to the "To Build" section of the guide of GitHub I have to run three commands:

$ git submodule update --init --recursive
$ meson --buildtype=release . build
$ ninja -C build

None of which seem to work. Running the first returns...

fatal: not a git repository (or any of the parent directories): .git

So I tried making my own picom folder, running git init. This gets me to command number two which fails, responding with:

ERROR: Neither directory contains a build file meson.build.

I feel like I'm giving the order to build with bricks that I have yet to download. I would appreciate if someone could point to where I have gone wrong or how I might better troubleshoot my problem.

Stephen Kitt
  • 411,918
  • 54
  • 1,065
  • 1,164
Solebay Sharp
  • 177
  • 1
  • 11

1 Answers1

1

You first have to clone the repository i.e bring the code at the github to your computer and you can continue. So run these commands.

$ git clone https://github.com/yshui/picom.git
$ cd picom
$ git submodule update --init --recursive
$ meson --buildtype=release . build
$ ninja -C build
Sudip Ghimire
  • 269
  • 1
  • 2
  • 10