λλ pip/pipxλ₯Ό μ¬μ©νμ¬ νμ΄μ¬ λꡬλ₯Ό μ€μΉν©λλ€. νΈμ€νΈμμ μ΄ μμ μ μννλ©΄ λκ΅¬κ° λꡬ μμμμ μλνμ§ μμ΅λλ€. λꡬ μμμ μ€μΉνλ©΄ λκ΅¬κ° νΈμ€νΈμμ μλνμ§ μμ΅λλ€.
$ pipx install jrnl
Installing to existing venv 'jrnl'
installed package jrnl 2.7.1, Python 3.9.5
These apps are now globally available
- jrnl
done! β¨ π β¨
$ jrnl --version
jrnl version v2.7.1
[..]
$ toolbox enter --container fedora-toolbox-32
$ jrnl
Traceback (most recent call last):
File "/var/home/hferreiro/.local/bin/jrnl", line 5, in <module>
from jrnl.cli import cli
ImportError: No module named jrnl.cli
pipx μΉ μ¬μ΄νΈμμ λμΌν μλ₯Ό λ°λ¦ λλ€.
[oliver<strong i="6">@t480s</strong> src]$ pipx install cowsay
installed package cowsay 4.0, Python 3.9.5
These apps are now globally available
- cowsay
done! β¨ π β¨
[oliver<strong i="7">@t480s</strong> src]$ cowsay Yeah
____
| Yeah |
====
\
\
^__^
(oo)\_______
(__)\ )\/\
||----w |
|| ||
[oliver<strong i="8">@t480s</strong> src]$ ./toolbox enter f34
β¬’[oliver<strong i="9">@toolbox</strong> src]$ cowsay moo
___
| moo |
===
\
\
^__^
(oo)\_______
(__)\ )\/\
||----w |
|| ||
β¬’[oliver<strong i="10">@toolbox</strong> src]$
μ΅μ λꡬ μμ λΉλμ ν¨κ» μλνμ΅λλ€.
jrnlμ λ¬Έμ μΌκΉμ? (μ λ ν μ€νΈ ν΄λ³΄κ² μ΅λλ€)
jrnlλ‘ ν μ€νΈνμΌλ©° OOBμμ μλνμ΅λλ€.
[oliver<strong i="6">@t480s</strong> src]$ pipx install jrnl
installed package jrnl 2.8.1, Python 3.9.5
These apps are now globally available
- jrnl
done! β¨ π β¨
[oliver<strong i="7">@t480s</strong> src]$ ./toolbox enter f34
β¬’[oliver<strong i="8">@toolbox</strong> src]$
logout
[oliver<strong i="9">@t480s</strong> src]$ jrnl --version
jrnl version v2.8.1
Copyright (C) 2012-2021 jrnl contributors
This is free software, and you are welcome to redistribute it under certain
conditions; for details, see: https://www.gnu.org/licenses/gpl-3.0.html
[oliver<strong i="10">@t480s</strong> src]$ ./toolbox enter f34
β¬’[oliver<strong i="11">@toolbox</strong> src]$ jrnl --version
jrnl version v2.8.1
Copyright (C) 2012-2021 jrnl contributors
This is free software, and you are welcome to redistribute it under certain
conditions; for details, see: https://www.gnu.org/licenses/gpl-3.0.html
β¬’[oliver<strong i="12">@toolbox</strong> src]$
μ΄ νλ μ€μν μ μμ΅λλ€.
Installing to existing venv 'jrnl'
λ¬Έμ λ₯Ό μ°Ύμμ΅λλ€. λ΄ λꡬ μμλ Fedora 32μ μμΌλ©° κΈ°λ³Έκ°μ python2μ λλ€. Fedora 34 λꡬ μμλ₯Ό μ¬μ©νλ λ° λ¬Έμ κ° μμ΅λλ€.
κ°μ₯ μ μ©ν λκΈ
λ¬Έμ λ₯Ό μ°Ύμμ΅λλ€. λ΄ λꡬ μμλ Fedora 32μ μμΌλ©° κΈ°λ³Έκ°μ python2μ λλ€. Fedora 34 λꡬ μμλ₯Ό μ¬μ©νλ λ° λ¬Έμ κ° μμ΅λλ€.