Difference between revisions of "Talk:Arch User Repository"

From ArchWiki
Jump to: navigation, search
(Using fakeroot part of article editing: new section)
(Installing Packages)
(36 intermediate revisions by 12 users not shown)
Line 1: Line 1:
move to AUR (English)<br>[[User:Gog|Gog]] 00:51, 19 October 2009 (EDT)
+
== Installing Packages ==
  
== Request, tar.gz instructions ==
+
The wiki suggests using
 +
makepkg -s
  
Would you please add
+
and then
 +
pacman -U foo.pkg.tar.xz
  
tar cfvz PKG.tar.gz PKG/
+
I recently, on another wiki page, came across the {{ic|-i}} option for makepkg which seems to make the separate pacman command unnecessary. Is this actually the case? Or is there a reason not to use the {{ic|makepkg -i}} option?<br>
 +
-- [[User:Hundovir|Hundovir]] ([[User talk:Hundovir|talk]]) 12:38, 12 November 2013 (UTC)
  
to http://wiki.archlinux.org/index.php/AUR_User_Guidelines#Submitting_Packages_to_UNSUPPORTED ? In the age of aunpack, who cares about tar commands? :| Make it easier for people who are sane enough to write PKGBUILD files but too sane to remember legacy compression commands (7z anyone?)--[[User:Qubodup|Qubodup]] 18:25, 26 October 2009 (EDT)
+
:It's unnecessary, but {{ic|-i}} is not necessary either, and the point is to actually educate people on how it works, they can find the faster ways later.
 +
:-- [[User:Kyrias|Kyrias]] ([[User talk:Kyrias|talk]]) 19:48, 12 November 2013 (UTC)
  
== Using fakeroot part of article editing ==
+
::Thanks Kyrias, that makes sense. [[User:Hundovir|Hundovir]] ([[User talk:Hundovir|talk]]) 13:30, 15 November 2013 (UTC)
 
+
It says "By default export USE_FAKEROOT="y" is included in /etc/makepkg.conf, so unless you have switched it off it is already enabled." Newer Arch systems are using BUILDENV directive and user should set ! right before the fakeroot to disable it or delete ! before fakeroot to enable it.
+

Revision as of 13:30, 15 November 2013

Installing Packages

The wiki suggests using

makepkg -s

and then

pacman -U foo.pkg.tar.xz

I recently, on another wiki page, came across the -i option for makepkg which seems to make the separate pacman command unnecessary. Is this actually the case? Or is there a reason not to use the makepkg -i option?
-- Hundovir (talk) 12:38, 12 November 2013 (UTC)

It's unnecessary, but -i is not necessary either, and the point is to actually educate people on how it works, they can find the faster ways later.
-- Kyrias (talk) 19:48, 12 November 2013 (UTC)
Thanks Kyrias, that makes sense. Hundovir (talk) 13:30, 15 November 2013 (UTC)