You are not logged in.
Pages: 1
I am a complete noob to Arch. After about a 3 hour install session I pretty much have the essentials (i think)
anyways Im trying to figure out how to use this AUR
on this page
https://wiki.archlinux.org/index.php/Ar … Repository
it says I need to make a build folder in root (which i did)
i go into terminal log into root, (su root) however when i try to cd into the builds folder it does not work. I typed ls and the only thing that comes up in root is Desktop. Not sure what to really do as I am very new to linux (well at least I got kde successfully installed).
Shouldnt all of my folders (boot, etc, home, usr) show up?
Offline
it says I need to make a build folder in root
Please quote the part that says it, because I can't find it.
https://wiki.archlinux.org/index.php/Ar … he_package
Since makepkg uses fakeroot (and should never be run as root)
Post the exact commands you used and the exact errors you got, don't just say "it does not work".
Last edited by karol (2013-12-17 12:47:06)
Offline
it is in the prereq's
___________________________________________________
Prerequisites
First ensure that the necessary tools are installed. The package group base-devel should be sufficient; it includes make and other tools needed for compiling from source.
Warning: Packages in the AUR assume the base-devel group is installed, and AUR packages will not list members of this group as dependencies even if the package cannot be built without them. Please ensure this group is installed before complaining about failed builds.
# pacman -S --needed base-devel
Next choose an appropriate build directory. A build directory is simply a directory where the package will be made or "built" and can be any directory. Examples of commonly used directories are:
~/builds
or if using ABS (the Arch Build System):
/var/abs/local
_______________________________________________________
I install the base-devel but I cant cd into the ~/builds folder in root
I can only cd into Desktop
Last edited by kchart (2013-12-17 12:58:05)
Offline
And where does it say that you need a build folder in root?
It explicitly gives the example of making a build folder in your home. (i.e. ~/build )
How else will you be able to build packages while not being root, as is mentioned on that page, you should never build packages as root.
To make using the AUR repositories easier you might be interested in using something like cower or pacaur.
Offline
He should first learn to use makepkg before attempting to use any AUR helper.
Offline
He should first learn to use makepkg before attempting to use any AUR helper.
True, but afaik for most AUR helpers he would need to use makepkg anyway.
Offline
karol wrote:He should first learn to use makepkg before attempting to use any AUR helper.
True, but afaik for most AUR helpers he would need to use makepkg anyway.
Depends which one he chooses and what method.
But I 100% agree with karol. One must understand what is behind the works before using automated tools.
Last edited by Kartious (2013-12-17 13:50:25)
Offline
He should first learn to use makepkg before attempting to use any AUR helper.
+1 for this
Telling someone who is already trying to build packages as root to use some blackbox automation tool is irresponsible.
@kchart
"~" is your user's home directory. You can use it as an alias in commands, e.g.
echo ~
mkdir ~/build
cd ~/buildBtw, when you quote people, the wiki, or any other non-code text, please use [quote] tags. For code, use [code] tags.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Pages: 1