Installing libsdl2-dev on Ubuntu?
foote-darrell opened this issue · comments
I had followed the build instructions on this site to modify the game with more render distance and higher height. Reportedly this computer does not have the libsdl2-dev library which was required. I had referred to this site to download it. I am pretty sure this computer is a x86 architecture, which doesn't seem to be one of the options. I had tried opening one of them, but ti just reports that the dependencies are not met. How do I actually install it?
Did you try this? apt install libsdl2-dev
Hello @foote-darrell,
You must read the error message carefully. It says: “are you root?
” which implies that you must run the command apt install libsdl2-dev
as root, which is the Linux equivalent for Administrator under Windows.
To run any command as root, you can use sudo
:
sudo apt install libsdl2-dev
You will be prompted for your password, and everything will be good to go!
Looks like that did it. Thanks.