1

I am trying to render Yaru cursor theme. I have a few scripts. But it says

to build and the render the cursor set you'll need python-pil and x11-apps installed.

I am not sure which commands to use to install them. Any help will be great.

I have 18.04 fully updated.

Melebius
  • 11,121
  • 8
  • 50
  • 77
user227495
  • 3,951
  • 16
  • 52
  • 98
  • I am on 18.04. Which command should I use ? Python 2 or 3. I am not able to locate any command for installing x11-apps. Thanks. – user227495 Nov 16 '19 at 16:12
  • 1
    I have x11-apps installed in 18.04 with `sudo apt install x11-apps`. If it says to install python-pil that's for Python 2. python3-pil is for Python 3. – karel Nov 16 '19 at 16:15
  • 2
    You should try `apt search python | grep -i pil` (apt is your frontend to dpkg, your packagemanager. search is the search option, python is what you are looking for. grep will give you only the more relevant entrys). same with `apt search x11-apps` ... And when you know the names, just replace search with install -> `apt install [package name]` – LupusE Nov 16 '19 at 16:17
  • Thank you. I will try. – user227495 Nov 16 '19 at 16:21
  • @Melebius It's Yaru cursor theme modified by me, which I am trying to build. https://github.com/ubuntu/yaru/blob/master/icons/src/cursors/README.md – user227495 Nov 19 '19 at 16:07
  • ]Possible duplicate of [How do I install pillow in Ubuntu 16.04 LTS?](https://askubuntu.com/questions/959504/how-do-i-install-pillow-in-ubuntu-16-04-lts) and [How do I install applications in Ubuntu?](https://askubuntu.com/questions/307280/) – karel Nov 20 '19 at 07:33

1 Answers1

2

The Yaru repository is intended for Ubuntu, so the specification “python-pil and x11-apps” most likely refers directly to Ubuntu packages names. To install these packages, simply run:

sudo apt install python-pil x11-apps

Which command should I use? Python 2 or 3.

Since the package names are directly specified, you don’t have to choose yourself. python-pil is a Python 2 package and you can simply check that the render-cursors.py script is written in Python 2 as it starts with:

#!/usr/bin/env python2
Melebius
  • 11,121
  • 8
  • 50
  • 77