gh auth login
? What account do you want to log into? GitHub.com
? What is your preferred protocol for Git operations on this host? HTTPS
? Authenticate Git with your GitHub credentials? Yes
? How would you like to authenticate GitHub CLI? Paste an authentication token
Tip: you can generate a Personal Access Token here https://github.com/settings/tokens
The minimum required scopes are 'repo', 'read:org', 'workflow'.
? Paste your authentication token: *********- gh config set -h github.com git_protocol https
âś“ Configured git protocol
! Authentication credentials saved in plain text
âś“ Logged in as Rabcor
followed by
yay -S unreal-engine
...
...
==> Starting prepare()...
==> ERROR: You must register at unrealengine.com and link your github account to access this private repo. See the wiki for more info: https://wiki.archlinux.org/index.php/Unreal_Engine_4
-> error making: unreal-engine-exit status 1
-> Failed to install the following packages. Manual intervention is required:
unreal-engine - exit status 1
GitHub has very nicely written article on setting up SSH authentication
If you don’t have SSH key, then follow this: (otherwise skip)
And this is last step (necessary):
Alternatively, you can install unreal-engine-bin which I believe doesn’t need GitHub access.
yay -S unreal-engine-bin
Do note the maintainer’s pinned comment on the listing:
To build this package, you need to:
Login using you epic account and download the zip file from https://www.unrealengine.com/linux
Move the zip file to the same directory as PKGBUILD and install the package using command makepkg -si
Note: Do NOT disable IPv6 as the zen server needs it to start. Please vote for the package if you think it's helpful ;-)
i got it, with gh auth login, i just had to select ssh instead of http, it handled the rest automatically so long as the auth key had the correct permissions.
Also the bin package requires you to download the binaries manually, it doesn’t auto download them (which is kidna odd because after logging in to epic games to download the engine, you can literally just copy paste the download link and it’ll work without being logged in)