Best/quick approach to install AUR package when AUR disabled?

Hello, i have not yet needed to enable AUR.
From official repo i have installed stardict translator “sudo pacman -S stardict”
But see no czech dictionary in official repo. Thought found in AUR:
https://aur.archlinux.org/packages/stardict-cz/
https://aur.archlinux.org/packages/stardict-en-cz/
So what is most simple and best way to quickly install these from command line and then disable AUR? (assuming i do not need updates for these packages)

Execute in terminal

pamac build stardict-cz startdict-en-cz

thx, it says:
Error: target not found: startdict-en-cz

That was intentional copy/paste test. Check the spelling.

1 Like

@postcd, please read this also: Arch User Repository - ArchWiki before you go installing AUR packages…

1 Like

Well i trust more copy paste than my typing. Please do not make intentional typos. That pacman build command worked as mentioned above. But the transaction failed due to 404 download URL:

Building stardict-cz...
==> Making package: stardict-cz 20140101-1 (Út 20. října 2020, 15:46:11)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading stardict-czech-20140101.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404 
==> ERROR: Failure while downloading http://dl.cihar.com/slovnik/stardict-czech-20140101.tar.gz
    Aborting...
Error: Failed to build stardict-cz

So i was searching for that .tar.gz filename on the internet and found likely new URL:
https://dl.cihar.com/slovnik/stable/stardict-czech-20140101.tar.gz

I trust the source so i go to my apps directory: cd;cd apps
and download package: git clone https://aur.archlinux.org/stardict-cz.git
go to the directory: cd stardict-cz
replace URL: nano PKGBUILD
install: makepkg -is PKGBUILD

restart stardict and it seems that manual installation worked, but not the “pamac build” one, i had to do the same for stardict-en-cz.

2 Likes

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.