Replace su with sudo in docs/gtk/install.md

Closes https://github.com/wxWidgets/wxWidgets/pull/2343
This commit is contained in:
Manuel Garcia
2021-04-23 13:09:28 -04:00
committed by Vadim Zeitlin
parent db22d12a47
commit 4b41daab13

View File

@@ -17,9 +17,8 @@ install instructions just do the following in wxWidgets directory:
> cd buildgtk
> ../configure --with-gtk
> make
> su <type root password>
> make install
> ldconfig
> sudo make install
> sudo ldconfig
[if you get "ldconfig: command not found", try using "/sbin/ldconfig"]
@@ -28,9 +27,8 @@ the buildgtk directory, but they may not be available to other users.
If you want to remove wxWidgets on Unix you can do this:
> su <type root password>
> make uninstall
> ldconfig
> sudo make uninstall
> sudo ldconfig
Note that by default, GTK 3 is used. GTK 2 can be specified
with --with-gtk=2.