Atom dependencies on openSUSE

An RPM package is provided for download on the Atom website, however, installing it on openSUSE Tumbleweed won’t install all of its dependencies. Running it from the console will give:

/usr/share/atom/atom: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory

According to the error message installing gconf2 will be required too.

sudo zypper install gconf2

After that Atom should work on openSUSE.

H.264 on openSUSE (round 2)

My previous post about this may be useful, but this one also works with gstreamer.

First from the official wiki for giving Firefox H.264 capabilities:

sudo zypper addrepo -f -n packman http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/ packman 

adding the packman repositories

sudo zypper install libavcodec56 libavcodec57 libavformat56 libavformat57 libavdevice56 libavdevice57

installing the codecs.
Now this only makes it available for Firefox so we also need (inspired by the unofficial multimedia codec guide):

sudo zypper install gstreamer-plugins-libav 

enables it for gstreamer too.

H.264 on openSUSE

I’ve installed openSUSE Tumbleweed.

For some licensing reasons it doesn’t contain the necessary codecs for playing H.264 files. Following neither the official, nor the unofficial documentation solved this problem for me, so for future reference, here are the exact steps that helped for me:

    1. Adding the Packman repositories:
      sudo zypper ar -f -n packman http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/ packman
    2. Installing mplayer and all its dependencies:
      sudo zypper install mplayer

But this is still not enough, there are still errors like


==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 57.64.101 (external)
Cannot find codec 'h264' in libavcodec...
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Cannot find codec 'h264' in libavcodec...
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Cannot find codec 'h264_crystalhd' in libavcodec...
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Cannot find codec 'h264_vda' in libavcodec...
VDecoder init failed :(
Requested video codec family [coreavcwindows] (vfm=dshow) not available.
Enable it at compilation.
Cannot find codec matching selected -vo and video format 0x34363248.
==========================================================================

  1. Doing a full repository vendor change, whatever that is:
    sudo zypper dup --from packman

mplayer is able to play all kind of files now on my system. For a bit easier control I’m using gnome-mplayer:
sudo zypper install gnome-mplayer