Paludis

From LQWiki
Jump to: navigation, search

Paludis is a non-interactive alternative to Portage written by ex-Gentoo developers and several current developers, with contributions from several users.

Because it is written in C++, Paludis is faster and more efficient than Portage. Paludis also incorporates many features that Portage does not. While still not an "official" package manager, it is well-supported by the creators and other users.

Paludis vs Portage

  • Paludis allows user defined hooks
  • Paludis allows user defined sets
  • Paludis can sync from subversion, cvs, and git

Basic Usage

In order to update your database of programs sync paludis just like you would portage:

paludis --sync (or use the short -s)

In order to update your system using paludis simply issue:

paludis -ip everything

then remove the "p" which stands for pretend and let paludis do the rest:

paludis -i everything

Paludis also works just like portage in that you have sets from which you can choose to update

  • everything - Everything on your computer
  • world - all packages in your world-file
  • system - Only packages needed for basic operation
  • security - Packages that are security related

Common Problems

Due to some poor maintenance, some ebuilds will fail the source test phase of the install process. This is not Paludis' fault but instead the ebuild's. Portage does not report these errors because the FEATURE="test" is not turned on by default. In order to fix this problem simply add the following code to your bashrc file:

case "${PN}" in
 
   # These packages often fail src_test (not a complete list)
   automake|glibc|e2fsprogs|neon|gettext|tar)
       export SKIP_FUNCTIONS=test
       ;;

esac

If the package that is failing the source test is not listed simply add its name to the | delineated list.

External links