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


  Search this Thread
Old 08-08-2010, 09:50 PM   #1
Registered: Mar 2010
Distribution: Slackware 14.1
Posts: 68

Rep: Reputation: 16
Why PKGBUILD and not ./configure && make && make install?

Why pkgbuild? Its almost the same amount of work to compile. If I compile the program I want will it still resolve the dependencies or do I need to use pkgbuild?
Old 08-08-2010, 10:35 PM   #2
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 11,515
Blog Entries: 12

Rep: Reputation: 2835Reputation: 2835Reputation: 2835Reputation: 2835Reputation: 2835Reputation: 2835Reputation: 2835Reputation: 2835Reputation: 2835Reputation: 2835Reputation: 2835
This thread may help.

I've used Slackware since v. 10.0 and was always happy with "./configure, make, make install." I frankly hadn't heard about pkgbuild before. I am not an expert by any means, but I've usually muddled my way to accomplishing what I needed to accomplish, with a lot of help from LQ, Google, and alt.os.comp.slackware.

My understanding is that the primary argument for using packages is that they are easier to remove cleanly than are applications compiled from source; entering a source directory and running "make uninstall" may not do a clean removal, but I never found that to be a problem.

If you compile a program from sources, you may not learn about dependency issues until "make install" fails and throws error messages. This sometimes irritated me, but it wasn't a deal breaker, because each error message was a chance to learn something.

Lately, I've been learning how to use Slackbuilds, which I would recommend over "./configure, make, make install" if the Slackbuild exists, because Slackbuilds usually also provides dependency information.

Many dependency problems can be avoided by installing Gnome from one of the sources recommended at the LQ Slackware Wiki. I have found Gnome Slackbuild to be preferable to Dropline GNOME.

I may be wrong about some of this; I am hardly an expert, just a user. If so, I am certain that a succeeding poster will correct me.

Last edited by frankbell; 08-08-2010 at 10:36 PM.
Old 08-09-2010, 04:04 AM   #3
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
Also recommended : src2pkg
( If no Slackbuild script is to be found.)

Creating a Slackware package is a good idea : Easy to uninstall,
and the package can be reused.

More Slackbuild scripts :

P.S. : A lot of software has no 'make uninstall'

PPS.: pkgbuild is an old name for ' src2pkg ' , I guess :

Last edited by knudfl; 08-09-2010 at 01:13 PM.


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
what does make man && make setup check while installing qmail means vitalstrike82 Linux - Software 3 05-26-2009 10:41 AM
AOL UK && BT Voyager 100 && Slackware 10.2 && RP-PPPoE pitt0071 Linux - Networking 3 01-17-2006 07:10 AM
Japanese canna won't work : Warning: かな漢字変&am OrganicOrange84 Debian 3 06-30-2005 03:28 PM
Phục hồi dữ liệu bị mất???, cứ pollsite General 1 06-27-2005 01:39 PM
Look the output of: make dep && make clean bzImage modules modules_install Hell-Shooter Linux - General 2 06-05-2004 06:05 AM

All times are GMT -5. The time now is 06:32 AM.

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