教育之宗旨,在使儿童成为自治自立的人物,而不是受制于他人的人物。——斯宾诺莎
官方文档:
github:
我们安装:
Github-Id-VampireAchao:~ achao$ brew install pipx
HOMEBREW_BREW_GIT_REMOTE set: using https://mirrors.ustc.edu.cn/brew.git as the Homebrew/brew Git remote.
remote: Enumerating objects: 458, done.
remote: Counting objects: 100% (159/159), done.
remote: Total 458 (delta 159), reused 159 (delta 159), pack-reused 299
Receiving objects: 100% (458/458), 300.25 KiB | 1.10 MiB/s, done.
Resolving deltas: 100% (261/261), completed with 90 local objects.
From https://mirrors.ustc.edu.cn/brew
9160445818..d1509cbef0 master -> origin/master
* [new tag] 4.3.24 -> 4.3.24
==> Auto-updating Homebrew...
Adjust how often this is run with HOMEBREW_AUTO_UPDATE_SECS or disable with
HOMEBREW_NO_AUTO_UPDATE. Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core and homebrew/cask).
==> New Formulae
cyphernetes goku libnice-gstreamer mbpoll
git-spice kty llvm@18
==> New Casks
localsend
You have 67 outdated formulae and 2 outdated casks installed.
==> Fetching dependencies for pipx: ca-certificates, openssl@3, readline, sqlite and python@3.12
==> Fetching ca-certificates
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/ca-certificates-2024-09-24.all.
############################################################################################# 100.0%
==> Fetching openssl@3
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/openssl%403-3.3.2.arm64_sequoia
############################################################################################# 100.0%
==> Fetching readline
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/readline-8.2.13.arm64_sequoia.b
############################################################################################# 100.0%
==> Fetching sqlite
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/sqlite-3.46.1.arm64_sequoia.bot
############################################################################################# 100.0%
==> Fetching python@3.12
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/python%403.12-3.12.6.arm64_sequ
############################################################################################# 100.0%
==> Fetching pipx
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/pipx-1.7.1.arm64_sequoia.bottle
############################################################################################# 100.0%
==> Installing dependencies for pipx: ca-certificates, openssl@3, readline, sqlite and python@3.12
==> Installing pipx dependency: ca-certificates
==> Pouring ca-certificates-2024-09-24.all.bottle.tar.gz
==> Regenerating CA certificate bundle from keychain, this may take a while...
🍺 /opt/homebrew/Cellar/ca-certificates/2024-09-24: 4 files, 237.3KB
==> Installing pipx dependency: openssl@3
==> Pouring openssl@3-3.3.2.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/openssl@3/3.3.2: 6,984 files, 32.5MB
==> Installing pipx dependency: readline
==> Pouring readline-8.2.13.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/readline/8.2.13: 51 files, 1.7MB
==> Installing pipx dependency: sqlite
==> Pouring sqlite-3.46.1.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/sqlite/3.46.1: 12 files, 4.8MB
==> Installing pipx dependency: python@3.12
==> Pouring python@3.12-3.12.6.arm64_sequoia.bottle.tar.gz
==> /opt/homebrew/Cellar/python@3.12/3.12.6/bin/python3.12 -Im ensurepip
==> /opt/homebrew/Cellar/python@3.12/3.12.6/bin/python3.12 -Im pip install -v --no-index --upgrade -
🍺 /opt/homebrew/Cellar/python@3.12/3.12.6: 3,263 files, 65.2MB
==> Installing pipx
==> Pouring pipx-1.7.1.arm64_sequoia.bottle.tar.gz
==> Caveats
Bash completion has been installed to:
/opt/homebrew/etc/bash_completion.d
==> Summary
🍺 /opt/homebrew/Cellar/pipx/1.7.1: 154 files, 1017.2KB
==> Running `brew cleanup pipx`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
==> Upgrading 20 dependents of upgraded formulae:
Disable this behaviour by setting HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
certifi 2024.7.4 -> 2024.8.30, cocoapods 1.15.2 -> 1.15.2_1, curl 8.9.1 -> 8.10.1, glib 2.80.4 -> 2.82.1, ffmpeg 7.0.2 -> 7.0.2_1, harfbuzz 9.0.0 -> 10.0.1, imagemagick 7.1.1-36 -> 7.1.1-38_2, keyring 25.3.0 -> 25.4.1, libssh 0.11.0 -> 0.11.1, libxml2 2.12.7 -> 2.13.4, lima 0.22.0 -> 0.23.2, llvm 18.1.8 -> 19.1.0, passenger 6.0.23 -> 6.0.23_1, pyenv 2.4.10 -> 2.4.13, qemu 9.0.2 -> 9.1.0, ruby 3.3.4 -> 3.3.5, ruby-build 20240727 -> 20240917, scrcpy 2.6.1 -> 2.7, unbound 1.20.0 -> 1.21.0, virtualenv 20.26.3 -> 20.26.5
==> Fetching libxml2
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/libxml2-2.13.4.arm64_sequoia.bo
############################################################################################# 100.0%
==> Fetching dependencies for curl: libnghttp2 and lz4
==> Fetching libnghttp2
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/libnghttp2-1.63.0.arm64_sequoia
############################################################################################# 100.0%
==> Fetching lz4
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/lz4-1.10.0.arm64_sequoia.bottle
############################################################################################# 100.0%
==> Fetching curl
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/curl-8.10.1.arm64_sequoia.bottl
############################################################################################# 100.0%
==> Fetching llvm
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/llvm-19.1.0.arm64_sequoia.bottl
############################################################################################# 100.0%
==> Fetching ruby
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/ruby-3.3.5.arm64_sequoia.bottle
############################################################################################# 100.0%
==> Fetching dependencies for glib: python-packaging
==> Fetching python-packaging
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/python-packaging-24.1.all.bottl
############################################################################################# 100.0%
==> Fetching glib
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/glib-2.82.1.arm64_sequoia.bottl
############################################################################################# 100.0%
==> Fetching dependencies for harfbuzz: libpng, freetype and cairo
==> Fetching libpng
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/libpng-1.6.44.arm64_sequoia.bot
############################################################################################# 100.0%
==> Fetching freetype
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/freetype-2.13.3.arm64_sequoia.b
############################################################################################# 100.0%
==> Fetching cairo
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/cairo-1.18.2.arm64_sequoia.bott
############################################################################################# 100.0%
==> Fetching harfbuzz
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/harfbuzz-10.0.1.arm64_sequoia.b
############################################################################################# 100.0%
==> Fetching dependencies for imagemagick: jpeg-turbo, libtiff, libarchive, ghostscript, imath, jpeg-xl, aom, liblqr, libomp, libraw and libtool
==> Fetching jpeg-turbo
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/jpeg-turbo-3.0.4.arm64_sequoia.
############################################################################################# 100.0%
==> Fetching libtiff
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/libtiff-4.7.0.arm64_sequoia.bot
############################################################################################# 100.0%
==> Fetching libarchive
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/libarchive-3.7.6.arm64_sequoia.
############################################################################################# 100.0%
==> Fetching ghostscript
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/ghostscript-10.04.0.arm64_sequo
############################################################################################# 100.0%
==> Fetching imath
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/imath-3.1.12.arm64_sequoia.bott
############################################################################################# 100.0%
==> Fetching jpeg-xl
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/jpeg-xl-0.11.0.arm64_sequoia.bo
############################################################################################# 100.0%
==> Fetching aom
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/aom-3.10.0.arm64_sequoia.bottle
############################################################################################# 100.0%
==> Fetching liblqr
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/liblqr-0.4.3.arm64_sequoia.bott
############################################################################################# 100.0%
==> Fetching libomp
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/libomp-19.1.0.arm64_sequoia.bot
############################################################################################# 100.0%
==> Fetching libraw
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/libraw-0.21.3.arm64_sequoia.bot
############################################################################################# 100.0%
==> Fetching libtool
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/libtool-2.5.3.arm64_sequoia.bot
curl: (56) The requested URL returned error: 404
Warning: Bottle missing, falling back to the default domain...
==> Downloading https://ghcr.io/v2/homebrew/core/libtool/manifests/2.5.3
############################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/libtool/blobs/sha256:1f26cc2d321343e11736fa4f7aea03
############################################################################################# 100.0%
==> Fetching imagemagick
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/imagemagick-7.1.1-38_2.arm64_se
############################################################################################# 100.0%
==> Fetching keyring
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/keyring-25.4.1.arm64_sequoia.bo
############################################################################################# 100.0%
==> Fetching libssh
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/libssh-0.11.1.arm64_sequoia.bot
############################################################################################# 100.0%
==> Fetching unbound
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/unbound-1.21.0.arm64_sequoia.bo
############################################################################################# 100.0%
==> Fetching dependencies for qemu: capstone and dtc
==> Fetching capstone
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/capstone-5.0.3.arm64_sequoia.bo
############################################################################################# 100.0%
==> Fetching dtc
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/dtc-1.7.1.arm64_sequoia.bottle.
############################################################################################# 100.0%
==> Fetching qemu
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/qemu-9.1.0.arm64_sequoia.bottle
############################################################################################# 100.0%
==> Fetching lima
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/lima-0.23.2.arm64_sequoia.bottl
############################################################################################# 100.0%
==> Fetching dependencies for passenger: apr
==> Fetching apr
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/apr-1.7.5.arm64_sequoia.bottle.
############################################################################################# 100.0%
==> Fetching passenger
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/passenger-6.0.23_1.arm64_sequoi
############################################################################################# 100.0%
==> Fetching pyenv
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/pyenv-2.4.13.arm64_sequoia.bott
############################################################################################# 100.0%
==> Fetching ruby-build
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/ruby-build-20240917.all.bottle.
############################################################################################# 100.0%
==> Fetching dependencies for ffmpeg: mbedtls, sdl2 and svt-av1
==> Fetching mbedtls
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/mbedtls-3.6.1.arm64_sequoia.bot
############################################################################################# 100.0%
==> Fetching sdl2
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/sdl2-2.30.7.arm64_sequoia.bottl
############################################################################################# 100.0%
==> Fetching svt-av1
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/svt-av1-2.2.1.arm64_sequoia.bot
############################################################################################# 100.0%
==> Fetching ffmpeg
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/ffmpeg-7.0.2_1.arm64_sequoia.bo
############################################################################################# 100.0%
==> Fetching scrcpy
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/scrcpy-2.7.arm64_sequoia.bottle
############################################################################################# 100.0%
==> Fetching certifi
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/certifi-2024.8.30.arm64_sequoia
############################################################################################# 100.0%
==> Fetching virtualenv
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/virtualenv-20.26.5.arm64_sequoi
############################################################################################# 100.0%
==> Fetching cocoapods
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/cocoapods-1.15.2_1.arm64_sequoi
############################################################################################# 100.0%
==> Upgrading libxml2
2.12.7 -> 2.13.4
==> Pouring libxml2-2.13.4.arm64_sequoia.bottle.tar.gz
==> Caveats
libxml2 is keg-only, which means it was not symlinked into /opt/homebrew,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.
If you need to have libxml2 first in your PATH, run:
echo 'export PATH="/opt/homebrew/opt/libxml2/bin:$PATH"' >> /Users/achao/.bash_profile
For compilers to find libxml2 you may need to set:
export LDFLAGS="-L/opt/homebrew/opt/libxml2/lib"
export CPPFLAGS="-I/opt/homebrew/opt/libxml2/include"
For pkg-config to find libxml2 you may need to set:
export PKG_CONFIG_PATH="/opt/homebrew/opt/libxml2/lib/pkgconfig"
==> Summary
🍺 /opt/homebrew/Cellar/libxml2/2.13.4: 135 files, 6.2MB
==> Running `brew cleanup libxml2`...
Removing: /opt/homebrew/Cellar/libxml2/2.12.7... (201 files, 6.4MB)
==> Upgrading curl
8.9.1 -> 8.10.1
==> Installing dependencies for curl: libnghttp2 and lz4
==> Installing curl dependency: libnghttp2
==> Pouring libnghttp2-1.63.0.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/libnghttp2/1.63.0: 14 files, 804.5KB
==> Installing curl dependency: lz4
==> Pouring lz4-1.10.0.arm64_sequoia.bottle.1.tar.gz
🍺 /opt/homebrew/Cellar/lz4/1.10.0: 24 files, 713.4KB
==> Installing curl
==> Pouring curl-8.10.1.arm64_sequoia.bottle.tar.gz
==> Caveats
curl is keg-only, which means it was not symlinked into /opt/homebrew,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.
If you need to have curl first in your PATH, run:
echo 'export PATH="/opt/homebrew/opt/curl/bin:$PATH"' >> /Users/achao/.bash_profile
For compilers to find curl you may need to set:
export LDFLAGS="-L/opt/homebrew/opt/curl/lib"
export CPPFLAGS="-I/opt/homebrew/opt/curl/include"
For pkg-config to find curl you may need to set:
export PKG_CONFIG_PATH="/opt/homebrew/opt/curl/lib/pkgconfig"
==> Summary
🍺 /opt/homebrew/Cellar/curl/8.10.1: 530 files, 4MB
==> Running `brew cleanup curl`...
Removing: /opt/homebrew/Cellar/curl/8.9.1... (529 files, 4.3MB)
==> Upgrading llvm
18.1.8 -> 19.1.0
==> Pouring llvm-19.1.0.arm64_sequoia.bottle.tar.gz
==> Caveats
To use the bundled libc++ please add the following LDFLAGS:
LDFLAGS="-L/opt/homebrew/opt/llvm/lib/c++ -L/opt/homebrew/opt/llvm/lib -lunwind"
llvm is keg-only, which means it was not symlinked into /opt/homebrew,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.
If you need to have llvm first in your PATH, run:
echo 'export PATH="/opt/homebrew/opt/llvm/bin:$PATH"' >> /Users/achao/.bash_profile
For compilers to find llvm you may need to set:
export LDFLAGS="-L/opt/homebrew/opt/llvm/lib"
export CPPFLAGS="-I/opt/homebrew/opt/llvm/include"
==> Summary
🍺 /opt/homebrew/Cellar/llvm/19.1.0: 8,068 files, 1.9GB
==> Running `brew cleanup llvm`...
Removing: /opt/homebrew/Cellar/llvm/18.1.8... (7,722 files, 1.8GB)
==> Upgrading ruby
3.3.4 -> 3.3.5
==> Pouring ruby-3.3.5.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/ruby/3.3.5: 19,852 files, 51.7MB
==> Running `brew cleanup ruby`...
Removing: /opt/homebrew/Cellar/ruby/3.3.4... (19,837 files, 51.7MB)
==> Upgrading glib
2.80.4 -> 2.82.1
==> Installing dependencies for glib: python-packaging
==> Installing glib dependency: python-packaging
==> Pouring python-packaging-24.1.all.bottle.1.tar.gz
🍺 /opt/homebrew/Cellar/python-packaging/24.1: 52 files, 374.5KB
==> Installing glib
==> Pouring glib-2.82.1.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/glib/2.82.1: 504 files, 36.3MB
==> Running `brew cleanup glib`...
Removing: /opt/homebrew/Cellar/glib/2.80.4... (526 files, 36.2MB)
==> Upgrading harfbuzz
9.0.0 -> 10.0.1
==> Installing dependencies for harfbuzz: libpng, freetype and cairo
==> Installing harfbuzz dependency: libpng
==> Pouring libpng-1.6.44.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/libpng/1.6.44: 28 files, 1.3MB
==> Installing harfbuzz dependency: freetype
==> Pouring freetype-2.13.3.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/freetype/2.13.3: 68 files, 2.5MB
==> Installing harfbuzz dependency: cairo
==> Pouring cairo-1.18.2.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/cairo/1.18.2: 53 files, 2.2MB
==> Installing harfbuzz
==> Pouring harfbuzz-10.0.1.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/harfbuzz/10.0.1: 77 files, 9.5MB
==> Running `brew cleanup harfbuzz`...
Removing: /opt/homebrew/Cellar/harfbuzz/9.0.0... (77 files, 9.7MB)
==> Upgrading imagemagick
7.1.1-36 -> 7.1.1-38_2
==> Installing dependencies for imagemagick: jpeg-turbo, libtiff, libarchive, ghostscript, imath, jpeg-xl, aom, liblqr, libomp, libraw and libtool
==> Installing imagemagick dependency: jpeg-turbo
==> Pouring jpeg-turbo-3.0.4.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/jpeg-turbo/3.0.4: 45 files, 3.4MB
==> Installing imagemagick dependency: libtiff
==> Pouring libtiff-4.7.0.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/libtiff/4.7.0: 486 files, 8.4MB
==> Installing imagemagick dependency: libarchive
==> Pouring libarchive-3.7.6.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/libarchive/3.7.6: 65 files, 3.8MB
==> Installing imagemagick dependency: ghostscript
==> Pouring ghostscript-10.04.0.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/ghostscript/10.04.0: 640 files, 121.9MB
==> Installing imagemagick dependency: imath
==> Pouring imath-3.1.12.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/imath/3.1.12: 50 files, 947KB
==> Installing imagemagick dependency: jpeg-xl
==> Pouring jpeg-xl-0.11.0.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/jpeg-xl/0.11.0: 64 files, 35MB
==> Installing imagemagick dependency: aom
==> Pouring aom-3.10.0.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/aom/3.10.0: 24 files, 10MB
==> Installing imagemagick dependency: liblqr
==> Pouring liblqr-0.4.3.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/liblqr/0.4.3: 114 files, 333.3KB
==> Installing imagemagick dependency: libomp
==> Pouring libomp-19.1.0.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/libomp/19.1.0: 9 files, 1.7MB
==> Installing imagemagick dependency: libraw
==> Pouring libraw-0.21.3.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/libraw/0.21.3: 74 files, 5.9MB
==> Installing imagemagick dependency: libtool
==> Downloading https://ghcr.io/v2/homebrew/core/libtool/manifests/2.5.3
Already downloaded: /Users/achao/Library/Caches/Homebrew/downloads/a3fb370c644cf73593e4df8b5c40f2ccb0459d57248d95aba050def3c96414ad--libtool-2.5.3.bottle_manifest.json
==> Pouring libtool--2.5.3.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/libtool/2.5.3: 76 files, 3.9MB
==> Installing imagemagick
==> Pouring imagemagick-7.1.1-38_2.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/imagemagick/7.1.1-38_2: 808 files, 32.4MB
==> Running `brew cleanup imagemagick`...
Removing: /opt/homebrew/Cellar/imagemagick/7.1.1-36... (808 files, 32.3MB)
==> Upgrading keyring
25.3.0 -> 25.4.1
==> Pouring keyring-25.4.1.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/keyring/25.4.1: 156 files, 689.3KB
==> Running `brew cleanup keyring`...
Removing: /opt/homebrew/Cellar/keyring/25.3.0... (155 files, 680KB)
==> Upgrading libssh
0.11.0 -> 0.11.1
==> Pouring libssh-0.11.1.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/libssh/0.11.1: 25 files, 1.4MB
==> Running `brew cleanup libssh`...
Removing: /opt/homebrew/Cellar/libssh/0.11.0... (25 files, 1.4MB)
==> Upgrading unbound
1.20.0 -> 1.21.0
==> Pouring unbound-1.21.0.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/unbound/1.21.0: 59 files, 6.0MB
==> Running `brew cleanup unbound`...
Removing: /opt/homebrew/Cellar/unbound/1.20.0... (59 files, 5.9MB)
==> Upgrading qemu
9.0.2 -> 9.1.0
==> Installing dependencies for qemu: capstone and dtc
==> Installing qemu dependency: capstone
==> Pouring capstone-5.0.3.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/capstone/5.0.3: 31 files, 22.4MB
==> Installing qemu dependency: dtc
==> Pouring dtc-1.7.1.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/dtc/1.7.1: 19 files, 626.3KB
==> Installing qemu
==> Pouring qemu-9.1.0.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/qemu/9.1.0: 165 files, 642.8MB
==> Running `brew cleanup qemu`...
Removing: /opt/homebrew/Cellar/qemu/9.0.2... (164 files, 577.5MB)
==> Upgrading lima
0.22.0 -> 0.23.2
==> Pouring lima-0.23.2.arm64_sequoia.bottle.tar.gz
==> Caveats
Bash completion has been installed to:
/opt/homebrew/etc/bash_completion.d
==> Summary
🍺 /opt/homebrew/Cellar/lima/0.23.2: 109 files, 202.5MB
==> Running `brew cleanup lima`...
Removing: /opt/homebrew/Cellar/lima/0.22.0... (109 files, 175.4MB)
==> Upgrading passenger
6.0.23 -> 6.0.23_1
==> Installing dependencies for passenger: apr
==> Installing passenger dependency: apr
==> Pouring apr-1.7.5.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/apr/1.7.5: 60 files, 1.4MB
==> Installing passenger
==> Pouring passenger-6.0.23_1.arm64_sequoia.bottle.tar.gz
==> Caveats
To activate Phusion Passenger for Nginx, run:
brew install nginx
And add the following to /opt/homebrew/etc/nginx/nginx.conf at the top scope (outside http{}):
load_module /opt/homebrew/opt/passenger/libexec/modules/ngx_http_passenger_module.so;
And add the following to /opt/homebrew/etc/nginx/nginx.conf in the http scope:
passenger_root /opt/homebrew/opt/passenger/libexec/src/ruby_supportlib/phusion_passenger/locations.ini;
passenger_ruby /usr/bin/ruby;
To activate Phusion Passenger for Apache, create /etc/apache2/other/passenger.conf:
LoadModule passenger_module /opt/homebrew/opt/passenger/libexec/buildout/apache2/mod_passenger.so
PassengerRoot /opt/homebrew/opt/passenger/libexec/src/ruby_supportlib/phusion_passenger/locations.ini
PassengerDefaultRuby /usr/bin/ruby
==> Summary
🍺 /opt/homebrew/Cellar/passenger/6.0.23_1: 5,110 files, 201.1MB
==> Running `brew cleanup passenger`...
Removing: /opt/homebrew/Cellar/passenger/6.0.23... (5,110 files, 207.2MB)
==> Upgrading pyenv
2.4.10 -> 2.4.13
==> Pouring pyenv-2.4.13.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/pyenv/2.4.13: 1,232 files, 3.6MB
==> Running `brew cleanup pyenv`...
Removing: /opt/homebrew/Cellar/pyenv/2.4.10... (1,217 files, 3.5MB)
==> Upgrading ruby-build
20240727 -> 20240917
==> Pouring ruby-build-20240917.all.bottle.tar.gz
🍺 /opt/homebrew/Cellar/ruby-build/20240917: 625 files, 342.4KB
==> Running `brew cleanup ruby-build`...
Removing: /opt/homebrew/Cellar/ruby-build/20240727... (622 files, 338.5KB)
==> Upgrading ffmpeg
7.0.2 -> 7.0.2_1
==> Installing dependencies for ffmpeg: mbedtls, sdl2 and svt-av1
==> Installing ffmpeg dependency: mbedtls
==> Pouring mbedtls-3.6.1.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/mbedtls/3.6.1: 200 files, 13.2MB
==> Installing ffmpeg dependency: sdl2
==> Pouring sdl2-2.30.7.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/sdl2/2.30.7: 94 files, 6.4MB
==> Installing ffmpeg dependency: svt-av1
==> Pouring svt-av1-2.2.1.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/svt-av1/2.2.1: 19 files, 2.9MB
==> Installing ffmpeg
==> Pouring ffmpeg-7.0.2_1.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/ffmpeg/7.0.2_1: 287 files, 51.6MB
==> Running `brew cleanup ffmpeg`...
Removing: /opt/homebrew/Cellar/ffmpeg/7.0.2... (287 files, 51.8MB)
==> Upgrading scrcpy
2.6.1 -> 2.7
==> Pouring scrcpy-2.7.arm64_sequoia.bottle.tar.gz
==> Caveats
At runtime, adb must be accessible from your PATH.
You can install adb from Homebrew Cask:
brew install --cask android-platform-tools
==> Summary
🍺 /opt/homebrew/Cellar/scrcpy/2.7: 11 files, 461.0KB
==> Running `brew cleanup scrcpy`...
Removing: /opt/homebrew/Cellar/scrcpy/2.6.1... (11 files, 471.8KB)
==> Upgrading certifi
2024.7.4 -> 2024.8.30
==> Pouring certifi-2024.8.30.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/certifi/2024.8.30: 27 files, 25.8KB
==> Running `brew cleanup certifi`...
Removing: /opt/homebrew/Cellar/certifi/2024.7.4... (27 files, 25.8KB)
==> Upgrading virtualenv
20.26.3 -> 20.26.5
==> Pouring virtualenv-20.26.5.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/virtualenv/20.26.5: 176 files, 7.3MB
==> Running `brew cleanup virtualenv`...
Removing: /opt/homebrew/Cellar/virtualenv/20.26.3... (176 files, 7.0MB)
==> Upgrading cocoapods
1.15.2 -> 1.15.2_1
==> Pouring cocoapods-1.15.2_1.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/cocoapods/1.15.2_1: 13,101 files, 22.5MB
==> Running `brew cleanup cocoapods`...
Removing: /opt/homebrew/Cellar/cocoapods/1.15.2... (13,735 files, 28.8MB)
==> Checking for dependents of upgraded formulae...
==> No broken dependents found!
==> Caveats
==> pipx
Bash completion has been installed to:
/opt/homebrew/etc/bash_completion.d
==> libxml2
libxml2 is keg-only, which means it was not symlinked into /opt/homebrew,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.
If you need to have libxml2 first in your PATH, run:
echo 'export PATH="/opt/homebrew/opt/libxml2/bin:$PATH"' >> /Users/achao/.bash_profile
For compilers to find libxml2 you may need to set:
export LDFLAGS="-L/opt/homebrew/opt/libxml2/lib"
export CPPFLAGS="-I/opt/homebrew/opt/libxml2/include"
For pkg-config to find libxml2 you may need to set:
export PKG_CONFIG_PATH="/opt/homebrew/opt/libxml2/lib/pkgconfig"
==> curl
curl is keg-only, which means it was not symlinked into /opt/homebrew,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.
If you need to have curl first in your PATH, run:
echo 'export PATH="/opt/homebrew/opt/curl/bin:$PATH"' >> /Users/achao/.bash_profile
For compilers to find curl you may need to set:
export LDFLAGS="-L/opt/homebrew/opt/curl/lib"
export CPPFLAGS="-I/opt/homebrew/opt/curl/include"
For pkg-config to find curl you may need to set:
export PKG_CONFIG_PATH="/opt/homebrew/opt/curl/lib/pkgconfig"
==> llvm
To use the bundled libc++ please add the following LDFLAGS:
LDFLAGS="-L/opt/homebrew/opt/llvm/lib/c++ -L/opt/homebrew/opt/llvm/lib -lunwind"
llvm is keg-only, which means it was not symlinked into /opt/homebrew,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.
If you need to have llvm first in your PATH, run:
echo 'export PATH="/opt/homebrew/opt/llvm/bin:$PATH"' >> /Users/achao/.bash_profile
For compilers to find llvm you may need to set:
export LDFLAGS="-L/opt/homebrew/opt/llvm/lib"
export CPPFLAGS="-I/opt/homebrew/opt/llvm/include"
==> lima
Bash completion has been installed to:
/opt/homebrew/etc/bash_completion.d
==> passenger
To activate Phusion Passenger for Nginx, run:
brew install nginx
And add the following to /opt/homebrew/etc/nginx/nginx.conf at the top scope (outside http{}):
load_module /opt/homebrew/opt/passenger/libexec/modules/ngx_http_passenger_module.so;
And add the following to /opt/homebrew/etc/nginx/nginx.conf in the http scope:
passenger_root /opt/homebrew/opt/passenger/libexec/src/ruby_supportlib/phusion_passenger/locations.ini;
passenger_ruby /usr/bin/ruby;
To activate Phusion Passenger for Apache, create /etc/apache2/other/passenger.conf:
LoadModule passenger_module /opt/homebrew/opt/passenger/libexec/buildout/apache2/mod_passenger.so
PassengerRoot /opt/homebrew/opt/passenger/libexec/src/ruby_supportlib/phusion_passenger/locations.ini
PassengerDefaultRuby /usr/bin/ruby
==> scrcpy
At runtime, adb must be accessible from your PATH.
You can install adb from Homebrew Cask:
brew install --cask android-platform-tools
Github-Id-VampireAchao:~ achao$ pipx ensurepath
Success! Added /Users/achao/.local/bin to the PATH environment variable.
Consider adding shell completions for pipx. Run 'pipx completions' for instructions.
You will need to open a new terminal or re-login for the PATH changes to take effect.
Alternatively, you can source your shell's config file with e.g. 'source ~/.bashrc'.
Otherwise pipx is ready to go! ✨ 🌟 ✨
Github-Id-VampireAchao:~ achao$ sudo pipx ensurepath --global
Password:
/usr/local/bin is already in PATH.
⚠️ All pipx binary directories have been appended to PATH. If you are sure you want to proceed,
try again with the '--force' flag.
Otherwise pipx is ready to go! ✨ 🌟 ✨
Github-Id-VampireAchao:~ achao$
我们演示一下使用
# 查看安装的python应用列表
Github-Id-VampireAchao:~ achao$ pipx list
nothing has been installed with pipx 😴
# 安装cowsay
Github-Id-VampireAchao:~ achao$ pipx install cowsay
installed package cowsay 6.1, installed using Python 3.12.6
These apps are now globally available
- cowsay
⚠️ Note: '/Users/achao/.local/bin' is not on your PATH environment variable. These apps will not
be globally accessible until your PATH is updated. Run `pipx ensurepath` to automatically add
it, or manually modify your PATH in your shell's config file (e.g. ~/.bashrc).
done! ✨ 🌟 ✨
# 查看列表
Github-Id-VampireAchao:~ achao$ pipx list
venvs are in /Users/achao/.local/pipx/venvs
apps are exposed on your $PATH at /Users/achao/.local/bin
manual pages are exposed at /Users/achao/.local/share/man
package cowsay 6.1, installed using Python 3.12.6
- cowsay
# 使用cowsay
Github-Id-VampireAchao:~ achao$ cowsay -t moooo
-bash: cowsay: command not found
# 刚安装,更新下环境变量
Github-Id-VampireAchao:~ achao$ source ~/.bash_profile
# 再次使用
Github-Id-VampireAchao:~ achao$ cowsay -t moooo
_____
| moooo |
=====
\
\
^__^
(oo)\_______
(__)\ )\/\
||----w |
|| ||
# 卸载cowsay
Github-Id-VampireAchao:~ achao$ pipx uninstall cowsay
uninstalled cowsay! ✨ 🌟 ✨
# 查看列表
Github-Id-VampireAchao:~ achao$ pipx list
nothing has been installed with pipx 😴
# 检查是否成功卸载
Github-Id-VampireAchao:~ achao$ cowsay -t moooo
-bash: /Users/achao/.local/bin/cowsay: No such file or directory
Github-Id-VampireAchao:~ achao$