I was trying to install "PokerTH" with Ubuntu software center but it installed an older version of the game.
When I ran the game it told me that I must install the newest version of game to play this game online.
How can I install the newest version via terminal?
See also: https://help.launchpad.net/Packaging/PPA/InstallingSoftware
You have to add the pokerTH teams PPA.
You can get the PPA for ubuntu 12.10 from the games Launchpad site. https://launchpad.net/~pkg-games/+archive/ppa
To add a PPA, open your terminal (CTRL+T or search the dash)
type in
it will ask for your root password (admin) and you will not see anything as you type it in, but that's alright. After writing the password hit RETURN / ENTER
Then you will have to update all you software sources, by typing:
and finally you can install the game