osx:commandlinetools
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン次のリビジョン両方とも次のリビジョン | ||
osx:commandlinetools [2020/12/31 19:39] – [MacPorts版] kimi | osx:commandlinetools [2024/03/05 11:41] – [ソースコードの入手] kimi | ||
---|---|---|---|
行 1: | 行 1: | ||
====== コマンドラインツールのインストール ====== | ====== コマンドラインツールのインストール ====== | ||
+ | ===== 基本の手作業 ===== | ||
+ | |||
+ | 例えばtreeをインストールすることを考えよう。 | ||
+ | - ソースコードを入手する | ||
+ | - ロードモジュールを作る | ||
+ | - システムにインストールする | ||
+ | という手順が必要になる。 | ||
+ | ==== ソースコードの入手 ==== | ||
+ | '' | ||
+ | |||
+ | ==== ロードモジュールの作成 ==== | ||
+ | '' | ||
+ | |||
+ | ダウンロードしてきた'' | ||
+ | - システムにインストールする | ||
+ | |||
===== MacPorts版 ===== | ===== MacPorts版 ===== | ||
- MacPortsのインストール([[https:// | - MacPortsのインストール([[https:// | ||
- | - sudo port -v selfupdate<code sh>% sudo port -v selfupdate | + | - Selfupdate<code sh>% sudo port -v selfupdate |
Password: | Password: | ||
---> | ---> | ||
行 13: | 行 29: | ||
Nothing to upgrade. | Nothing to upgrade. | ||
% </ | % </ | ||
+ | - Search< | ||
+ | . | ||
+ | . | ||
+ | . | ||
+ | wget @1.20.3_3 (net, www) | ||
+ | internet file retriever | ||
+ | . | ||
+ | . | ||
+ | . | ||
+ | % </ | ||
+ | - Install< | ||
+ | Password: | ||
+ | ---> | ||
+ | The following dependencies will be installed: | ||
+ | . | ||
+ | . | ||
+ | . | ||
+ | wget has the following notes: | ||
+ | To customize wget, you can copy / | ||
+ | / | ||
+ | % wget | ||
+ | |||
+ | wget: URLがありません | ||
+ | 使い方: wget [オプション]... [URL]... | ||
+ | |||
+ | 詳しいオプションは `wget --help' | ||
+ | % which wget | ||
+ | / | ||
+ | % </ | ||
+ | |||
+ | |||
===== MacPorts版 ===== | ===== MacPorts版 ===== |
osx/commandlinetools.txt · 最終更新: 2024/03/05 12:10 by kimi