Paludis
Installation
USE="-python glsa inquisitio pink ruby visibility" emerge paludis
Configuration (Portage compatible)
With this configuration you are able to still use portage, although paludis will be sloooow and portage will spit out a few warnings when there are any kde4-svn ebuilds installed since it can't handle them but it will still work. It's a good first step to migrate and get used to paludis.
# mkdir -p /etc/paludis
# mkdir -p /etc/paludis/repositories
# cat /etc/portage/package.use >> /etc/paludis/use.conf
# cp /etc/portage/package.unmask /etc/paludis/package_unmask.conf
# cp /etc/portage/package.mask /etc/paludis/package_mask.conf
# paludis -i --dl-reinstall if-use-changed everything --pretend
Configuration (Portage incompatible Part II - General)
Now that we have played around a little with Paludis we really don't need Portage compatibility anymore, so lets adjust our configuration to speed up Paludis.
# mv /usr/portage/distfiles /var/cache
# chmod g+w /var/tmp/paludis
# mkdir -p /var/cache/paludis/gentoo/provides
# mkdir -p /var/cache/paludis/gentoo/names
# mkdir -p /var/cache/paludis/metadata
# chown -R paludisbuild:paludisbuild /var/cache/paludis
# chown -R paludisbuild:paludisbuild /var/cache/distfiles
# chown -R paludisbuild:paludisbuild /var/tmp/paludis
# paludis --regenerate-installed-cache
# paludis --regenerate-installable-cache
Configuration (Portage incompatible Part II - KDE Overlay (genkdesvn)
# paludis dev-util/git --install
# mkdir -p /var/cache/paludis/kde4-experimental/provides
# mkdir -p /var/cache/paludis/kde4-experimental/names
# chown -R paludisbuild:paludisbuild /var/cache/paludis
# paludis --sync kde4-experimental
# paludis --install kdebase-scm* --dl-suggested install --pretend
# eselect news read new
update: paludis --sync gentoo kde4-experimental paludis --install --dl-reinstall if-use-changed world --pretend paludis --install --preserve-world --dl-reinstall-scm daily --continue-on-failure if-satisfied genkdesvn-all --pretend revdep-rebuild: reconcilio --pretend emerge --depclean: paludis --uninstall-unused --pretend
nano -w /etc/paludis/environment.conf
world = /var/lib/portage/world reduced_username = psy
nano -w /etc/paludis/repositories/gentoo.conf
location = ${ROOT}/home/psy/gentoo-dev/tree/gentoo-x86
sync = cvs+ssh://tgurr@cvs.gentoo.org:/var/cvsroot:gentoo-x86
profiles = ${location}/profiles/default/linux/amd64/2008.0/desktop
format = ebuild
provides_cache = /var/cache/paludis/gentoo/provides
names_cache = /var/cache/paludis/gentoo/names
write_cache = /var/cache/paludis/metadata
distdir = /var/cache/distfiles
/etc/paludis/repositories/kde4-experimental.conf
master_repository = gentoo
location = ${ROOT}/home/psy/gentoo-dev/portage-kde4git/genkde4svn-dev/
sync = git+ssh://git@www2.mailstation.de/genkde4svn-dev.git
format = ebuild
provides_cache = /var/cache/paludis/kde4-experimental/provides
names_cache = /var/cache/paludis/kde4-experimental/names
write_cache = /var/cache/paludis/metadata
distdir = /var/cache/distfiles
chown psy:psy /var/log/paludis.log
chown -R psy:psy /var/cache/paludis
chown -R psy:psy /var/cache/distfiles
chown -R psy:psy /var/tmp/paludis
Paludis vs. Portage Commands
Sync
| Portage long | Paludis long | Portage short | Paludis short |
|---|---|---|---|
| emerge --sync | paludis --sync | paludis -s |
Sync repository/overlay
| Portage long | Paludis long | Portage short | Paludis short |
|---|---|---|---|
| paludis --sync <repository> | paludis -s <repository> |
World update
| Portage long | Paludis long | Portage short | Paludis short |
|---|---|---|---|
| emerge --update --deep --pretend world | paludis --install --pretend everything | emerge -uDp world | paludis -ip everything |
World update newuse
| Portage long | Paludis long | Portage short | Paludis short |
|---|---|---|---|
| emerge --update --deep --pretend --newuse world | paludis --install --dl-reinstall if-use-changed --continue-on-failure if-satisfied everything | emerge -uDNp world | paludis -ip --dl-reinstall if-use-changed --continue-on-failure if-satisfied everything |
Install package
| Portage long | Paludis long | Portage short | Paludis short |
|---|---|---|---|
| paludis <package> --install | emerge <package> | paludis <package> -i |
Install package oneshot
| Portage long | Paludis long | Portage short | Paludis short |
|---|---|---|---|
| emerge <package> --oneshot | paludis <package> --install --preserve-world | emerge <package> -1 | paludis <package> -i1 |
Update scm package set (always)
| Portage long | Paludis long | Portage short | Paludis short |
|---|---|---|---|
| paludis --install --preserve-world --dl-reinstall-targets always --continue-on-failure if-satisfied <set> | paludis -i1 --dl-reinstall-targets always --continue-on-failure if-satisfied <set> |
Update scm package set (daily, whole kde)
| Portage long | Paludis long | Portage short | Paludis short |
|---|---|---|---|
| paludis --install --preserve-world --dl-reinstall-scm daily --continue-on-failure if-satisfied genkdesvn-all | paludis -i1 --dl-reinstall-scm daily --continue-on-failure if-satisfied genkdesvn-all |
Which package ownes <file>
| Portage long | Paludis long | Portage short | Paludis short |
|---|---|---|---|
| equery belongs -f <file> | paludis --owner <file> | paludis -o <file> |
revdep-rebuild
reconcilio --pretend
emerge --depclean
paludis --uninstall-unused --pretend