You are not logged in.
So I want to install VirtualBox (PUEL), it the how to tells me to get it from AUR so I run "pacman -S virtualbox_bin" and I get this:
virtualbox_bin package not found, searching for group...
error: 'virtualbox_bin': not found in sync db
I made a topic a week or two ago and after about 10 replies I still had no idea what to do. I downloaded it directly from the VirtualBox website and all I got was a .run file and I have no idea what to do with it.
Offline
virtualbox_bin isn't in community. you need to search on http://aur.archlinux.org for virtualbox_bin and download tarball.
extract it and run makepkg -i
Give what you have. To someone, it may be better than you dare to think.
Offline
[root@JORDAN-CD3CDA3B jordanwb]# pacman -U virtualbox_bin.tar.gz
loading package data...
error: 'virtualbox_bin.tar.gz': cannot open package file
I can download it with "wget http://aur.archlinux.org/packages/virtualbox_bin/virtualbox_bin.tar.gz" though.
I run the pacman -U whatever:
[root@JORDAN-CD3CDA3B jordanwb]# pacman -U virtualbox_bin.tar.gz
loading package data...
error: missing package metadata in virtualbox_bin.tar.gz
error: 'virtualbox_bin.tar.gz': invalid or corrupted package
Last edited by jordanwb (2008-09-18 18:31:17)
Offline
Things from AUR aren't actual packages, just what you need to make your own package. Like wonder said extract it (tar xzvf), change to the directory it creates, than run makepkg -i. Assuming there aren't any errors it will give you a package that you install with pacman -U.
Offline
There we go. But why do I have to do it like that?
Offline
Did you read the wiki pages suggested in the last thread you made about this? AUR tarballs are not a pacman packages. You need to build them via makepkg before you install them via pacman.
Here is another reference: makepkg/abs tutorial
Offline
jordanwb next time read to the end before doing something.
i told you to extract it and then run makepkg -i.
wget http://aur.archlinux.org/packages/virtualbox_bin/virtualbox_bin.tar.gz
tar xzf virtualbox_bin.tar.gz
cd virtualbox_bin
makepkg -i
makepkg means compile and create package.
-i install package
if i didn't specify -i and only makepkg then you need to use pacman -U somepackage
Last edited by wonder (2008-09-18 19:04:22)
Give what you have. To someone, it may be better than you dare to think.
Offline
jordanbw,
First, before you do something like this, you should really read up on it as you don't seem to understand at all what the AUR is and what you're doing. Just following instructions without really knowing what's going on is a sure way to bork your system eventually (e.g. installing directly from websites will eventually clutter your system with files that will be a bitch to remove). Really, if you're not prepared to do some reading, you really shouldn't be using Arch.
Start here: http://wiki.archlinux.org/index.php/AUR
http://wiki.archlinux.org/index.php/Makepkg
http://wiki.archlinux.org/index.php/PKGBUILD
Anyway, the file that you downloaded from the AUR is NOT a binary package which is why pacman complains.
pacman -U <binary package tarball>
only works with a binary package tarball.
The tarball from the AUR contains files that you need to BUILD a binary package that you can install with the command above. This is what you need to do:
Create a build directory somewhere, e.g. under /tmp
mkdir /tmp/build
Move that AUR tarball to that directory and extract it there with
tar -zxvvf <AUR tarball name>
If you haven't installed base-devel and abs yet, do so (as described in the second link above... read it to learn how). Then move into the directory with the PKGBUILD file and build the package with makepkg:
makepkg
If everything worked, PRESTO! you now have a binary pkg that you can install with "pacman -U".
Last edited by Xyne (2008-09-18 19:11:16)
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline