I am attempting to install FCEUX from a .deb
package that worked on Ubuntu 20.04 but does not install on 22.04.1 LTS.
I see the following errors:
Depends: libx264-155 but it is not installable
Depends: libx265-179 but it is not installable
E: Unable to correct problems, you have held broken packages.
Does this mean that 22.04 cannot use this package since it has these dependencies? Is there a way to install those older dependencies on 22.04?
The source is available but there aren't great instructions on building.
fceux is actually in the Ubuntu repository. So you have two options, install the pre-built one or build from source.
Install from Ubuntu
sudo apt install fceux
Build from source
You can build this from source pretty easily. I just tested these instructions on Ubuntu 22.04 and 23.04, and it works.. see:
Here's what you do:
Install dependencies
Get the source
Make the docs (optional)
Build fceux
Test it
It should launch as per my image above. If you're happy, you can "install" it.
Install fceux
That'll put it all in
/usr/local
including the binary and all the other bits and bobs. It won't get updated of course, but if they update the source, you can always do the above again. Hope that helps.