pacman -S git
↓
pacman -S sudo
↓
EDITOR=nano visudo
↓
82
# %wheel ALL=(ALL) ALL
↓
82
%wheel ALL=(ALL) ALL
↓
Required to download yay from git
↓
pacman -S git
↓
yay requires general users from the viewpoint of security
useradd -m -G wheel username
↓
passwd username
↓
**********
↓
**********
↓
su username
↓
cd
Go to the document root of general users
↓
git clone https://aur.archlinux.org/yay.git
↓
cd yay
↓
makepkg -si
↓
cd ~/home/username/yay
↓
makepkg -c
↓
yay -Syua
AUR package full update
yay -S ??????
Install package
yay -Si ??????
Check the details of the package
yay -Rs ??????
Remove all dependent packages and package
yay -Sca
Delete cache for yay
yay -Yc
Remove packages that are no longer dependent
yay | Update package
yay -Ss ??? | Search for packages
yay -S ??? | Install package
yay -R ??? | Remove package
yay -Rs ??? | Remove all dependent packages and package
yay -Sy | Update installation source information
yay -Qdtq | Remove dependent packages that you no longer need
yay -Rs - | Delete packages that do not exist in the repository
yay -Sw ??? | Download package only
yay -Si ??? | View remote package information
yay -Qi ??? | View local package information
yay -Ql ??? | View files in local packages
yay -Fl ??? | View files in remote packages
yay -Qo ??? | Show which package the file is in
yay -Fo ??? | Show packages that contain the specified file
yay -Q | View installed local packages and versions
yay -Qt | Show packages that are not needed
yay -U ??? | Install local package file
yay -Ps | View system statistics
yay -Yc | Remove packages that are no longer dependent
yay -G | Download PKGBUILD from ABS or AUR
sudo makepkg -s ??? | Build package
yay -Y --gendb | Generate a development package database used for development updates when the git package is updated but not updated
yay -Syu --devel --timeupdate | Check for development package updates as well as system updates and update using PKGBUILD change time (not version number)
### operations:オペレーション
yay {-h --help} / ヘルプ
yay {-V --version} / バージョン
yay {-D --database} <options> <package(s)> / データベース
yay {-F --files} [options] [package(s)] / ファイル
yay {-Q --query} [options] [package(s)] / クエリ
yay {-R --remove} [options] <package(s)> / 削除
yay {-S --sync} [options] [package(s)] / 同期
yay {-T --deptest} [options] [package(s)] / depテスト
yay {-U --upgrade} [options] <file(s)> / アップグレード
### New operations:新しいオペレーション
yay {-Y --yay} [options] [package(s)] /
yay {-P --show} [options] / 表示
yay {-G --getpkgbuild} [package(s)] / パッケージビルドを表示
### New options:新しいオプション
--repo Assume targets are from the repositories / レポジトリから参照する
-a --aur Assume targets are from the AUR / AURから参照
### Permanent configuration options:永続的な構成オプション
--save Causes the following options to be saved back to the config file when used / 設定ファイルに保存
--aururl <url> Set an alternative AUR URL / 代替のAUR URLを設定
--builddir <dir> Directory used to download and run PKBUILDS / PKBUILDSのダウンロードと実行に使用されるディレクトリ
--editor <file> Editor to use when editing PKGBUILDs / PKGBUILDを編集するときに使用するエディター
--editorflags <flags> Pass arguments to editor / 引数をエディターに渡す
--makepkg <file> makepkg command to use / 使用するmakepkgコマンドを指定
--mflags <flags> Pass arguments to makepkg / makepkgに引数を渡す
--pacman <file> pacman command to use / pacmanコマンドを使用
--tar <file> bsdtar command to use / bsdtarコマンドを使用
--git <file> git command to use / gitコマンドを使用
--gitflags <flags> Pass arguments to git / gitに引数を渡す
--gpg <file> gpg command to use / gpgコマンドを使用
--gpgflags <flags> Pass arguments to gpg / gpgに引数を渡す
--config <file> pacman.conf file to use / pacman.confを使用
--makepkgconf <file> makepkg.conf file to use / makepkg.confを使用
--nomakepkgconf Use the default makepkg.conf / デフォルトのmakepkg.confを使用
--requestsplitn <n> Max amount of packages to query per AUR request
--completioninterval <n> Time in days to to refresh completion cache / 完了キャッシュを更新するための数を指定
--sortby <field> Sort AUR results by a specific field during search / 検索中に特定のフィールドでAURの結果を並べ替え
--answerclean <a> Set a predetermined answer for the clean build menu / クリーンビルドメニューに所定の回答を設定する
--answerdiff <a> Set a predetermined answer for the diff menu / 差分メニューに所定の回答を設定する
--answeredit <a> Set a predetermined answer for the edit pkgbuild menu / pkgbuildの編集メニューに所定の回答を設定する
--answerupgrade <a> Set a predetermined answer for the upgrade menu / アップグレードメニューに所定の回答を設定
--noanswerclean Unset the answer for the clean build menu / クリーンビルドメニューの回答を解除
--noanswerdiff Unset the answer for the edit diff menu / 差分編集メニューの回答の設定を解除
--noansweredit Unset the answer for the edit pkgbuild menu / pkgbuildの編集メニューの回答の設定を解除
--noanswerupgrade Unset the answer for the upgrade menu / アップグレードメニューの回答を解除
--cleanmenu Give the option to clean build PKGBUILDS / PKGBUILDSをクリーンビルドするオプションを提供
--diffmenu Give the option to show diffs for build files / ビルドファイルの差分を表示するオプションを提供
--editmenu Give the option to edit/view PKGBUILDS / PKGBUILDSを編集/表示するオプションを提供
--upgrademenu Show a detailed list of updates with the option to skip any / 更新の詳細リストを表示し、スキップするオプションを選択
--nocleanmenu Don't clean build PKGBUILDS / ビルドPKGBUILDSをクリーンアップしない
--nodiffmenu Don't show diffs for build files / ビルドファイルの差分を表示しない
--noeditmenu Don't edit/view PKGBUILDS / PKGBUILDSを編集/表示しない
--noupgrademenu Don't show the upgrade menu / アップグレードメニューを表示しない
--askremovemake Ask to remove makedepends after install / インストール後にmakedependsを削除するように依頼
--removemake Remove makedepends after install / インストール後にmakedependsを削除
--noremovemake Don't remove makedepends after install / インストール後にmakedependsを削除しない
--afterclean Remove package sources after successful install / インストールが成功した後にパッケージソースを削除
--noafterclean Do not remove package sources after successful build / ビルドが成功した後でパッケージソースを削除しない
--bottomup Shows AUR's packages first and then repository's / AURのパッケージを最初に表示し、次にリポジトリのパッケージを表示
--topdown Shows repository's packages first and then AUR's / 最初にリポジトリのパッケージを表示し、次にAURを表示
--devel Check development packages during sysupgrade / sysupgrade中の開発パッケージを確認
--nodevel Do not check development packages / 開発パッケージをチェックしない
--gitclone Use git clone for PKGBUILD retrieval / PKGBUILDの取得にgit cloneを使用
--nogitclone Never use git clone for PKGBUILD retrieval / PKGBUILDの取得にgit cloneを使用しない
--rebuild Always build target packages / 常にターゲットパッケージをビルド
--rebuildall Always build all AUR packages / 常にすべてのAURパッケージをビルド
--norebuild Skip package build if in cache and up to date / キャッシュ内が最新の場合、パッケージのビルドをスキップ
--rebuildtree Always build all AUR packages even if installed / インストールされている場合でも常にすべてのAURパッケージをビルド
--redownload Always download pkgbuilds of targets / 常にターゲットのpkgbuildをダウンロード
--noredownload Skip pkgbuild download if in cache and up to date / キャッシュ内が最新の場合、pkgbuildのダウンロードをスキップ
--redownloadall Always download pkgbuilds of all AUR packages / すべてのAURパッケージのpkgbuildsを常にダウンロード
--provides Look for matching provders when searching for packages / パッケージを検索するときに一致するプロバイダーを探す
--noprovides Just look for packages by pkgname / pkgnameでパッケージを探す
--pgpfetch Prompt to import PGP keys from PKGBUILDs / PKGBUILDからPGPキーをインポートするように要求
--nopgpfetch Don't prompt to import PGP keys / PGPキーのインポートを要求しない
--useask Automatically resolve conflicts using pacman's ask flag / pacmanの質問フラグを使用して競合を自動的に解決
--nouseask Confirm conflicts manually during the install / インストール中に手動で競合を確認
--combinedupgrade Refresh then perform the repo and AUR upgrade together / 更新してから、リポジトリとAURのアップグレードを一緒に実行
--nocombinedupgrade Perform the repo upgrade and AUR upgrade separately / リポジトリのアップグレードとAURのアップグレードを個別に実行
--sudoloop Loop sudo calls in the background to avoid timeout / タイムアウトを回避するために、sudo呼び出しをバックグラウンドでループ
--nosudoloop Do not loop sudo calls in the background / バックグラウンドでsudo呼び出しをループしない
--timeupdate Check packages' AUR page for changes during sysupgrade / sysupgrade中の変更についてパッケージのAURページを確認
--notimeupdate Do not check packages' AUR page for changes / パッケージのAURページの変更をチェックしない
### show specific options:特定のオプションを表示
-c --complete Used for completions / 補完に使用
-d --defaultconfig Print default yay configuration / デフォルトのyay設定を印刷
-g --currentconfig Print current yay configuration / 現在のyay設定を印刷
-s --stats Display system package statistics / システムパッケージの統計情報を表示
-w --news Print arch news / アーチニュースを印刷
### yay specific options:yayの特定のオプション
-c --clean Remove unneeded dependencies / 不要な依存関係を削除
--gendb Generates development package DB used for updating / 更新に使用する開発パッケージDBを生成
### getpkgbuild specific options:getpkgbuild固有のオプション
-f --force Force download for existing tar packages / 既存のtarパッケージの強制ダウンロード
↓
Thank you for watching until the end. I'm glad if you can use it as a reference.
↓
We will continue to update useful information. I am delighted to jump to your help. Thank you very much.