You are not logged in.
Pages: 1
Hi,
I was going through an article about a new browser UBZL. When I went to the website, it was talking about ABS/PKGBUILDS etc. I went through ABS wiki http://wiki.archlinux.org/index.php/Beg … e_Appendix but it did not help much, does anyone have completely non-geeky decription of ABS/AUR/PKGBUILD.
I will be grateful for the simple explanation.
Cloud
Last edited by cloudstrife (2009-09-08 16:11:28)
Core2Duo T7250 2.0 GHz
Dell Vostro 1700
OS: Win7/Arch
Offline
Well it does require some background knowledge, but that doesn't mean it's not completely unintelligible to the average Linux user? What's bugging you about it?
Read up on BSD ports and you'll understand. Check out http://aur.archlinux.org and it should even be clearer. If there's still a problem after that, you might need to reconsider.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
eh?
pacman -S base-devel abs
that's it. Just do
mkdir ~/compiles
cp /var/abs/path/to/PKGBUILD ~/compiles && makepkg -s ~/compiles/PKGBUILD
lol...Im lazy I hope someone can explain. Although the arch wiki explains it quite clearly though, there's nothing more/less to what it says. :\
Last edited by sHyLoCk (2009-09-07 14:22:29)
Offline
Hi B & shylock,
I will give wiki another try and try to be more specific.
Cloud
Core2Duo T7250 2.0 GHz
Dell Vostro 1700
OS: Win7/Arch
Offline
Basically, you should know that Arch repos contain binary packages. These packages are using using scripts called PKGBUILDs. The PKGBUILDs are parsed using an app called makepkg.
ABS is the name of the build system. AUR is an unofficial repo with user contributed PKGBUILDs (which you can compile yourself).
Now go back and read Shylock's post again.
Offline
AUR makes compiling packages from source easier aka less manual labor.
pkgbuilds are basically 'scripts' that tell where to get source code, how to compile, and what is needed to run.
It all exists so you don't have to do all that yourself
I need to find a way out so everyone can find their way out.
Resregietd Lunix Uesr: 485581
Offline
If you're still fuzzy on it after this, I suggest reading up a little on how bash works and then looking at a combination of the makepkg executable, a package build, and the descriptions of both and also looking at the result of making a package using makepkg (the files created and the structure involved). It's really a pretty elegant setup it seems, but once you get what gets called when, it becomes a lot simpler to understand.
Offline
1. Install abs, pacman -S abs
2. Sync the abs three, abs
3. Make a local directory under /var/abs/local (or where you prefer it) and change acces rights to it.
4. Copy a folder from the abs tree, or make one and download all the files for a package from AUR.
5. If dependencies needs to be built from AUR then build them.
6. Enter the directory and run: makepkg -csi
Done!
Offline
1. Install abs, pacman -S abs
2. Sync the abs three, abs
3. Make a local directory under /var/abs/local (or where you prefer it) and change acces rights to it.
4. Copy a folder from the abs tree, or make one and download all the files for a package from AUR.
5. If dependencies needs to be built from AUR then build them.
6. Enter the directory and run: makepkg -csi
7. Install yaourt and forget all about both pacman and the abs.
At least that's what I've found myself doing.. since I first got Arch up and running.. er, yesterday.
Offline
Yaourt might be good if there are lot of dependencies needed to be built from aur. But if he/she wants to learn, beginning with the basic tools and then work your way up is the way to go.
Also one very important thing. If you download the files and do all the things manualy, you also get the habbit of checking the files, modifying the ./configure options etc. With Yaourt, everything goes automagicaly, something that me no likes
Offline
7. Install yaourt and forget all about both pacman and the abs.
Which is totally unhelpful to the OP who is trying to get a better understanding of ABS and AUR.
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
Basically, you should know that Arch repos contain binary packages. These packages are using using scripts called PKGBUILDs. The PKGBUILDs are parsed using an app called makepkg.
ABS is the name of the build system. AUR is an unofficial repo with user contributed PKGBUILDs (which you can compile yourself).
Now go back and read Shylock's post again.
So sand_man, ABS is just a system like pacman. In pacman, i download compiled packages and install whereas in ABS i use a PKGBUILD script to download source files and then install. Is it correct. If that is so, what about dependencies? does makepkg take care of dependencies, ie does PKGBUILD have the dependencies taken care?
Thanks a lot
Cloud
Core2Duo T7250 2.0 GHz
Dell Vostro 1700
OS: Win7/Arch
Offline
Basically with abs you use PKGBUILD to compile and build your own packages. Also it's a great way of learning to make your own packages which are not there even in AUR. Instead of doing a dirty install like
./configure && make && make install
you are building your packages and letting pacman keep track of it in your system. This is also helpful in case of removal. Many times you won't find an uninstall file to use
make uninstall
Last edited by sHyLoCk (2009-09-08 15:10:03)
Offline
Hi
I got Uzbl to install from AUR. it looked simple after i did it once. atleast the installing part and not creating pkgbuild looks easy.
Regards
Cloud
Core2Duo T7250 2.0 GHz
Dell Vostro 1700
OS: Win7/Arch
Offline
Pages: 1