#author("2025-10-01T00:01:50+09:00","","")
#author("2025-10-01T12:17:15+09:00","","")
[[Computer/Mac/OSX]]

*macOS Tahoe [#de2d6ac3]

**バージョン [#le87245b]

|~Product|~Build|~Darwin|~xnu|~Safari|~日付|~備考|
|26.0.1||25.0.0|xnu-|26.0|2025/09/30||
|26.0.1|25A362|25.0.0|xnu-12377.1.9~141|26.0.1|2025/09/30||
|26.0|25A354|25.0.0|xnu-12377.1.9~3|26.0|2025/09/16||

-Command Line Tools: 26.0 (2025/09)
-iWorks (Numbers, Pages, Keynote): 14.4 (2025/09)

**インストールと設定 [#f01edf8e]

+インストーラの確認
 $ softwareupdate --fetch-full-installer --list-full-installers
+インストーラのダウンロード
 $ softwareupdate --fetch-full-installer --full-installer-version 26.0
+インストールメディアを作成(Sequoiaからは16GBのメディアでは容量不足になる)
 $ sudo /Applications/Install\ macOS\ Tahoe.app/Contents/Resources/createinstallmedia --volume /Volumes/VolumeName
+rosetta2.
 $ sudo softwareupdate --install-rosetta
+HL-5350DNのmacOS 10.15 (Catalina)用ドライバ(Brother_PrinterDrivers_MonochromeLaser_1_5_0.dmg等)をインストールするとBrother HL-5270DNが使えるようになる.モデルが違うので,使うときは自己責任で.
+[システム設定]-[デスクトップとDock]-[デスクトップとステージマネージャ]で「壁紙をクリックしてデスクトップを表示」を「ステージマネージャ使用時のみ」にする.
+[デスクトップとDock]-[ウィンドウをメニューバーにドラッグしてフルスクリーン表示]Off.
+[システム設定]-[キーボード]-「キーボードナビゲーション」をOnにするとTabキーでフォーカスを移動できるようになる.
+crontabでrsyncなどを用いてバックアップをしている場合,権限がないと‘rsync: failed to set times on ...: Operation not permitted (1)’などとなって実行できないことがある.[システム環境設定]-[プライバシーとセキュリティー]-「フルディスクアクセス」にcronを登録する.cronを登録するときは,ファイルを選択する画面で[Shift] + [Command] + [g]を押して/usr/sbin/cron(sbinであることに注意)を開く.シンボリックリンクを適当なディレクトリに作成してそれを指定してもよい.実体の方が登録されるのでシンボリックリンクは後で消してもOK.
+''文字ビューア'':入力メニューの「絵文字と記号を表示」を使うのは今までと同じ.デフォルトでは画面が展開されていないので,リストに「Unicode」などを追加することができない.右上の展開ボタン(ウィンドウのアイコン)を押すと展開される.
+Pathの設定.
--/etc/paths.d/
+atサービスの有効化.これで~/.crontabは有効になる.
 $ sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.atrun.plist
+crontabの読み込み.
 $ crontab <crontab_bak.txt
+ソフトウェアのインストール
--CommandLineTools
--iWorks (Pages, Numbers, Keynote)
--Acrobat Reader
--VLC
--pdftk
--ffmpeg. arm64では次の作業が必要.
 $ xattr -cr ffmpeg
 $ codesign -s - ffmpeg
+GnuPG for OS X
 $ sudo ln -s /usr/local/gnupg-2.4/bin/gpg-agent /usr/local/bin/
 $ sudo ln -s /usr/local/gnupg-2.4/bin/gpg-connect-agent /usr/local/bin/
+gpgの設定(1): ~/.gnupg/gpg-conf
 #no-auto-key-retrieve
 keyserver-options no-auto-key-retrieve
 auto-key-locate local
+gpgの設定(2): ~/.gnupg/gpg-agent.conf
 pinentry-program /usr/local/bin/mew-pinentry
+Emacs for Mac OS X. リンクを張っておくとターミナルでも利用できる.
 $ sudo ln -s /Applications/Emacs.app/Contents/MacOS/Emacs /usr/local/bin/emacs
+古いバージョンのmacOSへのsshでのアクセスでエラーが出るとき.

**コンパイル [#l4a469d7]

+gmp (-> nettle)
 $ ./configure --enable-cxx && make && make check
+m4, autoconf, automake, libtool
+pcre2
+openssl3
 $ ./config --prefix=/usr/local/ssl/macos-arm64 --openssldir=/usr/local/ssl/macos-arm64
 $ make depend && make && make test
+nettle
 $ ./configure --disable-static && make
+pkg-config (-> gnutls, wget2) https://gitlab.freedesktop.org/pkg-config/pkg-config/-/issues/81
 $ CFLAGS="-Wno-int-conversion" CXXFLAGS="-Wno-int-conversion" ./configure --with-internal-glib && make
+texinfo
+libunistring (-> gnutls)
+libtasn1 (-> gnutls)
+gnutls
 $ ./configure --without-p11-kit --disable-doc && make
+wget2
 $ ./configure --with-ssl=/path/to/openssl
+nkf
+stunnel
 $ ./configure --disable-libwrap --with-ssl=/usr/local/ssl/macos-arm64/
+ghostscript
 $ ./configure --disable-compile-inits --without-x --disable-cups --without-tesseract --prefix=/usr/local && make
+readline (> lftp)
+libidn2 (> lftp)
+lftp-4.9.3(‘Old files’の‘file archive’のリンクからダウンロードする)
 $ ./configure --without-gnutls --with-openssl=/usr/local/ssl
+perl
 $ sudo perl -MCPAN -e shell
 (セットアップ)
 > o conf makepl_arg "INSTALLBIN=/usr/local/bin INSTALLSCRIPT=/usr/local/bin"
 > o conf commit
 > install CPAN
 > reload CPAN
 > install String::MkPasswd
 > install Spreadsheet::Read
 > install Text::CSV_XS
 > install Spreadsheet::ParseXLSX
 > install Excel::Writer::XLSX
 > install Spreadsheet::XLSX
 > install Text::Iconv

**TeX Live 2025の自動アップデート(launchd) [#t96e24ae]

+次のような自動アップデート用スクリプトを/usr/local/sbin/tl2025updに作成する.
 #!/bin/sh
 
 export PATH=/usr/local/texlive/2025/bin/universal-darwin:$PATH
 
 echo "TeX Live 2025 update process started at `LANG=en_US.UTF date`"
 tlmgr update --self --all
 echo ""
+パーミッションと所有者の設定.
 $ sudo chmod 755 /usr/local/sbin/tl2025upd
 $ sudo chown root:wheel /usr/local/sbin/tl2025upd
+次の内容で/Library/LaunchDaemons/com.home.tl2025upd.plistを作成し,パラメータを適宜変更する.以下の内容だと22:00に実行される.
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
         "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
 <plist version="1.0">
  <dict>
    <key>Label</key>
    <string>tlupd</string>
    <key>ProgramArguments</key>
    <array>
      <string>/usr/local/sbin/tl2025upd</string>
    </array>
    <key>StartCalendarInterval</key>
    <array>
        <dict>
            <key>Hour</key>
                <integer>22</integer>
            <key>Minute</key>
                <integer>0</integer>
        </dict>
    </array>
 
    <key>StandardErrorPath</key>
        <string>/var/log/tl2025upd_errors.log</string>
    <key>StandardOutPath</key>
        <string>/var/log/tl2025upd_errors.log</string>
  </dict>
+パーミッションと所有者の設定.
 $ sudo chmod 644 /Library/LaunchDaemons/com.home.tl2025upd.plist
 $ sudo chown root:wheel /Library/LaunchDaemons/com.home.tl2025upd.plist
+構文チェック.
 $ plutil -lint /Library/LaunchDaemons/com.home.tl2025upd.plist
+登録.
 $ sudo launchctl load /Library/LaunchDaemons/com.home.tl2025upd.plist
+ログファイルの確認.
 $ tail /var/log/tl2025upd_errors.log

トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS