following is terminal display when I am trying to install synology-drive…
[jack@endeavour ~]$ yay -S synology-drive
AUR Explicit (1): synology-drive-4.0.3_17892-1
Sync Make Dependency (1): qt5-tools-5.15.19+kde+r3-1
:: (1/1) Downloaded PKGBUILD: synology-drive
1 synology-drive (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> Ab
→ aborting due to user
[jack@endeavour ~]$
I aborted because I don’t know what to select. I have never installed with YAY before and I’m coming to Endeavour OS from MX-Linux. Any help is appreciated.
If you press enter it uses the default. That’s normally the way to proceed. If you want to clean build the package you put either A for all or select one of the other options. Pressing enter bypasses all of these options and it will just proceed with the install or update of the package.
When you build software, it first builds from scratch. Thereafter it only builds what has changed to save time. A clean build will once again build from scratch.
Packages that are build by yay are stored in .cache/yay for later reference (e.g. updates) a clean build will delete that package from the cache and gets build like it was a new install.
Clean build is the package build is downloaded and built from the downloaded package. Otherwise If you had a certain AUR package already installed and you are updating it uses the cached package build that already exists if it hasn’t been removed. Or you may have changed the current package build by editing it. So if you select clean build it re-downloads the package build from the AUR using the current package build in case it may have changed or you don’t have it in cache. Hopefully I’m correct on this info as I am also not an expert but this is how I believe that it works and I do use it myself.