rxi / lite

A lightweight text editor written in Lua
MIT License
7.33k stars 348 forks source link

[QUESTION] How to run it under linux #266

Closed dodalovic closed 3 years ago

dodalovic commented 3 years ago

Hi, I just download the package from the latest release page:

total 2.1M
drwxrwxr-x 3 dodalovic dodalovic 4.0K Mar  6 13:50 .
drwxrwxrwx 9 dodalovic dodalovic 4.0K Mar  6 13:55 ..
drwxr-xr-x 6 dodalovic dodalovic 4.0K Jul  5  2020 data
-rwxr-xr-x 1 dodalovic dodalovic 363K Jul  5  2020 lite
-rwxr-xr-x 1 dodalovic dodalovic 376K Jul  5  2020 lite.exe
-rwxr-xr-x 1 dodalovic dodalovic 1.4M Jul  5  2020 SDL2.dll

and tried running it via:

 ./lite

but got ./lite: error while loading shared libraries: libSDL2-2.0.so.0: cannot open shared object file: No such file or directory Using Pop OS 20.10 Linux

dodalovic commented 3 years ago

sudo apt install libsdl2-mixer-2.0-0 libsdl2-image-2.0-0 libsdl2-2.0-0