Skip to content

Commit 776fbdf

Browse files
committed
readme: cleanup the additional graphics libraries installation instructions
1 parent d557158 commit 776fbdf

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,9 +189,11 @@ v run tetris/tetris.v
189189
```
190190
<img src='https://raw.githubusercontent.com/vlang/v/master/examples/tetris/screenshot.png' width=300 alt='tetris screenshot'>
191191

192-
NB: In order to build Tetris or 2048 (or anything else using `sokol` or `gg` graphics modules).
193-
On some Linux systems (Debian/Ubuntu based), you need to install `libxi-dev` and `libxcursor-dev`.
194-
On Fedora/RH/CentOS, that would be:
192+
NB: In order to build Tetris or 2048 (or anything else using `sokol` or `gg` graphics modules),
193+
you will need additional development libraries for your system.
194+
For some Linux distros (Debian/Ubuntu based), you need to run this:
195+
`sudo apt install libxi-dev libxcursor-dev`.
196+
For Fedora/RH/CentOS, you need to run this:
195197
`sudo dnf install libXcursor-devel libXi-devel libX11-devel libglvnd-devel` .
196198

197199
## V net.http, net.websocket, `v install`

0 commit comments

Comments
 (0)