Difference between pages "User:Anak1n" and "Package:Layman"

From Funtoo
(Difference between pages)
Jump to navigation Jump to search
 
m
 
Line 1: Line 1:
{{Person
{{Ebuild
|Bio=
|Summary=Tool to manage Gentoo overlays
|Geoloc=38.3047222, -122.2988889
|CatPkg=app-portage/layman
|Location name=Napa, California, United State of America
|Homepage=http://layman.sourceforge.net/
|Blogs=
|Full name=anak1n
|Email=anak1n@funtoo.org
|Nick=anak1n
|Roles={{Role
|Role type=Staff
|Role desc=Core team
|Start date=2012/10/29
|End date=
|XMPP=anakin@nightprojects.org
}}
}}
|Maintains=
Layman is an "overlay" external repository management tool.
 
=== Installation ===
<console>###i## emerge layman</console>
[[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>
 
=== Using Layman ===
Fetch, and display a list of overlays:
<console>###i## layman -L</console>
 
Add an overlay to your system:
<console>###i## layman -a <overlay name></console>
 
Delete an overlay from your system:
<console>###i## layman -d <overlay name></console>
 
==== 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.
 
{{file|name=/etc/portage/package.mask|lang=|desc=mask all packages in an overlay|body=
*/*::overlay-name
}}
}}
=anak1n=
* nick: anak1n
* real name: anak1n
* website: [http://nightprojects.org NightProjects]
* blog: [http://blog.nightprojects.org /dev/random]


----
{{file|name=/etc/portage/package.unmask|lang=|desc=unmask packages to be used|body=
I started using Linux about 8 years ago or so. The first Linux distribution I used was Fedora. After that I flip-flopped between that and Windows, admittedly I used Windows a lot more. About a year or so later, a friend of mine had gotten me into Sabayon Linux, on Sabayon 5, and I used that for a while then decided to try Gentoo. I have since then tried many different distros but settled on Gentoo for the better part of it all. I then heard about Funtoo through a friend on #sabayon, and went between Gentoo and Funtoo for a while. Now here we are, using Funtoo for the better part of two years, and I can't imagine using something else.
cat-egory/pack-age1
cat-egory/pack-age2
}}
 
==== Sync ====
 
Sync a specific overlays ebuilds:
<console>###i## layman -s <overlay name></console>
 
Sync all overlays:
<console>###i## layman -S</console>
 
Sync all overlays via eix:
<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>


I aim more for the desktop side of Linux, though I do maintain two servers, one running Gentoo the other running Funtoo. I like to think I am pretty good at what I do with Linux, but I could be wrong :P
{{EbuildFooter}}

Revision as of 12:00, February 3, 2015

Layman

   Tip

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 used
cat-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