You are not logged in.

#1 2010-09-07 08:03:36

rasat
Forum Fellow
From: Finland
Registered: 2002-12-27
Posts: 2,298
Website

Arch vs BSD

In Wikipedia describing the features of Arch is that it uses a BSD-style init framework. Today I read in DistroWatch about "compare and contrast BSD Ports and Linux package management", doesn't Arch has another BSD feature as well.

The ports system provides Makefiles, allowing you to pass make targets and compile your own software. The packages system provides pre-compiled binaries, allowing you to quickly install software from the command line.

.... supports both compile-your-own and installing pre-compiled software using command-line tools.

http://distrowatch.com/weekly.php?issue=20100906#qa


Markku

Offline

#2 2010-09-07 10:31:55

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Arch vs BSD

http://wiki.archlinux.org/index.php/Arc … management
Arch also provides a ports-like package build system (...)

http://wiki.archlinux.org/index.php/Arc … ns#FreeBSD
Both Arch and FreeBSD offer software which can be obtained using binaries or compiled using 'ports' systems.


Sorry, I think I've missed your point. We have that in the wiki, so ...?

Offline

#3 2010-09-07 13:41:42

rasat
Forum Fellow
From: Finland
Registered: 2002-12-27
Posts: 2,298
Website

Re: Arch vs BSD

The point is that Arch package management is BSD oriented but why its not mentioned anywhere. This feature adds another uniqueness in Arch.


Markku

Offline

#4 2010-09-07 13:52:49

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: Arch vs BSD

Doesn't (almost) every distro have both a binary and manual compilation feature? At least Debian/Ubuntu has had it for years now, even though it's not as KISS as the Arch approach.


ᶘ ᵒᴥᵒᶅ

Offline

#5 2010-09-07 16:13:59

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Arch vs BSD

rasat wrote:

The point is that Arch package management is BSD oriented but why its not mentioned anywhere. This feature adds another uniqueness in Arch.

You mean it's not mentioned on DW?

IIRC OpenBSD recommends using the binaries rather than rolling your own, at least for the stuff they provide.

Offline

#6 2010-09-07 20:23:18

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Arch vs BSD

litemotiv wrote:

Doesn't (almost) every distro have both a binary and manual compilation feature? At least Debian/Ubuntu has had it for years now, even though it's not as KISS as the Arch approach.

I have never seen a Linux distro make compiling your own packages instead of using the stock binary ones as easy as Arch. ABS is a real framework, all you have to do is run 'abs' in your terminal and you'll pull in all the PKGBUILDs, patches etc. necessary for rebuilding every single package in the Arch repositories.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#7 2010-09-07 21:37:29

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: Arch vs BSD

.:B:. wrote:

I have never seen a Linux distro make compiling your own packages instead of using the stock binary ones as easy as Arch. ABS is a real framework, all you have to do is run 'abs' in your terminal and you'll pull in all the PKGBUILDs, patches etc. necessary for rebuilding every single package in the Arch repositories.

Ubuntu:

$ apt-get build-dep $package  // builds dependencies of package
$ apt-get source $package     // get source of any package in repositories
$ checkinstall                // create .deb from source directory

ᶘ ᵒᴥᵒᶅ

Offline

#8 2010-09-07 21:44:58

Stebalien
Member
Registered: 2010-04-27
Posts: 1,239
Website

Re: Arch vs BSD

Just to avoid confusion, checkinstall is only used for non Debian source tarballs. To build a Debian source package (one you get from apt-get source), use debuild.


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C

Offline

#9 2010-09-07 22:09:17

rasat
Forum Fellow
From: Finland
Registered: 2002-12-27
Posts: 2,298
Website

Re: Arch vs BSD

karol wrote:

You mean it's not mentioned on DW?

In Arch wiki and other documentations. There is only about the init system, same as in Wikipedia as I mentioned earlier.


Markku

Offline

#10 2010-09-07 22:12:40

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Arch vs BSD

litemotiv wrote:
.:B:. wrote:

I have never seen a Linux distro make compiling your own packages instead of using the stock binary ones as easy as Arch. ABS is a real framework, all you have to do is run 'abs' in your terminal and you'll pull in all the PKGBUILDs, patches etc. necessary for rebuilding every single package in the Arch repositories.

Ubuntu:

$ apt-get build-dep $package  // builds dependencies of package
$ apt-get source $package     // get source of any package in repositories
$ checkinstall                // create .deb from source directory

Good to know - but boy I know to stay away from those control files wink.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#11 2010-09-07 22:31:10

yejun
Member
Registered: 2009-10-21
Posts: 66

Re: Arch vs BSD

litemotiv wrote:

Doesn't (almost) every distro have both a binary and manual compilation feature? At least Debian/Ubuntu has had it for years now, even though it's not as KISS as the Arch approach.

Gentoo has no binary.

Offline

#12 2010-09-07 22:41:52

cesura
Package Maintainer (PM)
From: Tallinn, Estonia
Registered: 2010-01-23
Posts: 1,867

Re: Arch vs BSD

yejun wrote:
litemotiv wrote:

Doesn't (almost) every distro have both a binary and manual compilation feature? At least Debian/Ubuntu has had it for years now, even though it's not as KISS as the Arch approach.

Gentoo has no binary.

wink

Offline

#13 2010-09-07 23:14:06

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,233
Website

Re: Arch vs BSD

litemotiv wrote:
.:B:. wrote:

I have never seen a Linux distro make compiling your own packages instead of using the stock binary ones as easy as Arch. ABS is a real framework, all you have to do is run 'abs' in your terminal and you'll pull in all the PKGBUILDs, patches etc. necessary for rebuilding every single package in the Arch repositories.

Ubuntu:

$ apt-get build-dep $package  // builds dependencies of package
$ apt-get source $package     // get source of any package in repositories
$ checkinstall                // create .deb from source directory
makepkg -is

Arch outsimples by 3:1 tongue

Last edited by fukawi2 (2010-09-07 23:14:28)

Offline

#14 2010-09-07 23:19:44

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: Arch vs BSD

fukawi2 wrote:
litemotiv wrote:
.:B:. wrote:

I have never seen a Linux distro make compiling your own packages instead of using the stock binary ones as easy as Arch. ABS is a real framework, all you have to do is run 'abs' in your terminal and you'll pull in all the PKGBUILDs, patches etc. necessary for rebuilding every single package in the Arch repositories.

Ubuntu:

$ apt-get build-dep $package  // builds dependencies of package
$ apt-get source $package     // get source of any package in repositories
$ checkinstall                // create .deb from source directory
makepkg -is

Arch outsimples by 3:1 tongue

Well technically it would be more like this.

sudo abs
cd /var/abs/$repo/$pkgname
makepkg -is

wink


neutral

Offline

#15 2010-09-07 23:31:30

Skripka
Member
From: 2X1280X1024
Registered: 2009-02-19
Posts: 555

Re: Arch vs BSD

*delete*

Last edited by Skripka (2010-09-07 23:32:10)

Offline

Board footer

Powered by FluxBB