# yay 套件管理器安裝與設定指引

# 安裝

  1. Prepare build environment.
sudo pacman -Sy base-devel
1
  1. Prepare workspace to build.
cd
mkdir build && cd $_
1
2
  1. Install yay package.
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
1
2
3

# 設定

N/A

# 驗證

Install Chrome from Terminal.

  1. Install from source.
yay -S google-chrome
1
  1. Verify.
which google-chrome-stable

google-chrome-stable
1
2
3
  1. Configure shortcut.
ln -sfn $(which google-chrome-stable) ~/.local/bin/google-chrome
1

# 參考

How to Install Google Chrome Web Browser on Debian 10 Linux (opens new window)

  1. Open the terminal.

    [Ctrl] + [Alt] + [T]

  2. Download the latest Google Chrome .deb package.

wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
1
  1. Installing Google Chrome
sudo apt install ./google-chrome-stable_current_amd64.deb
1
  1. Start Google Chrome from Terminal
$ google-chrome
1