How To Install texlive-games on Ubuntu 22.04
Introduction
In this tutorial we learn how to install texlive-games
on Ubuntu 22.04.
What is texlive-games
texlive-games is:
Setups for typesetting various games, including chess.
This package includes the following CTAN packages:
bartel-chess-fonts – A set of fonts supporting chess diagrams
chess – Fonts for typesetting chess boards
chess-problem-diagrams – A package for typesetting chess problem diagrams
chessboard – Print chess boards
chessfss – A package to handle chess fonts
crossword – Typeset crossword puzzles
crosswrd – Macros for typesetting crossword puzzles
egameps – LaTeX package for typesetting extensive games
gamebook – Typeset gamebooks and other interactive novels
gamebooklib – Macros for setting numbered entries in shuffled order
go – Fonts and macros for typesetting go games
hanoi – Tower of Hanoi in TeX
havannah – Diagrams of board positions in the games of Havannah and Hex
hexgame – Provide an environment to draw a hexgame-board
hmtrump – Describe card games
horoscop – Generate astrological charts in LaTeX
jigsaw – Draw jigsaw pieces with TikZ
labyrinth – Draw labyrinths and solution paths
logicpuzzle – Typeset (grid-based) logic puzzles
mahjong – Typeset Mahjong Tiles using MPSZ Notation
musikui – Easy creation of “arithmetical restoration” puzzles
nimsticks – Draws sticks for games of multi-pile Nim
onedown – Typeset Bridge Diagrams
othello – Modification of a Go package to create othello boards
othelloboard – Typeset Othello (Reversi) diagrams of any size, with annotations
pas-crosswords – Creating crossword grids, using TikZ
psgo – Typeset go diagrams with PSTricks
realtranspose – The “real” way to transpose a Matrix
reverxii – Playing Reversi in TeX
rubik – Document Rubik cube configurations and rotation sequences
schwalbe-chess – Typeset the German chess magazine “Die Schwalbe”
sgame – LaTeX style for typesetting strategic games
skak – Fonts and macros for typesetting chess games
skaknew – The skak chess fonts redone in Adobe Type 1
soup – Generate alphabet soup puzzles
sudoku – Create sudoku grids
sudokubundle – A set of sudoku-related packages
xq – Support for writing about xiangqi
xskak – An extension to the skak package for chess typesetting
There are three methods to install texlive-games
on Ubuntu 22.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install texlive-games Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install texlive-games
using apt-get
by running the following command:
sudo apt-get -y install texlive-games
Install texlive-games Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install texlive-games
using apt
by running the following command:
sudo apt -y install texlive-games
Install texlive-games Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install texlive-games
using aptitude
by running the following command:
sudo aptitude -y install texlive-games
How To Uninstall texlive-games on Ubuntu 22.04
To uninstall only the texlive-games
package we can use the following command:
sudo apt-get remove texlive-games
Uninstall texlive-games And Its Dependencies
To uninstall texlive-games
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove texlive-games
Remove texlive-games Configurations and Data
To remove texlive-games
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge texlive-games
Remove texlive-games configuration, data, and all of its dependencies
We can use the following command to remove texlive-games
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge texlive-games
References
Summary
In this tutorial we learn how to install texlive-games
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.