-
Switch to systemd⬀ init system or use stage3-amd64-systemd⬀ tarball.
-
Add the overlay using eselect-repository⬀ module and synchronize it:
eselect repository enable gentoo-unity7
emaint sync -r gentoo-unity7
NOTE: Package dev-vcs/git⬀ is required.
-
Set
gentoo-unity7:amd64/23.0/desktop/unity/systemd (stable)
profile⬀ listed witheselect profile list
. -
Add
EHOOKS_ACCEPT="yes"
variable into/etc/portage/make.conf
configuration file.WARNING: Some overlay patches will be applied to packages from the Gentoo tree via ehooks patching system. For more details, see ehooks - Chapter I. Set the variable to confirm you agree with it.
-
Setup Gentoo Unity⁷ Desktop build environment:
emerge -av gentoo-unity-env
WARNING: Don't use portage variable EMERGE_DEFAULT_OPTS with
--jobs N
option as it causes informational and warning messages to be ignored. Such messages are important mainly in the next step. -
Previous emerge command installs 'unity-base/gentoo-unity-env' package. The package, among other things, generates emerge command needed to be applied and displays it as a warning message in pkg_postinst phase. Rebuild all affected packages, if any.
FOR EXAMPLE, YOU CAN SEE:
>>> Looking for ehooks changes... done! * Rebuild the following packages affected by ehooks changes: * emerge -av1 app-i18n/ibus gnome-base/gnome-menus gnome-base/gnome-session gnome-base/gsettings-desktop-schemas gnome-extra/polkit-gnome x11-libs/gtk+:2 x11-libs/gtk+:3
-
Update the whole system:
emerge -avuDU --with-bdeps=y @world
NOTE: Circular dependencies error may appear between 'media-libs/freetype' and 'media-libs/harfbuzz'. Before the update, try:
USE="-harfbuzz" emerge -av1 media-libs/freetype
-
Install the Unity7:
emerge -av unity-meta
NOTES:
-
Don't forget to enable systemd services, such as LightDM⬀, PulseAudio⬀, NetworkManager⬀, CUPS⬀ or Bluetooth⬀.
-
If you switch the default Python target, you must update
sys-apps/portage
before any other packages.