You are not logged in.

#1 2008-10-28 00:34:28

viga
Member
Registered: 2007-06-12
Posts: 112

How do I know if a package is in ABS?

How do I know if a package is in ABS?

How do I find the path so that I can copy and build the pkg

Offline

#2 2008-10-28 00:39:57

rsambuca
Member
From: Calgary, Canada
Registered: 2008-07-21
Posts: 143

Re: How do I know if a package is in ABS?

If you have abs installed on your system, then the PKGBUILD files will be in /var/abs/

As an alternative, you can grab the PKGBUILD files from the repositories.

Offline

#3 2008-10-28 00:43:56

viga
Member
Registered: 2007-06-12
Posts: 112

Re: How do I know if a package is in ABS?

Yes,

I have ABS installed.  How do I look at the files in /var/abs/   just ls?

Thanks

Offline

#4 2008-10-28 00:45:01

viga
Member
Registered: 2007-06-12
Posts: 112

Re: How do I know if a package is in ABS?

If I grap the PKGBUILD from the repositories How do I install it?  I am getting errors with PKGBUILD not present

Offline

#5 2008-10-28 00:48:31

rson451
Member
From: Annapolis, MD USA
Registered: 2007-04-15
Posts: 1,233
Website

Re: How do I know if a package is in ABS?


archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson

Offline

#6 2008-10-28 00:48:49

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,498
Website

Offline

#7 2008-10-28 00:51:23

viga
Member
Registered: 2007-06-12
Posts: 112

Re: How do I know if a package is in ABS?

Your face is !$  What do you mean?  My face will bring me money?

Offline

#8 2008-10-28 00:57:26

viga
Member
Registered: 2007-06-12
Posts: 112

Re: How do I know if a package is in ABS?

I got it.

Thanks

Offline

#9 2008-10-28 01:30:10

Acecero
Member
Registered: 2008-06-21
Posts: 1,373

Re: How do I know if a package is in ABS?

viga wrote:

Your face is !$  What do you mean?  My face will bring me money?

...That's his signature, it's has less relevance to your question.

Please mark your thread [SOLVED] if it's completed. smile

Offline

#10 2008-10-28 02:28:02

dsr
Member
Registered: 2008-05-31
Posts: 187

Re: How do I know if a package is in ABS?

viga, it sounds like you might not know how to use your command-line shell very well. Read a bash tutorial (for interactive use, not shell scripting) if that's the case. You won't reap many of Arch's benefits if you don't know your way around the filesystem. If I misinterpreted your original post, then never mind.

You can run 'pacman -Ss <package>' (without the quotes and angle brackets) to search for packages. The output will tell you what repository each package is in. Or, if you know the exact name of the package you're looking for, you can run 'pacman -Si <package>' which will tell you what repository it's in, among other things. ABS package directories are located inside their repository subdirectory of /var/abs. For example, gimp, which is in [extra], is found at /var/abs/extra/gimp. To copy gimp's directory to your build directory, which let's say is located at ~/abs, type:

cd ~/abs
cp -r /var/abs/extra/gimp .

Then you would edit the PKGBUILD as desired and run makepkg, possibly with the '-c', '-i', and/or '-s' flags. As others have said, make sure you read the wiki to learn all about makepkg, ABS, and the AUR.

Offline

Board footer

Powered by FluxBB