You are not logged in.

#1 2015-03-20 02:09:40

synec-
Member
Registered: 2015-03-17
Posts: 8

What should I look for in the PKGBUILD when installing from AUR?

Specifically yaourt is asking me to check. I understand that some can contain malware and would like to know what to look for before I install a package. Thanks!

Offline

#2 2015-03-20 02:19:17

nullified
Member
From: Massachusetts, USA
Registered: 2013-12-09
Posts: 468

Re: What should I look for in the PKGBUILD when installing from AUR?

Check out

man pkgbuild

so you understand what the PKGBUILD contains, then check out: https://wiki.archlinux.org/index.php/Ar … he_package

There is a giant red warning there that explains a bit.


"We may say most aptly, that the Analytical Engine weaves algebraical patterns just as the Jacquard-loom weaves flowers and leaves." - Ada Lovelace

Offline

#3 2015-03-20 02:38:04

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: What should I look for in the PKGBUILD when installing from AUR?

Look for scary things you don't understand. And then stop using yaourt, and learn how to build packages without a helper.

Offline

#4 2015-03-20 08:16:04

satanselbow
Member
Registered: 2011-06-15
Posts: 538

Re: What should I look for in the PKGBUILD when installing from AUR?

If a particular PKGBUILD is causing you concern, why not share what it is as any users that are currently using the package may offer some insight?

Offline

#5 2015-03-20 13:20:25

synec-
Member
Registered: 2015-03-17
Posts: 8

Re: What should I look for in the PKGBUILD when installing from AUR?

2ManyDogs wrote:

Look for scary things you don't understand. And then stop using yaourt, and learn how to build packages without a helper.

I know how to, but I use yaourt for convenience. Since I don't have that much time to download (because of spotty internet connection) I want to get it all done as soon as possible.

Offline

#6 2015-03-20 13:43:37

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,564
Website

Re: What should I look for in the PKGBUILD when installing from AUR?

synec- wrote:

I know how to, but ...

This question suggests you don't.  There is nothing wrong with not being familiar with using the AUR, but using yaourt will prevent you from ever learning what you should know in order to use the AUR responsibly.  Many aur helpers - Yaourt in particular - simply hide/automate far too much of the process.

But if you want to download everything quickly, then work on building the packages, yaourt is really the wrong tool.  If there are AUR dependencies for an AUR package, yaourt will try to build them sequentially and only download the new sources when it gets to the point where it needs it.  If you use makepkg (perhaps with a simpler helper like cower) you can download all the needed AUR tarballs in one command, then with one or two more, you could download all the upstream source files for all the packages before you start building anything.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#7 2015-03-20 13:47:38

synec-
Member
Registered: 2015-03-17
Posts: 8

Re: What should I look for in the PKGBUILD when installing from AUR?

Trilby wrote:
synec- wrote:

I know how to, but ...

This question suggests you don't.  There is nothing wrong with not being familiar with using the AUR, but using yaourt will prevent you from ever learning what you should know in order to use the AUR responsibly.  Many aur helpers - Yaourt in particular - simply hide/automate far too much of the process.

But if you want to download everything quickly, then work on building the packages, yaourt is really the wrong tool.  If there are AUR dependencies for an AUR package, yaourt will try to build them sequentially and only download the new sources when it gets to the point where it needs it.  If you use makepkg (perhaps with a simpler helper like cower) you can download all the needed AUR tarballs in one command, then with one or two more, you could download all the upstream source files for all the packages before you start building anything.

Thank you. I guess I should learn before I start taking yaourt for granted. I originally installed it for my dad, and taught him how to use it, as I'm teaching him Linux. I'll make sure to pass on those words.

Offline

Board footer

Powered by FluxBB