BattleforWesnoth [a very popular strategy game in Linux]
Source: Internet
Author: User
BattleforWesnoth [a very popular strategy and strategy game in Linux] -- Linux general technology-Linux technology and application information. The following is a detailed description. Basically, we copied the wesnoth.org website.
I installed the latest version 1.3.19. I want to download the source code and install it myself. If you just want to try this game,
In ubuntu7.10, I can search for wesnoth in the source file and install it in version 1.2.8. However, it is recommended that you enjoy playing
It is best to get the latest version, because I just found that after the latest version is installed, everything in Chinese is doing well.
1.3.19i will not mention the installation under Windows. Although I have not tried it, I want to download the. exe file from the official website.
No problem.
In Linux, the latest source code is provided on the official website. It may be that the download speed on the official website is slow.
The speed is about 20 kb/s .. It took many hours to pull over one hundred M of things ~
Download the wesnoth-1.3.19.tar.bz2 file. Do not move it first:
For the sake of simplicity, I directly paste the command. I did it like this:
Sudo apt-get build-dep wesnoth
Sudo apt-get install python-dev libboost-iostreams-dev
(I don't know if I forgot to do this at the time, so I encountered some problems later in./configure. I will talk about it later)
The following official website says you need to uninstall the old version. I used to find the wesnoth source installation directory according to his instructions.
I used make uninstall, but I couldn't find it for a long time, because I installed version 1.2.8 in the source. I thought about it later,
You just need to go to the source installation and delete all wesnoth related items.
A few steps are left behind,
Find the downloaded wesnoth-1.3.19.tar.bz2,
Post
Tar xfjv wesnoth-1.3.19.tar.bz2
Paste again
Cd wesnoth-1.3.19
Then
./Configure
I encountered a small problem here, and an error occurred in Boost after a lot of check. Then I tried it myself,
Search for boost in the source installation software, and then set the first item (as if it was the first item ).
The related dependencies are correct.) After installation,./configure is successfully installed. I don't know if this problem is caused
I forgot one of the commands I mentioned earlier, and I still don't know if I posted that sentence.
Then
Make
Why does it take an hour to compile on the Internet? Two hours? I waited for less than 20 minutes.
Then
Sudo make install
After completing this step, you can find "Battle for Wesnoth" in "game". You can play it ~~ It seems that I am
No garbled code has been found, and even the battle has been finished ~~ Haha ~~ Enjoy
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service