How To Install openttd on Fedora 34

openttd is Transport system simulation game

Introduction

In this tutorial we learn how to install openttd on Fedora 34.

What is openttd

OpenTTD is modeled after a popular transportation business simulation game by Chris Sawyer and enhances the game experience dramatically. Many features were inspired by TTDPatch while others are original.

We can use yum or dnf to install openttd on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install openttd.

Install openttd on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install openttd using dnf by running the following command:

sudo dnf -y install openttd

Install openttd on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install openttd using yum by running the following command:

sudo yum -y install openttd

How To Uninstall openttd on Fedora 34

To uninstall only the openttd package we can use the following command:

sudo dnf remove openttd

openttd Package Contents on Fedora 34

/usr/bin/openttd
/usr/lib/.build-id
/usr/lib/.build-id/11
/usr/lib/.build-id/11/7d625ed6ce04a215af2ebbd494b87fceb53bae
/usr/share/appdata/openttd.appdata.xml
/usr/share/applications/openttd.desktop
/usr/share/doc/openttd
/usr/share/doc/openttd/CONTRIBUTING.md
/usr/share/doc/openttd/CREDITS.md
/usr/share/doc/openttd/README.md
/usr/share/doc/openttd/changelog.txt
/usr/share/doc/openttd/known-bugs.txt
/usr/share/icons/hicolor/128x128/apps/openttd.png
/usr/share/icons/hicolor/16x16/apps/openttd.png
/usr/share/icons/hicolor/256x256/apps/openttd.png
/usr/share/icons/hicolor/32x32/apps/openttd.png
/usr/share/icons/hicolor/48x48/apps/openttd.png
/usr/share/icons/hicolor/64x64/apps/openttd.png
/usr/share/licenses/openttd
/usr/share/licenses/openttd/COPYING.md
/usr/share/man/man6/openttd.6.gz
/usr/share/openttd
/usr/share/openttd/ai
/usr/share/openttd/ai/compat_0.7.nut
/usr/share/openttd/ai/compat_1.0.nut
/usr/share/openttd/ai/compat_1.1.nut
/usr/share/openttd/ai/compat_1.10.nut
/usr/share/openttd/ai/compat_1.2.nut
/usr/share/openttd/ai/compat_1.3.nut
/usr/share/openttd/ai/compat_1.4.nut
/usr/share/openttd/ai/compat_1.5.nut
/usr/share/openttd/ai/compat_1.6.nut
/usr/share/openttd/ai/compat_1.7.nut
/usr/share/openttd/ai/compat_1.8.nut
/usr/share/openttd/ai/compat_1.9.nut
/usr/share/openttd/baseset
/usr/share/openttd/baseset/no_music.obm
/usr/share/openttd/baseset/no_sound.obs
/usr/share/openttd/baseset/openttd.32.bmp
/usr/share/openttd/baseset/openttd.grf
/usr/share/openttd/baseset/opntitle.dat
/usr/share/openttd/baseset/orig_dos.obg
/usr/share/openttd/baseset/orig_dos.obm
/usr/share/openttd/baseset/orig_dos.obs
/usr/share/openttd/baseset/orig_dos_de.obg
/usr/share/openttd/baseset/orig_extra.grf
/usr/share/openttd/baseset/orig_tto.obm
/usr/share/openttd/baseset/orig_win.obg
/usr/share/openttd/baseset/orig_win.obm
/usr/share/openttd/baseset/orig_win.obs
/usr/share/openttd/game
/usr/share/openttd/game/compat_1.10.nut
/usr/share/openttd/game/compat_1.2.nut
/usr/share/openttd/game/compat_1.3.nut
/usr/share/openttd/game/compat_1.4.nut
/usr/share/openttd/game/compat_1.5.nut
/usr/share/openttd/game/compat_1.6.nut
/usr/share/openttd/game/compat_1.7.nut
/usr/share/openttd/game/compat_1.8.nut
/usr/share/openttd/game/compat_1.9.nut
/usr/share/openttd/lang
/usr/share/openttd/lang/afrikaans.lng
/usr/share/openttd/lang/arabic_egypt.lng
/usr/share/openttd/lang/basque.lng
/usr/share/openttd/lang/belarusian.lng
/usr/share/openttd/lang/brazilian_portuguese.lng
/usr/share/openttd/lang/bulgarian.lng
/usr/share/openttd/lang/catalan.lng
/usr/share/openttd/lang/croatian.lng
/usr/share/openttd/lang/czech.lng
/usr/share/openttd/lang/danish.lng
/usr/share/openttd/lang/dutch.lng
/usr/share/openttd/lang/english.lng
/usr/share/openttd/lang/english_AU.lng
/usr/share/openttd/lang/english_US.lng
/usr/share/openttd/lang/esperanto.lng
/usr/share/openttd/lang/estonian.lng
/usr/share/openttd/lang/faroese.lng
/usr/share/openttd/lang/finnish.lng
/usr/share/openttd/lang/french.lng
/usr/share/openttd/lang/gaelic.lng
/usr/share/openttd/lang/galician.lng
/usr/share/openttd/lang/german.lng
/usr/share/openttd/lang/greek.lng
/usr/share/openttd/lang/hebrew.lng
/usr/share/openttd/lang/hungarian.lng
/usr/share/openttd/lang/icelandic.lng
/usr/share/openttd/lang/indonesian.lng
/usr/share/openttd/lang/irish.lng
/usr/share/openttd/lang/italian.lng
/usr/share/openttd/lang/japanese.lng
/usr/share/openttd/lang/korean.lng
/usr/share/openttd/lang/latin.lng
/usr/share/openttd/lang/latvian.lng
/usr/share/openttd/lang/lithuanian.lng
/usr/share/openttd/lang/luxembourgish.lng
/usr/share/openttd/lang/malay.lng
/usr/share/openttd/lang/norwegian_bokmal.lng
/usr/share/openttd/lang/norwegian_nynorsk.lng
/usr/share/openttd/lang/polish.lng
/usr/share/openttd/lang/portuguese.lng
/usr/share/openttd/lang/romanian.lng
/usr/share/openttd/lang/russian.lng
/usr/share/openttd/lang/serbian.lng
/usr/share/openttd/lang/simplified_chinese.lng
/usr/share/openttd/lang/slovak.lng
/usr/share/openttd/lang/slovenian.lng
/usr/share/openttd/lang/spanish.lng
/usr/share/openttd/lang/spanish_MX.lng
/usr/share/openttd/lang/swedish.lng
/usr/share/openttd/lang/tamil.lng
/usr/share/openttd/lang/thai.lng
/usr/share/openttd/lang/traditional_chinese.lng
/usr/share/openttd/lang/turkish.lng
/usr/share/openttd/lang/ukrainian.lng
/usr/share/openttd/lang/vietnamese.lng
/usr/share/openttd/lang/welsh.lng
/usr/share/openttd/scripts
/usr/share/openttd/scripts/autoexec.scr.example
/usr/share/openttd/scripts/game_start.scr.example
/usr/share/openttd/scripts/on_client.scr.example
/usr/share/openttd/scripts/on_dedicated.scr.example
/usr/share/openttd/scripts/on_server.scr.example
/usr/share/openttd/scripts/on_server_connect.scr.example
/usr/share/openttd/scripts/pre_dedicated.scr.example
/usr/share/openttd/scripts/pre_server.scr.example
/usr/share/openttd/scripts/readme.txt
/usr/share/pixmaps/openttd.32.xpm
/usr/bin/openttd
/usr/lib/.build-id
/usr/lib/.build-id/64
/usr/lib/.build-id/64/ad101696acbb4dcc6934600516a158c9183c99
/usr/share/appdata/openttd.appdata.xml
/usr/share/applications/openttd.desktop
/usr/share/doc/openttd
/usr/share/doc/openttd/CONTRIBUTING.md
/usr/share/doc/openttd/CREDITS.md
/usr/share/doc/openttd/README.md
/usr/share/doc/openttd/changelog.txt
/usr/share/doc/openttd/known-bugs.txt
/usr/share/icons/hicolor/128x128/apps/openttd.png
/usr/share/icons/hicolor/16x16/apps/openttd.png
/usr/share/icons/hicolor/256x256/apps/openttd.png
/usr/share/icons/hicolor/32x32/apps/openttd.png
/usr/share/icons/hicolor/48x48/apps/openttd.png
/usr/share/icons/hicolor/64x64/apps/openttd.png
/usr/share/licenses/openttd
/usr/share/licenses/openttd/COPYING.md
/usr/share/man/man6/openttd.6.gz
/usr/share/openttd
/usr/share/openttd/ai
/usr/share/openttd/ai/compat_0.7.nut
/usr/share/openttd/ai/compat_1.0.nut
/usr/share/openttd/ai/compat_1.1.nut
/usr/share/openttd/ai/compat_1.10.nut
/usr/share/openttd/ai/compat_1.11.nut
/usr/share/openttd/ai/compat_1.2.nut
/usr/share/openttd/ai/compat_1.3.nut
/usr/share/openttd/ai/compat_1.4.nut
/usr/share/openttd/ai/compat_1.5.nut
/usr/share/openttd/ai/compat_1.6.nut
/usr/share/openttd/ai/compat_1.7.nut
/usr/share/openttd/ai/compat_1.8.nut
/usr/share/openttd/ai/compat_1.9.nut
/usr/share/openttd/baseset
/usr/share/openttd/baseset/no_music.obm
/usr/share/openttd/baseset/no_sound.obs
/usr/share/openttd/baseset/openttd.grf
/usr/share/openttd/baseset/opntitle.dat
/usr/share/openttd/baseset/orig_dos.obg
/usr/share/openttd/baseset/orig_dos.obm
/usr/share/openttd/baseset/orig_dos.obs
/usr/share/openttd/baseset/orig_dos_de.obg
/usr/share/openttd/baseset/orig_extra.grf
/usr/share/openttd/baseset/orig_tto.obm
/usr/share/openttd/baseset/orig_win.obg
/usr/share/openttd/baseset/orig_win.obm
/usr/share/openttd/baseset/orig_win.obs
/usr/share/openttd/game
/usr/share/openttd/game/compat_1.10.nut
/usr/share/openttd/game/compat_1.11.nut
/usr/share/openttd/game/compat_1.2.nut
/usr/share/openttd/game/compat_1.3.nut
/usr/share/openttd/game/compat_1.4.nut
/usr/share/openttd/game/compat_1.5.nut
/usr/share/openttd/game/compat_1.6.nut
/usr/share/openttd/game/compat_1.7.nut
/usr/share/openttd/game/compat_1.8.nut
/usr/share/openttd/game/compat_1.9.nut
/usr/share/openttd/lang
/usr/share/openttd/lang/afrikaans.lng
/usr/share/openttd/lang/arabic_egypt.lng
/usr/share/openttd/lang/basque.lng
/usr/share/openttd/lang/belarusian.lng
/usr/share/openttd/lang/brazilian_portuguese.lng
/usr/share/openttd/lang/bulgarian.lng
/usr/share/openttd/lang/catalan.lng
/usr/share/openttd/lang/croatian.lng
/usr/share/openttd/lang/czech.lng
/usr/share/openttd/lang/danish.lng
/usr/share/openttd/lang/dutch.lng
/usr/share/openttd/lang/english.lng
/usr/share/openttd/lang/english_AU.lng
/usr/share/openttd/lang/english_US.lng
/usr/share/openttd/lang/esperanto.lng
/usr/share/openttd/lang/estonian.lng
/usr/share/openttd/lang/faroese.lng
/usr/share/openttd/lang/finnish.lng
/usr/share/openttd/lang/french.lng
/usr/share/openttd/lang/gaelic.lng
/usr/share/openttd/lang/galician.lng
/usr/share/openttd/lang/german.lng
/usr/share/openttd/lang/greek.lng
/usr/share/openttd/lang/hebrew.lng
/usr/share/openttd/lang/hungarian.lng
/usr/share/openttd/lang/icelandic.lng
/usr/share/openttd/lang/indonesian.lng
/usr/share/openttd/lang/irish.lng
/usr/share/openttd/lang/italian.lng
/usr/share/openttd/lang/japanese.lng
/usr/share/openttd/lang/korean.lng
/usr/share/openttd/lang/latin.lng
/usr/share/openttd/lang/latvian.lng
/usr/share/openttd/lang/lithuanian.lng
/usr/share/openttd/lang/luxembourgish.lng
/usr/share/openttd/lang/malay.lng
/usr/share/openttd/lang/norwegian_bokmal.lng
/usr/share/openttd/lang/norwegian_nynorsk.lng
/usr/share/openttd/lang/polish.lng
/usr/share/openttd/lang/portuguese.lng
/usr/share/openttd/lang/romanian.lng
/usr/share/openttd/lang/russian.lng
/usr/share/openttd/lang/serbian.lng
/usr/share/openttd/lang/simplified_chinese.lng
/usr/share/openttd/lang/slovak.lng
/usr/share/openttd/lang/slovenian.lng
/usr/share/openttd/lang/spanish.lng
/usr/share/openttd/lang/spanish_MX.lng
/usr/share/openttd/lang/swedish.lng
/usr/share/openttd/lang/tamil.lng
/usr/share/openttd/lang/thai.lng
/usr/share/openttd/lang/traditional_chinese.lng
/usr/share/openttd/lang/turkish.lng
/usr/share/openttd/lang/ukrainian.lng
/usr/share/openttd/lang/vietnamese.lng
/usr/share/openttd/lang/welsh.lng
/usr/share/openttd/scripts
/usr/share/openttd/scripts/autoexec.scr.example
/usr/share/openttd/scripts/game_start.scr.example
/usr/share/openttd/scripts/on_client.scr.example
/usr/share/openttd/scripts/on_dedicated.scr.example
/usr/share/openttd/scripts/on_server.scr.example
/usr/share/openttd/scripts/on_server_connect.scr.example
/usr/share/openttd/scripts/pre_dedicated.scr.example
/usr/share/openttd/scripts/pre_server.scr.example
/usr/share/openttd/scripts/readme.txt
/usr/share/pixmaps/openttd.32.xpm
/usr/share/pixmaps/openttd.64.xpm

References

Summary

In this tutorial we learn how to install openttd on Fedora 34 using yum and dnf.