Jump to content
Age of History Games
robotox1

How to play AoC2 on Linux

Recommended Posts

Unfortunately, AoC does not have official support for the Linux system, but running this game on this system is very easy.

1. Download AoC2 files from Steam.

a) You can do it from Windows to copy files to your Linux but you can also enable "PlayOnLinux" emulation on Steam to download AoC2 files.

Steam -> Settings -> SteamPlay -> "Enable Steam Play for all titles" and reload Steam.

MIB4v7F.png

 

b) Install game by Steam Client

 

2. Install Oracle Java (skip if you have installed)

To check your java, open terminal and put "java -version"

java version "1.8.0_191"
Java(TM) SE Runtime Environment (build 1.8.0_191-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.191-b12, mixed mode)


 

Ubuntu/Debian
 

sudo add-apt-repository ppa:webupd8team/java

sudo apt-get update

sudo apt install oracle-java8-installer

sudo apt install oracle-java8-set-default

 

OpenSuse

Download Oracle Java: http://www.oracle.com/technetwork/java/javase/downloads/index.html

In the following commands replace VERSION for your version of downloaded file (for example 191)

tar -xf jdk-8uVERSION-linux-x64.tar.gz

or unpack by Ark
 

sudo chown -R root:root jdk1.8.0_VERSION

sudo mkdir -p /usr/local/java

sudo mv jdk1.8.0_VERSION /usr/local/java
sudo gedit /etc/profile

// OR nano OR vim OR your favorite text editor

-> Paste inside this file:

JAVA_HOME=/usr/local/java/jdk1.8.0_VERSION
JRE_HOME=$JAVA_HOME
PATH=$PATH:$JAVA_HOME/bin

export JAVA_HOME
export JRE_HOME
export PATH

and save

sudo update-alternatives --install /usr/bin/java java /usr/local/java/jdk1.8.0_VERSION/bin/java 1

sudo update-alternatives --install /usr/bin/javac javac /usr/local/java/jdk1.8.0_VERSION/bin/javac 1

sudo update-alternatives --config java

and select jdk (not openJDK) - it should be the last one

source /etc/profile
java -version

should show

java version "1.8.0_191"
Java(TM) SE Runtime Environment (build 1.8.0_191-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.191-b12, mixed mode)

Other Linux

Check the tutorials on the internet, because I can not write this point for all distributions

 

3. Run Age of Civilizations 2

Go to game directory (for example /home/user/.local/share/Steam/steamapps/common/Age of Civilizations II/) and open terminal.

java -jar AoC2.jar

The game should start without any emulator with a maximum FPS

Share this post


Link to post
Share on other sites

I use Linux too. I use arch Nice tutorial btw. Just a minor note: If you don't want to run the game with the command line, you can just run it by steam using proton, works perfectly. However, the Java method gives you better performance.

Edited by Chexier

Share this post


Link to post
Share on other sites

Posted (edited)

I'm not much of a Linux user myself, but I've been wanting to try out different operating systems, so I might give this a shot.By the way, I read that CentOS 7 is reaching its end of life soon. For those who might be interested, I found this website called TuxCare (tuxcare.com), which provides support for CentOS users even after the end-of-life date. It might be worth checking out for those who rely on CentOS for their systems.

Edited by Jolosriv

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Popular Now

  • Our picks

    • Land units - Ideas AoH3
      AoH3 will have different types of land units.

      In this topic we will write ideas for new land units. 

       

      So the AoH 3 will have new battle system.


      Representation of the battlefield in the game.


      Land units will be grouped into 3 types. Each unit will have a different recruitment cost, attack, defense, movement speed and upkeep.

      Groups determine the placement of units on the battlefield.


       

      Each unit can be unlocked by researching technology and then upgraded.

       

      Here is the current list of units with upgrades:

      First line:

      Warrior -> Light Footmen -> Heavy Infantry -> Infantry -> Line Infantry -> Modern Infantry

      Hoplites -> Spearmen -> Pikeman -> Elite Pikeman -> Musketeer -> Riflemen -> Mechanized Infantry -> Modern Mechanized Infantry

      First line side:

      Horseman -> Elite Horseman -> Cavalry -> Tank -> Modern Tank

      Second line:

      Archer -> Bowmen -> Crossbowman -> Elite Crossbowman

      Canon -> Field Cannon -> Artillery -> Modern Artillery

      Early Airplane -> Airplane -> Modern Airplane

       

      This is a very early version, so maybe something should be changed?

      Or maybe an idea for a new type of unit with upgrades? I'm waiting for your suggestions.

       
    • Age of History 3 - Buildings ideas
      Your ideas can become part of the game, in this topic we will write ideas for new buildings in Age of History 3.

       

      The buildings will be grouped into four categories:

      1. Administration

      2. Military

      3. Economy

      4. Unique capital buildings - These powerful buildings provide bonuses for the local province or for all provinces of your Civilization

       

      All of the buildings can be upgraded, here is example:

      Library -> University -> Academy

      Each building costs differently and gives different bonuses.

       

       

      This is what your building idea post should look like, example

       

      Building Group: Administration

      Name: Tax Office

      Cost: 60 Gold

      Construction Time: 90 Days

      Maintenance Cost: 0.2 gold per month

      The name of the technology that unlocks this building (Optional)

      And write here what bonuses this building provides. Example:

      Bonuses:

      Local Tax Efficiency: +10%

      Manpower per month: +25

       

      The same goes for building upgrades.

       

      The most important thing with new building ideas is to not stick to the old game, get creative and offer new bonuses not available in Age of History 2, and maybe new things and mechanics will be added to the game

       

      Template for the post:

       

      Building Group:

      Name:

      Cost:

      Construction Time:

      Maintenance Cost: 

      The name of the technology that unlocks this building:

      Bonuses:

       

       


       

       

       
      • 213 replies
    • Fate of Kingdoms | British Isles map
      Fate of Kingdoms — the local mod about history of British Isles.

      · A great new map of Britain and Ireland, consisting of more than 3k provinces based on historical borders;
      · More than 20 main historical, elaborated scenarios, including time frames from the VI to the XVII centuries;
      · A huge number of new civilizations
      · Rebalance of ages;
      · Redesigned forms of government;
      · Atmospheric soundtrack;
      · Small changes in the interface;
      Et cetera...
      • 23 replies
    • 𝐓𝐡𝐞 𝐖𝐚𝐫 𝐨𝐟 𝐑𝐞𝐯𝐨𝐥𝐮𝐭𝐢𝐨𝐧𝐬​ | Planned to be Released This Week
      First, greetings to all of you, The story of our mod will take place between 1756-1760-1776-1789-1803 and after. If we need to explain briefly; It will be equipped with Events and other new mechanics that will include the 7 Years' War, the Beginning of the Industrial Revolution, America's Struggle for Independence, the outbreak of the French Revolution, and finally the Napoleonic Wars and subsequent historical issues.
      • 208 replies
    • (1Mn Views) Conquerors v1.5.1 "Conquerors of the New Age" / DOWNLOAD NOW!
      Age of Civilizations II - Conqueror's II Mod
  • Tell a friend

    Love Age of History Games? Tell a friend!

  • Posts

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Age of History Games