-
You can modify path display with any one of the following commands, which substitutes all occurrences of
:
with new lines\n
. -
sed
:
$ sed 's/:/\n/g' <<< "$PATH"
tr
:
$ tr ':' '\n' <<< "$PATH"
You can modify path display with any one of the following commands, which substitutes all occurrences of :
with new lines \n
.
sed
:
$ sed 's/:/\n/g' <<< "$PATH"
tr
:$ tr ':' '\n' <<< "$PATH"
Macports
.sudo port install pkgconfig openssl zlib xz gdbm tcl tk +quartz sqlite3 sqlite3-tcl
GDBM_CFLAGS="-I$(dirname $(dirname $(which port)))/include" \
GDBM_LIBS="-L$(dirname $(dirname $(which port)))/lib -lgdbm" \
pyenv install 3.11.5
File
--> Show Files
(Command + I
).Another useful thing to do is look at the install log.
Window
--> Installer Log
(Command + L
)
pkg
is still relevant, but you may not have it anymore) use the lsbom
command. An example:lsbom -f /var/db/receipts/com.growl.growl.pkg.bom
Removing the app does not completely uninstall that version of Python. You will need to remove the framework directories and their symbolic links.
Deleting the frameworks
sudo rm -rf /Library/Frameworks/Python.framework/Versions/[version number]
replacing [version number] with 3.10 in your case.
Removing symbolic links
To list the broken symbolic links.
ezntfs list
disk0s4: BOOTCAMP [350.2 GB] -- mounted: yes
sudo ezntfs disk0s4
Volume: BOOTCAMP [350.2 GB]
BOOTCAMP is already writable.
eval "$(pyenv init -)"
TL;DR set the env. vars. mentioned in tcl-tk
's caveats and this GitHub comment when installing new Pythons via pyenv to get tkinter
.
If you need to have tcl-tk first in your PATH run:
echo 'export PATH="/usr/local/opt/tcl-tk/bin:$PATH"' >> ~/.zshrc
caffeinate -i -w $$ &
-i
flag tells caffeinate to prevent idle sleep.-w
flag tells caffeinate to wait until the specified process finishes.$$
is a shell variable containing the current PID. Together with the -w
flag this tells caffeinate to prevent sleep for the duration of the shell script.&
runs the command in the background so the script can continue running.Edit adguardhome.yaml
.
nano /etc/adguardhome.yaml
Find:
docker-compose pull
to download the old version (if you don't have it yet)
docker-compose stop pihole