Paludis: Difference between revisions
| Line 175: | Line 175: | ||
=== Install package === | === Install package === | ||
{| | Portage short: {{Command|emerge <package>}} Portage long: {{Command|-}} | ||
Paludis short: {{Command|paludis -i <package>}} Paludis long: {{Command|paludis --install package}} | |||
Paludis cave short: {{Command|cave resolve -x <package>}} Paludis cave long: {{Command|cave resolve --execute package}} | |||
=== Install package oneshot === | === Install package oneshot === | ||
Revision as of 15:29, 21 July 2010
Paludis on Gentoo
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 - 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
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/db/pkg
chown -R psy:psy /var/tmp/paludis
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 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