View Full Version : Something simliar to ABS/AUR in Fedora
tajidinabd
2nd July 2010, 12:56 AM
Alright i just came back to using fedora is there anything in Fedora like what ArchLinux uses
with their tool called ABS/AUR. Where you create a PKGBUILD file and it downloads the source uncompresses it, builds the package and installs it? All in one step so you can keep up with the latest package.
http://wiki.archlinux.org/index.php/AUR
http://wiki.archlinux.org/index.php/Arch_Build_System
well i was glad i just built a radiotray rpm so i got back into the swing of things but seems like this could be streamlined lot more. Seems like this would be very interesting tool to bring into Fedora.
Dies
2nd July 2010, 01:16 AM
Alright i just came back to using fedora is there anything in Fedora like what ArchLinux uses
with their tool called ABS/AUR.
Nope. Though the way rpm works and with all the tools available in Fedora implementing something like this would not be all that difficult.
Seems like this would be very interesting tool to bring into Fedora.
With the amount of packages available from the standard repos along with rpmfusion, and the amount of third parties that make rpm's available I don't think "FUR" would see much use... But hey, I could be way off on that. :)
tajidinabd
2nd July 2010, 01:21 AM
well its true but i notice lot of packages in Fedora are behind things like chrome chromium radiotray with this tool its good way to automate things granted its all unsupported. I guess your right but since Arch and Fedora are my favorite distros. Just a thought perhaps bring up to the devs.
smr54
2nd July 2010, 04:54 AM
As for abs, you can usually find srpms and rebuild them with the spec file. The step is to install the srpm, then edit the spec file if you wish. Just google for any rpm building tutorial, there are many, and hopefully one will work for you--in the sense that some of them explain it well, and others don't. It's more complex than working with abs, and Arch documentation tends to be some of the best in the Linux world.
As for AUR, there are various 3rd part repos that can be added. There's also koji, a staging ground for new packages.
RPMS are still quite popular, and although many new developers seem to be abandoning them in favor of being sure they have an Ubuntu package, almost any package has an rpm available.
Fedora's package format is more complex than Arch's, with Arch being more of a pure Linux in the sense that makepkg doesn't do all that much more than build a tarball from source. This has advantages and a few disadvantages, no doubt--for example, I don't know of a pacman equivalent to yum provides, to find what package contains a given library or program.
forkbomb
2nd July 2010, 05:06 AM
Hmm... perhaps.
The thing about RPMFusion and the ABS/AUR combo are that they're conceptually different. RPMFusion is a binary repository. ABS is really not much more than a ports-like build system (and a darn good one at that).
The PKGBUILDs themselves are often used to pull sources straight from the servers of the distributors (though to be fair sometimes true compiling isn't done in the process of installing using a PKGBUILD) -- e.g. when you (say) build the firefox-branded package in Arch, you're grabbing the package from the Mozilla servers (at least I think -- too lazy to check at the moment :p). With RPMFusion you're grabbing rpms built specifically for Fedora, which are typically (as we know) just deployed by yum.
From the end-user's perspective, the difference isn't that severe other than a bit of build time, if you use an ABS/AUR wrapper like yaourt (http://wiki.archlinux.org/index.php/Yaourt).
I dunno. Fedora folk seem to like their ready-to-go binary repositories and I doubt you'd see the devs put any hooks into place to facilitate an ABS-like system for Fedora (given their policy on certain types of software licenses). Something like this would likely have to be third-party maintained, and with the dominance and ease of use of RPMFusion -- not to mention that with an rpm-native distro it makes sense to build rpms if the main repos and the third party repos aren't sufficient -- I doubt there'd be enough community interest from the Fedora user camp. It's not so much that an ABS-for-Fedora system would be a bad idea, but I just don't think there'd be much demand from Fedora users for a build system in the spirit of portage, ABS, and ports.
This has advantages and a few disadvantages, no doubt--for example, I don't know of a pacman equivalent to yum provides, to find what package contains a given library or program.
http://wiki.archlinux.org/index.php/Pacman_Rosetta
Not really in Pacman proper AFAIK.
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.