Fedora and Allegro 5

From Allegro Wiki
Jump to: navigation, search

Allegro 5 has been moved from the updates-testing repositories to the updates repositories for Fedora 13 and Fedora 14! It's also been submitted for Fedora 15 so it should be in there before long (if not before release then shortly after, I'm guessing).

Installation Instructions

Do either one of the following depending on your preference:

Install using the Add/Remove Software application
  • Start the application (System > Administration > Add/Remove Software).
  • Type "allegro5" (without the quotes) into the search box and click Find.
  • Check off the packages that you wish to have installed.

Ss2.jpg

  • Click Apply to install them.
  • If the system prompts you for root privileges (it will unless you're doing something wrong and logging into Gnome as root) then enter the root password and click Authenticate.

Ss.png

Or install from the command line
  • Open your favorite virtual/pseudo-terminal (e.g. Ctrl+Alt+F2 or Applications > System Tools > Terminal).
  • Execute: "yum install ..." (without the quotes) as root(*) where "<pkgname>..." corresponds to one or more of the following:
allegro5
allegro5-devel
allegro5-debuginfo
allegro5-addon-acodec
allegro5-addon-acodec-devel
allegro5-addon-audio
allegro5-addon-audio-devel
allegro5-addon-dialog
allegro5-addon-dialog-devel
allegro5-addon-image
allegro5-addon-image-devel
allegro5-addon-physfs
allegro5-addon-physfs-devel
allegro5-addon-ttf
allegro5-addon-ttf-devel

Any other way that you see fit (it is Linux after all). The -devel packages are required to compile programs that use Allegro 5. The -debuginfo package should contain the debug symbols for more useful output in case of a crash. The other packages are the runtimes for the core library and the addons (required to run Allegro 5 programs).


(*)Either elevate to root using "su -", pass the yum command into it with the "-c" option, or if you have sudo set up then use that.