LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices

Reply
 
Search this Thread
Old 01-15-2013, 03:22 PM   #1
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.1 64bit-Gnome 3.10 on ASUS U52F
Posts: 1,425

Rep: Reputation: 339Reputation: 339Reputation: 339Reputation: 339
Installing packages from source


I just installed Arch. I wanted to install a package and download a .tar.gz file. I untared it and inside is a PKGBUILD file.

Can somebody please advice on how to install this package I will appreciate very much. Thank you.
 
Old 01-15-2013, 04:11 PM   #2
serafean
Member
 
Registered: Mar 2006
Location: Czech Republic
Distribution: Gentoo, Chakra
Posts: 871
Blog Entries: 9

Rep: Reputation: 103Reputation: 103
Hi,

To install packages, usually you'll want to use the pacman package manager.
If your package isn't in the repositories, check AUR. Basic instructions on how to use it are here.

If you have a PKGBUILD, the easiest way is to run makepkg, and then install the created packages using pacman -U. However, a more convenient way is to use a tool like Yaourt which manages all these packages.

Last is a package that doesn't have a pkgbuild anywhere. These are to be installed manually (./configure && make && make install), which is usually documented somewhere amonst the other package documentation.
 
Old 01-15-2013, 08:46 PM   #3
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.1 64bit-Gnome 3.10 on ASUS U52F
Posts: 1,425

Original Poster
Rep: Reputation: 339Reputation: 339Reputation: 339Reputation: 339
Thank you for your reply. I tried the makepkg and I got the following

Quote:
[root@localhost xfce-theme-greybird]# makepkg PKGBUILD
==> ERROR: Running makepkg as root is a BAD idea and can cause permanent,
catastrophic damage to your system. If you wish to run as root, please
use the --asroot option.
Quote:
[user3@localhost xfce-theme-greybird]$ makepkg PKGBUILD
==> ERROR: Cannot find the fakeroot binary required for building as non-root user.
==> ERROR: Cannot find the strip binary required for object file stripping.
I just installed Arch and I am trying to find my way around. I havent had the chance to read the wiki so I thought to ask I really appreciate it

Thank you.
 
Old 01-15-2013, 09:21 PM   #4
John VV
Guru
 
Registered: Aug 2005
Posts: 13,060

Rep: Reputation: 1741Reputation: 1741Reputation: 1741Reputation: 1741Reputation: 1741Reputation: 1741Reputation: 1741Reputation: 1741Reputation: 1741Reputation: 1741Reputation: 1741
Quote:
I havent had the chance to read the wiki
you might want to

that wiki is one of the BEST even for other distros it is GOOD
 
Old 01-17-2013, 08:43 PM   #5
buradd
Member
 
Registered: Mar 2012
Location: California
Distribution: Slackware64-current
Posts: 73

Rep: Reputation: Disabled
Quote:
Originally Posted by TroN-0074 View Post
Thank you for your reply. I tried the makepkg and I got the following





I just installed Arch and I am trying to find my way around. I havent had the chance to read the wiki so I thought to ask I really appreciate it

Thank you.
if they are just missing binaries, try this: pacman -S fakeroot strip

pacman is great
 
  


Reply

Tags
arch linux


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pros/Cons Installing from Source vs packages telemeister Slackware 9 03-16-2011 06:20 AM
Help with the following; Installing themes, Installing Mp3 support, .deb packages Kittie Rose Linux - General 2 11-26-2006 01:27 PM
MAKE, installing source packages, etc...can someone explain this or at least... squirrels Linux - Newbie 16 06-14-2004 04:00 PM
Source or packages glock19 Slackware 2 06-21-2002 06:20 AM
creating packages (.tgz/.deb/.rpm) How from the source packages? l_9_l Linux - General 1 03-06-2002 06:03 PM


All times are GMT -5. The time now is 08:22 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration