Correct Gentoo emerge instructions (#311)

Emerge doesn't care what order the packages are given; it'll figure out the correct build order and pull in the proper dependencies. Adding the -u switch will only perform the emerge if the package is not yet installed or needs to be updated. This avoids wasting time performing an emerge on something that has already been emerged.

While harmless, it is unnecessary to explicitly include eselect-postgresql in the list as the dev-db/postgresql ebuilds declare it as a dependency. There is no "sqlite3" or "libsqlite3-dev" ebuilds, so that command would fail.
This commit is contained in:
Aaron W. Swenson 2018-11-10 06:30:12 -05:00 committed by Baptiste Gelez
parent a64c4912cf
commit 3ecd0e3c34

View file

@ -49,10 +49,10 @@ On **Gentoo**:
emerge --sync emerge --sync
# If you want PostgreSQL # If you want PostgreSQL
emerge -av postgresql eselect-postgresql gettext && emerge --ask dev-vcs/git emerge -avu dev-db/postgresql dev-vcs/git sys-devel/gettext
# If you want SQlite # If you want SQlite
emerge -av gettext && emerge --ask dev-vcs/git && emerge -pv sqlite3 libsqlite3-dev emerge -avu dev-db/sqlite dev-vcs/git sys-devel/gettext
``` ```
On **Mac OS X**, with [Homebrew](https://brew.sh/): On **Mac OS X**, with [Homebrew](https://brew.sh/):