Strumenti Utente

Strumenti Sito


paludis

Paludis on Exherbo

Paludis on Exherbo (Developer configuration)
Paludis on Gentoo

Installation

{{File|/etc/portage/package.use|sys-apps/paludis {{EnableFlag|visibility}} {{EnableFlag|xml}}}}

Configuration (Portage compatible - Gentoo offical tree)

With this configuration you are able to still use portage, although paludis will be sloooow.

{{Root|mkdir -p /etc/paludis/repositories}}
{{File|/etc/paludis/keywords.conf|
<pre>
*/* amd64 ~amd64
</pre>
}}
{{File|/etc/paludis/licenses.conf|
<pre>
*/* *
</pre>
}}
{{File|/etc/paludis/use.conf|
<pre>
*/* BUILD_OPTIONS: -recomended_tests -optional_tests -split strip
*/* -gtk -arts -gnome -ldap -kerberos -acl -esd kde alsa xcb
*/* LINGUAS: de
*/* INPUT_DEVICES: -* evdev
*/* VIDEO_CARDS: -* nvidia
sys-apps/paludis visibility xml
dev-util/git -perl
</pre>
}}
{{File|/etc/paludis/bashrc|
<pre>
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
CHOST="x86_64-pc-linux-gnu"
MAKEOPTS="-j5"
</pre>
}}
{{File|/etc/paludis/general.conf|
<pre>
world = /var/lib/portage/world
</pre>
}}
{{File|/etc/paludis/repositories/installed.conf|
<pre>
location = /var/db/pkg/
format = vdb
names_cache = /var/empty
provides_cache = /var/empty
</pre>
}}
{{File|/etc/paludis/repositories/gentoo.conf|
<pre>
location = /usr/portage
sync = rsync://rsync.europe.gentoo.org/gentoo-portage/
profiles = ${location}/profiles/default/linux/amd64/10.0/desktop
format = e
names_cache = /var/empty
distdir = /usr/portage/distfiles
</pre>
}}
{{Root|cat /etc/portage/package.use >> /etc/paludis/use.conf}}
{{Root|cp /etc/portage/package.unmask /etc/paludis/package_unmask.conf}}
{Root|cp /etc/portage/package.mask /etc/paludis/package_mask.conf}}
{{Root|cave sync}}
{{Root|cave resolve --continue-on-failure if-satisfied installed-packages --execute}}

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.

{{Root|mkdir -p /var/cache/paludis/distfiles}}
{{Root|mkdir -p /var/cache/paludis/metadata}}
{{Root|mkdir -p /var/cache/paludis/names}}
{{Root|mkdir -p /var/cache/paludis/provides}}
{{Root|chown -R paludisbuild:paludisbuild /var/cache/paludis}}
{{Root|chown -R paludisbuild:paludisbuild /var/tmp/paludis}}
{{Root|chmod g+w /var/cache/paludis/distfiles}}
{{Root|chmod g+w /var/tmp/paludis}}
{{File|//etc/paludis/repository_defaults.conf|
<pre>
provides_cache = ${root}/var/cache/paludis/provides
names_cache = ${root}/var/cache/paludis/names
write_cache = ${root}/var/cache/paludis/metadata
distdir = ${root}/var/cache/paludis/distfiles
</pre>
}}
{{File|/etc/paludis/repositories/gentoo.conf|
<pre>
location = /usr/portage
sync = rsync://rsync.europe.gentoo.org/gentoo-portage/
profiles = ${location}/profiles/default/linux/amd64/10.0/desktop
format = e
</pre>
}}
{{Root|cave sync}}
{{Root|cave resolve --continue-on-failure if-satisfied installed-packages --execute}}

Configuration (Portage incompatible - Automatic repository/overlay configuration)

Portage vs. Paludis cave commands

Sync all repositories

Portage short: - Portage long: emerge --sync

Paludis cave short: - Paludis cave long: cave sync

Sync specific repository/overlay

Portage short: - Portage long: -

Paludis cave short: - Paludis cave long: cave sync <repository>

World update

World update (unsafe) (continue on failure, allow package downgrades and removals)

Install package

Portage short: emerge <package> Portage long: -

Paludis cave short: cave resolve -x <package> Paludis cave long: cave resolve --execute <package>

Install package without adding it to the world file

Update scm packages (daily)

Which package ownes <file>

Portage short: - Portage long: equery belongs <file>

Paludis cave short: - Paludis cave long: cave print-owners <file>

Search for broken packages and rebuild them

Portage short: revdep-rebuild Portage long: -

Paludis cave short: cave fix-linkage -x Paludis cave long: cave fix-linkage --execute

Remove unnecessary/leftover packages

Portage short: emerge -c Portage long: emerge --depclean

Paludis cave short: cave purge -x Paludis cave long: cave purge --execute

Reinstall every package which has files in a specific directory (e.g. for Perl updates)

Reinstall every installed package

paludis.txt · Ultima modifica: 2019/02/02 00:43 da amnesia