comparison photocrop/INSTALL @ 0:dcd610585610

INIT
author prymula <prymula76@outlook.com>
date Thu, 21 Sep 2023 22:32:14 +0200
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:dcd610585610
1 Windows
2
3 Go to http://www.msys2.org/ and download the x86_64 installer
4
5 Follow the instructions on the page for setting up the basic environment
6
7 Run C:\msys64\mingw64.exe - a terminal window should pop up
8
9 Execute pacman -Suy
10
11 Execute pacman -S mingw-w64-x86_64-gtk3 mingw-w64-x86_64-python3 mingw-w64-x86_64-python3-gobject
12
13
14 Ubuntu/Debian
15
16 Installing the system provided PyGObject:
17 Open a terminal
18
19 Execute sudo apt install python3-gi python3-gi-cairo gir1.2-gtk-3.0
20
21 Installing from PyPI with pip:
22 Open a terminal and enter your virtual environment
23
24 Execute sudo apt install libgirepository1.0-dev gcc libcairo2-dev pkg-config python3-dev gir1.2-gtk-3.0 to install the build dependencies and GTK
25
26 Execute pip3 install pycairo to build and install Pycairo
27
28 Execute pip3 install PyGObject to build and install PyGObject
29
30
31
32 Fedora
33
34 Installing the system provided PyGObject:
35 Open a terminal
36
37 Execute sudo dnf install python3-gobject gtk3
38
39 Open a terminal and enter your virtual environment
40
41 Execute sudo dnf install gcc gobject-introspection-devel cairo-gobject-devel pkg-config python3-devel gtk3 to install the build dependencies and GTK
42
43 Execute pip3 install pycairo to build and install Pycairo
44
45 Execute pip3 install PyGObject to build and install PyGObject
46
47
48 Arch Linux
49
50 Installing the system provided PyGObject:
51 Open a terminal
52
53 Execute sudo pacman -S python-gobject gtk3
54
55 Installing from PyPI with pip:
56 Open a terminal and enter your virtual environment
57
58 Execute sudo pacman -S python cairo pkgconf gobject-introspection gtk3 to install the build dependencies and GTK
59
60 Execute pip3 install pycairo to build and install Pycairo
61
62 Execute pip3 install PyGObject to build and install PyGObject
63
64
65
66
67 openSUSE
68
69 Installing the system provided PyGObject:
70 Open a terminal
71
72 Execute sudo zypper install python3-gobject python3-gobject-Gdk typelib-1_0-Gtk-3_0 libgtk-3-0
73
74 Installing from PyPI with pip:
75 Open a terminal and enter your virtual environment
76
77 Execute sudo zypper install cairo-devel pkg-config python3-devel gcc gobject-introspection-devel to install the build dependencies and GTK
78
79 Execute pip3 install pycairo to build and install Pycairo
80
81 Execute pip3 install PyGObject to build and install PyGObject
82
83
84
85
86 macOS
87
88 Go to https://brew.sh/ and install homebrew
89
90 Open a terminal
91
92 Execute brew install pygobject3 gtk+3