Paludis: Difference between revisions
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
USE="-python glsa inquisitio pink ruby visibility" emerge paludis | USE="-python glsa inquisitio pink ruby visibility" emerge paludis | ||
=== Configuration (Portage compatible) === | === Configuration (Portage compatible - Gentoo offical tree) === | ||
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. | 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. | ||
| Line 115: | Line 115: | ||
{{Codeline|# paludis --regenerate-installable-cache}} | {{Codeline|# paludis --regenerate-installable-cache}} | ||
=== Configuration (Portage incompatible - Automatic repository configuration) === | === Configuration (Portage incompatible - Automatic repository/overlay configuration) === | ||
{{Box File|/etc/paludis/repositories/layman.conf| | {{Box File|/etc/paludis/repositories/layman.conf| | ||
Revision as of 15:06, 28 July 2010
Paludis on Gentoo
Installation
USE="-python glsa inquisitio pink ruby visibility" emerge paludis
Configuration (Portage compatible - Gentoo offical tree)
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 - Gentoo offical tree)
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 - Automatic repository/overlay configuration)
# cave sync
# cave show -t package repository/*
# cave resolve repository/<repository_name> -x
Portage vs. Paludis vs. Paludis cave commands
Sync all repositories
Portage short:
Portage long:
Paludis short:
Paludis long:
Paludis cave short:
Paludis cave long:
Sync specific repository/overlay
Portage short:
Portage long:
Paludis short:
Paludis long:
Paludis cave short:
Paludis cave long:
World update
Portage short:
Portage long:
Paludis short:
Paludis long:
Paludis cave short:
Paludis cave long:
Install package
Portage short:
Portage long:
Paludis short:
Paludis long:
Paludis cave short:
Paludis cave long:
Install package without adding it to the world file
Portage short:
Portage long:
Paludis short:
Paludis long:
Paludis cave short:
Paludis cave long:
Update scm packages (daily)
Portage short:
Portage long:
Paludis short:
Paludis long:
Paludis cave short:
Paludis cave long:
Which package ownes <file>
Portage short:
Portage long:
Paludis short:
Paludis long:
Paludis cave short:
Paludis cave long:
Search for broken packages and rebuild them
Portage short:
Portage long:
Paludis short:
Paludis long:
Paludis cave short:
Paludis cave long:
Remove unnecessary/leftover packages
Portage short:
Portage long:
Paludis short:
Paludis long:
Paludis cave short:
Paludis cave long: