libgles2 is a runtime library used by applications. -dev is a header etc. files package used to compile apps using the library.