How Can I install dosbox-sdl2 version?

SDL2 is not the best, I have tried it and it was disappointing. Use DosBox-SVN
Check this post: RetroArch Megathread