You are not logged in.

#1 2009-09-07 14:09:58

cloudstrife
Member
From: Santa Clara, CA
Registered: 2008-01-13
Posts: 44

[Solved] Intro to ABS/AUR

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 big_smile 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

#2 2009-09-07 14:20:16

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [Solved] Intro to ABS/AUR

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

#3 2009-09-07 14:21:21

sHyLoCk
Member
From: /dev/null
Registered: 2009-06-19
Posts: 1,197

Re: [Solved] Intro to ABS/AUR

eh?

pacman -S base-devel  abs

that's it. Just do
mkdir ~/compiles

cp /var/abs/path/to/PKGBUILD ~/compiles && makepkg -s ~/compiles/PKGBUILD tongue

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)


~ Regards,
sHy
ArchBang: Yet another Distro for Allan to break.
Blog | GIT | Forum (。◕‿◕。)

Offline

#4 2009-09-07 17:33:18

cloudstrife
Member
From: Santa Clara, CA
Registered: 2008-01-13
Posts: 44

Re: [Solved] Intro to ABS/AUR

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

#5 2009-09-07 23:43:57

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: [Solved] Intro to ABS/AUR

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.


neutral

Offline

#6 2009-09-08 00:48:54

z.s.tar.gz
Member
From: Rural Florida
Registered: 2008-12-12
Posts: 298

Re: [Solved] Intro to ABS/AUR

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

#7 2009-09-08 05:49:05

majiq
Member
Registered: 2009-03-06
Posts: 259

Re: [Solved] Intro to ABS/AUR

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

#8 2009-09-08 06:32:38

xd-0
Member
From: Sweden
Registered: 2007-11-02
Posts: 327
Website

Re: [Solved] Intro to ABS/AUR

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

#9 2009-09-08 06:40:16

Seleucius
Member
Registered: 2009-09-08
Posts: 5

Re: [Solved] Intro to ABS/AUR

xd-0 wrote:

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

#10 2009-09-08 07:18:01

xd-0
Member
From: Sweden
Registered: 2007-11-02
Posts: 327
Website

Re: [Solved] Intro to ABS/AUR

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 wink

Offline

#11 2009-09-08 07:19:13

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,217
Website

Re: [Solved] Intro to ABS/AUR

Seleucius wrote:

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.

Offline

#12 2009-09-08 14:32:03

cloudstrife
Member
From: Santa Clara, CA
Registered: 2008-01-13
Posts: 44

Re: [Solved] Intro to ABS/AUR

sand_man wrote:

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

#13 2009-09-08 15:09:03

sHyLoCk
Member
From: /dev/null
Registered: 2009-06-19
Posts: 1,197

Re: [Solved] Intro to ABS/AUR

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)


~ Regards,
sHy
ArchBang: Yet another Distro for Allan to break.
Blog | GIT | Forum (。◕‿◕。)

Offline

#14 2009-09-08 15:13:27

cloudstrife
Member
From: Santa Clara, CA
Registered: 2008-01-13
Posts: 44

Re: [Solved] Intro to ABS/AUR

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

Board footer

Powered by FluxBB