diff --git a/knowledge base/funtoo linux.md b/knowledge base/funtoo linux.md new file mode 100644 index 0000000..e19fef0 --- /dev/null +++ b/knowledge base/funtoo linux.md @@ -0,0 +1,17 @@ +# Funtoo GNU/Linux + +```shell +# Portage update. +sudo ego sync +sudo emerge --sync +``` + +## Further readings + +- [Installation] guide +- [Portage] +- [Profiles] + +[installation]: https://www.funtoo.org/Install +[portage]: portage.md +[profiles]: https://www.funtoo.org/Funtoo_Profiles diff --git a/knowledge base/gentoo linux.md b/knowledge base/gentoo linux.md new file mode 100644 index 0000000..0394987 --- /dev/null +++ b/knowledge base/gentoo linux.md @@ -0,0 +1,7 @@ +# Gentoo GNU/Linux + +## Further readings + +- [Portage] + +[portage]: portage.md diff --git a/knowledge base/portage.md b/knowledge base/portage.md index 8f49dd3..08eba2e 100644 --- a/knowledge base/portage.md +++ b/knowledge base/portage.md @@ -1,16 +1,18 @@ # Portage -```shell -# system update -sudo emerge --sync -sudo emerge --quiet --verbose --update --deep --newuse --with-bdeps=y --ask @world -sudo emerge --depclean --ask +## TL;DR -# check active portage features -portageq envvar FEATURES | xargs -n 1 +```shell +# System update. +sudo emerge --sync +sudo emerge --depclean --ask +sudo emerge -qv --update --deep --newuse --with-bdeps=y -a @world + +# Show what portage features are currently active. +portageq envvar FEATURES | xargs -n1 ``` -## Further readings +## Sources - [/etc/portage] - [Portage]