Compilation displaycal
This commit is contained in:
35
Installation_Linux/Fedora_Install/Compilations/Displaycal.md
Normal file
35
Installation_Linux/Fedora_Install/Compilations/Displaycal.md
Normal file
@@ -0,0 +1,35 @@
|
||||
###########
|
||||
# Prérequis
|
||||
###########
|
||||
sudo dnf install gcc glibc-devel dbus pkgconf gtk3-devel libXxf86vm-devel python3-devel python3-virtualenv
|
||||
sudo dnf groupinstall -y "Development Tools"
|
||||
sudo dnf -y install python3-devel openssl-devel zlib-devel bzip2-devel sqlite-devel libffi-devel py
|
||||
cd /tmp
|
||||
|
||||
############
|
||||
# Python 3.9
|
||||
############
|
||||
wget https://www.python.org/ftp/python/3.9.9/Python-3.9.9.tgz
|
||||
tar xzf Python-3.9.9.tgz Python-3.9.9/
|
||||
cd Python-3.9.9/
|
||||
./configure --enable-optimizations --with-ensurepip=install
|
||||
sudo make altinstall
|
||||
cd .. && sudo rm -rf Python-3.9.9/
|
||||
py --list
|
||||
|
||||
############
|
||||
# Displaycal
|
||||
############
|
||||
py -3.9 -m venv ~/displaycal
|
||||
source displaycal/bin/activate
|
||||
git clone https://github.com/eoyilmaz/displaycal-py3
|
||||
cd ./displaycal-py3/
|
||||
git checkout develop
|
||||
make venv build install
|
||||
pip install -r requirements.txt
|
||||
python -m build
|
||||
pip install dist/displaycal-3.9.17-py3-none-any.whl
|
||||
displaycal
|
||||
|
||||
py -3.9 -m venv ~/displaycal && source displaycal/bin/activate && displaycal
|
||||
|
||||
Reference in New Issue
Block a user