Installation problem - Linux

Got a problem with OpenTTD? Find some help here.

Moderator: OpenTTD Developers

Post Reply
TTDNewguy
Engineer
Engineer
Posts: 1
Joined: 19 Feb 2023 20:43

Installation problem - Linux

Post by TTDNewguy »

Hello, can someone please help with an installation problem?

I’m running Debian Linux on an older 32-bit laptop and I’m having problems getting OpenTTD to run (to be honest I’m not quite sure where to start).

From a Terminal session if I run

sudo apt install openttd

I only get version 10 as that is the one listed in the package manager. How do I update this to the latest version?

Also, I uninstalled version 10 and downloaded ‘Linux Generic Binaries (x86_64, 64bit) (xz/lzma archive)’ from the front page but can’t get it working - I assumed x86 referred to 32-bit?

I’m quite new to Linux Debian but I spent a few months with Linux Mint beforehand so any help is greatly appreciated to understand how to install the latest version on Debian 11.

Many thanks!

Newguy
User avatar
kamnet
Moderator
Moderator
Posts: 8588
Joined: 28 Sep 2009 17:15
Location: Eastern KY
Contact:

Re: Installation problem - Linux

Post by kamnet »

I don't believe OpenTTD provides a download for 32-bit X86 processors anymore, so OpenTTD 10 may be the latest you can get a binary for. You might be able to compile it yourself from source code, but you would need to be able to make the changes in the code for that.
skc
Traffic Manager
Traffic Manager
Posts: 177
Joined: 17 Sep 2022 02:02

Re: Installation problem - Linux

Post by skc »

What version of Debian are you running? and what 'branch'? What does 'lsb_release -a' show?

What is the CPU in the laptop? 'cat /proc/cpuinfo' gives a lot of output, but the last "block" of output will have everything needed.

NOTE: both of these can be run as a regular user, you don't need to 'sudo' them.
TTDNewguy
Engineer
Engineer
Posts: 1
Joined: 19 Feb 2023 20:43

Re: Installation problem - Linux

Post by TTDNewguy »

Hi guys, thank you both for your replies.

"You might be able to compile it yourself from source code, but you would need to be able to make the changes in the code for that." - That sounds confusing... :)

To answer skc, the version shows:

No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye

And for the CPU, the output is:

processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 Duo CPU T5250 @ 1.50GHz
stepping : 13
microcode : 0xa1
cpu MHz : 997.474
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fdiv_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ht tm pbe nx lm constant_tsc arch_perfmon pebs bts cpuid aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm dtherm
bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit mmio_unknown
bogomips : 2992.42
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 Duo CPU T5250 @ 1.50GHz
stepping : 13
microcode : 0xa1
cpu MHz : 997.474
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
apicid : 1
initial apicid : 1
fdiv_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ht tm pbe nx lm constant_tsc arch_perfmon pebs bts cpuid aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm dtherm
bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit mmio_unknown
bogomips : 2992.42
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

I hope the above is useful, I'm not sure what I'm looking at here to be honest. It's an old Sony Vaio, but Debian runs very smoothly. It has 4GB memory installed but only recognises 3GB - a restriction by Vaio I believe.

Many thanks,
Newguy
Last edited by TTDNewguy on 20 Feb 2023 11:46, edited 1 time in total.
User avatar
kamnet
Moderator
Moderator
Posts: 8588
Joined: 28 Sep 2009 17:15
Location: Eastern KY
Contact:

Re: Installation problem - Linux

Post by kamnet »

That's a 64-bit processor, why not run a 64-bit Linux install?
TTDNewguy
Engineer
Engineer
Posts: 1
Joined: 19 Feb 2023 20:43

Re: Installation problem - Linux

Post by TTDNewguy »

Hi kamnet, you're right, I had absolutely no idea!

This Vaio originally had Windows Vista installed (it's that old), so I installed 32-bit Linux Mint followed by 32-bit Debian 11 assuming it was a 32-bit system.

I just confirmed your finding by running a couple of commands I found online:

'getconf LONG_BIT' shows the Linux kernel is 32

'sudo lshw -class processor' shows width: 64 bits

'lscpu' shows CPU op-mode(s): 32-bit, 64-bit (CPU can run 32-bit or 64-bit instructions)

Thank you very much for pointing this out. :D

I will arrange a reinstall after backing up this system. Will definitely install 64-bit Linux now.

Thanks again!
Newguy
Last edited by TTDNewguy on 20 Feb 2023 15:04, edited 1 time in total.
Post Reply

Return to “OpenTTD Problems”

Who is online

Users browsing this forum: No registered users and 24 guests