The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Difference between revisions of "Package:Layman"
Threesixes (talk | contribs) m (add masking information) |
Threesixes (talk | contribs) m |
||
Line 8: | Line 8: | ||
=== Installation === | === Installation === | ||
<console>###i## emerge layman</console> | <console>###i## emerge layman</console> | ||
make.conf must source laymans overlays for emerge to pull in packages from external sources. | [[make.conf]] must source laymans overlays for emerge to pull in packages from external sources. This line needs to be below everything else in make.conf. | ||
<console>###i## echo "source /var/lib/layman/make.conf" >> /etc/portage/make.conf</console> | <console>###i## echo "source /var/lib/layman/make.conf" >> /etc/portage/make.conf</console> | ||
Line 43: | Line 43: | ||
Sync all overlays via eix: | Sync all overlays via eix: | ||
<console>###i## eix-sync</console> | <console>###i## eix-sync</console> | ||
=== Troubleshooting === | |||
Problem: | |||
Warning: an installed db file was not found at: ['/var/lib/layman/cache***.xml'] | |||
Solution: | |||
<console>###i## layman -L</console> | |||
{{EbuildFooter}} | {{EbuildFooter}} |
Revision as of 12:00, February 3, 2015
Layman
We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.
Layman is an "overlay" external repository management tool.
Installation
root # emerge layman
make.conf must source laymans overlays for emerge to pull in packages from external sources. This line needs to be below everything else in make.conf.
root # echo "source /var/lib/layman/make.conf" >> /etc/portage/make.conf
Using Layman
Fetch, and display a list of overlays:
root # layman -L
Add an overlay to your system:
root # layman -a <overlay name>
Delete an overlay from your system:
root # layman -d <overlay name>
Masking Overlay Packages
Overlays have the power to override distro packages. To avoid conflicts, mask everything in the overlay, and unmask the packages that are necessary to your system.
/etc/portage/package.mask
- mask all packages in an overlay*/*::overlay-name
/etc/portage/package.unmask
- unmask packages to be usedcat-egory/pack-age1 cat-egory/pack-age2
Sync
Sync a specific overlays ebuilds:
root # layman -s <overlay name>
Sync all overlays:
root # layman -S
Sync all overlays via eix:
root # eix-sync
Troubleshooting
Problem: Warning: an installed db file was not found at: ['/var/lib/layman/cache***.xml']
Solution:
root # layman -L