Winetricksにインストールされている動詞のリストを取得する方法

Winetricksにインストールされている動詞のリストを取得する方法

ワインプレフィックスにどの動詞がインストールされているかどうかを確認します。

インストールされているものだけをリストしたいです。たとえば、aptパッケージマネージャでインストールされているapt list --installedパッケージを表示するように入力できます。そんなこと。

ベストアンサー1

Linux や同様のシステムの他のほとんどのプログラムと同様に、追加は実行時に配信できる--helpコンテンツの概要を印刷します。したがって、verbs出力から適切な文字列を取得できます。

$ winetricks --help | grep verbs
Executes given verbs.  Each verb installs an application or changes a setting.
    --verify          Run (automated) GUI tests for verbs, if available
list-all              list all categories and their verbs
apps list             list verbs in category 'applications'
benchmarks list       list verbs in category 'benchmarks'
dlls list             list verbs in category 'dlls'
fonts list            list verbs in category 'fonts'
games list            list verbs in category 'games'
settings list         list verbs in category 'settings'
list-cached           list cached-and-ready-to-install verbs
list-download         list verbs which download automatically
list-manual-download  list verbs which download with some help from the user
list-installed        list already-installed verbs

ご覧のとおり、オプションの1つは " list all categories and their verbs"コマンドですので、以下を試してください。

winetricks list-all

で始まる他のものがたくさんありlist al…、編集された質問で要求された内容もその一つです。

winetricks list-installed

おすすめ記事