You are not logged in.
Pages: 1
Hello Arch Forums. I recently downloaded a zip file from the AUR and extracted it in my home folder. I attempted to install it after reading the related part in the Arch Wiki:
Installing packages from the AUR is a relatively simple process. Essentially:
Acquire the tarball which contains the PKGBUILD and possibly other required files
Extract the tarball (preferably in a folder set aside just for builds from the AUR)
Run makepkg in the directory where the files are saved ("makepkg -s" will auto-resolve dependencies with pacman)
However when I get to the part about running makepkg I get an error saying: PKGBUILD does not exist. I've refered to the pkgbuild section and the makepkg section. What am I missing?
Last edited by xworld (2012-06-13 23:46:04)
Offline
Which package are you talking about ?
Offline
You don't need to download the tarball or worry about most of that. Just get the PKGBUILD from the AUR page, and run makepkg in the same directory as where you save it.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
You don't need to download the tarball or worry about most of that. Just get the PKGBUILD from the AUR page, and run makepkg in the same directory as where you save it.
Unless the PKGBUILD calls an install file or some other resource that may be included in the tarball...
Offline
Actually it is a zip file. I downloaded the archey zip file. So you are saying that I don't need to extract it I just need to download the file and run makepkg in the right directory?
Offline
There is no zip file on the Archey AUR page: it is a tar.gz file...
Acquire the tarball which contains the PKGBUILD and possibly other required files
Extract the tarball (preferably in a folder set aside just for builds from the AUR)
Run makepkg in the directory where the files are saved ("makepkg -s" will auto-resolve dependencies with pacman)
Offline
Actually it is a zip file. I downloaded the archey zip file. So you are saying that I don't need to extract it I just need to download the file and run makepkg in the right directory?
archey (AUR) is fine ( tar.gz, PKGBUILD included ), so .. Try again
Offline
Actually it is a zip file. I downloaded the archey zip file. So you are saying that I don't need to extract it I just need to download the file and run makepkg in the right directory?
Download archey.tar.gz and extract it or just download the PKGBUILD (since there are no extra files)
mkdir /tmp/build_archey
cd /tmp/build_archey
wget https://aur.archlinux.org/packages/ar/archey/PKGBUILD
makepkg -s
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Online
Hmm. Ok so instead I ran wget https://aur.archlinux.org/packages/arch … ey3.tar.gz. Then then tar xfvz archey3.tar.gz and then cd'd to archey3 and ran makepkg. Then ran pacman. Thanks for the fast responses everyone.
Offline
I hate to bring up an old topic and I assure you all that I've done the proper reading, but this just doesn't make any sense. I am trying to install a package from the AUR and I downloaded the tarball. I then ran tar xfvz 'aforementioned package'. The I cd'd to the folder that was created and ran makepkg. I get the same error as I did before: PKGBUILD does not exist. I don't understand why every package has a special way to install it.
Offline
I hate to bring up an old topic and I assure you all that I've done the proper reading, but this just doesn't make any sense. I am trying to install a package from the AUR and I downloaded the tarball. I then ran tar xfvz 'aforementioned package'. The I cd'd to the folder that was created and ran makepkg. I get the same error as I did before: PKGBUILD does not exist. I don't understand why every package has a special way to install it.
It doesn't. You're either (1) doing it wrong, or (2) the package is broken. Check for (2), but my money's on (1).
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
The method I mentioned worked for the archey package. So if every package is installed the same way than this should work just fine.
Offline
So if every package is installed the same way than this should work just fine.
Unless the PKGBUILD calls an install file or some other resource that may be included in the tarball...
Or, you could just read the wiki and learn how to do it properly...
Offline
Which package are you having trouble with?
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Pages: 1