Craft/Linux: Difference between revisions
< Craft
(Merge apt install calls) |
No edit summary |
||
Line 1: | Line 1: | ||
= Preparations = | == Preparations == | ||
== My OS doesn't offer python 3.6 == | === My OS doesn't offer python 3.6 === | ||
See https://github.com/pyenv/pyenv | See https://github.com/pyenv/pyenv | ||
== Ubuntu == | === Ubuntu === | ||
sudo apt update | sudo apt update | ||
Line 10: | Line 10: | ||
sudo apt-get build-dep qt5-default | sudo apt-get build-dep qt5-default | ||
== Other == | === Other === | ||
See https://wiki.qt.io/Building_Qt_5_from_Git | See https://wiki.qt.io/Building_Qt_5_from_Git | ||
= Install Craft = | == Install Craft == | ||
python3 -c "$(wget https://raw.githubusercontent.com/KDE/craft/master/setup/CraftBootstrap.py -O -)" --prefix ~/CraftRoot | python3 -c "$(wget https://raw.githubusercontent.com/KDE/craft/master/setup/CraftBootstrap.py -O -)" --prefix ~/CraftRoot | ||
== Use craft == | |||
Every time you want to use craft in a new shell, you need to set up the craft environment, first: | |||
source ~/CraftRoot/craft/craftenv.sh | |||
In this shell, now craft is usable, e.g. to build Kate with all dependencies: | |||
craft kate |
Revision as of 11:14, 17 April 2021
Preparations
My OS doesn't offer python 3.6
See https://github.com/pyenv/pyenv
Ubuntu
sudo apt update sudo apt install python3.6 build-essential git wget libxcb-xinerama0-dev sudo apt-get build-dep qt5-default
Other
See https://wiki.qt.io/Building_Qt_5_from_Git
Install Craft
python3 -c "$(wget https://raw.githubusercontent.com/KDE/craft/master/setup/CraftBootstrap.py -O -)" --prefix ~/CraftRoot
Use craft
Every time you want to use craft in a new shell, you need to set up the craft environment, first:
source ~/CraftRoot/craft/craftenv.sh
In this shell, now craft is usable, e.g. to build Kate with all dependencies:
craft kate