Difference between revisions of "Installing LDC on Gentoo"
(Add layman instructions.) |
m (Fixed a typo and some formatting.) |
||
Line 1: | Line 1: | ||
− | There is a Gentoo portage overlay for the [[LDC]] compiler officially supported by the developers. You can add the | + | There is a Gentoo portage overlay for the [[LDC]] compiler officially supported by the developers. You can add the overlay with layman. If you do not have layman yet then install it with |
<pre> | <pre> | ||
Line 30: | Line 30: | ||
</pre> | </pre> | ||
− | Currently the [[LDC]] packages are marked as unstable. If you do not accept unstable packages globally then you have to add to < | + | Currently the [[LDC]] packages are marked as unstable. If you do not accept unstable packages globally then you have to add to <tt>/etc/portage/package.keywords</tt> the entry |
<pre> | <pre> |
Revision as of 20:12, 15 December 2012
There is a Gentoo portage overlay for the LDC compiler officially supported by the developers. You can add the overlay with layman. If you do not have layman yet then install it with
emerge -av layman
To use the LDC overlay, simply add our URL to /etc/layman/layman.cfg:
overlays : http://www.gentoo.org/proj/en/overlays/repositories.xml https://raw.github.com/ldc-developers/gentoo-overlay/master/overlays.xml
Then update the overlay list
layman -L
and add the LDC overlay:
layman -a ldc
To emerge LDC you simply type:
emerge -av ldc2
Currently the LDC packages are marked as unstable. If you do not accept unstable packages globally then you have to add to /etc/portage/package.keywords the entry
dev-lang/ldc2 **