How to install GMusicBrowser on Ubuntu

How to install GMusicBrowser on Ubuntu

GMusicBrowser is an open-source media player for GNOME and Xfce desktops, designed to be lightweight, fast, elegant and highly skinnable. It is a powerful graphical browser which supports libraries with a very large number of songs (over 10,000). It can use multiple inputs and has support for mp3, ogg, and flac files. GMusicBrowser also supports mass-renaming and mass-retagging of a song library, multiple genres per song, ratings, and customizable labels. This article will cover the installation procedure of GMusicBrowser on Ubuntu.

Installation procedure

To begin with the installation procedure, add the repo by executing the following command.

root@linuxhelp:~# add-apt-repository ppa:andreas-boettger/gmusicbrowser-daily
 Daily builds for gmusicbrowser (https://github.com/squentin/gmusicbrowser)

For some time gmusicbrowser is also included in the official repositories. Nevertheless, to install the version offered here, the priority of the installation must be changed (apt pinning).
Create a file: " /etc/apt/preferences.d/andreas-boettger_gmusicbrowser-daily-ppa-pin" 

With the following content:
Package: *
Pin: release o=LP-PPA-andreas-boettger-gmusicbrowser-daily
Pin-Priority: 1001
 More info: https://launchpad.net/~andreas-boettger/+archive/ubuntu/gmusicbrowser-daily
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keyring `/tmp/tmpkdj5g2s1/secring.gpg'  created
gpg: keyring `/tmp/tmpkdj5g2s1/pubring.gpg'  created
gpg: requesting key 46C4E33F from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpkdj5g2s1/trustdb.gpg: trustdb created
gpg: key 46C4E33F: public key " Launchpad mounttruecrypt"  imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
Ok

The repositories are added to the target system. Update the apt sources.list file by running the apt-get update command.

root@linuxhelp:~# apt-get update
Ign http://in.archive.ubuntu.com trusty InRelease                             
Ign http://extras.ubuntu.com trusty InRelease                                 
Hit http://security.ubuntu.com trusty-security InRelease            
Hit http://extras.ubuntu.com trusty Release.gpg                                
Get:1 http://ppa.launchpad.net trusty InRelease [15.5 kB]           
Hit http://extras.ubuntu.com trusty Release                                   
Hit http://security.ubuntu.com trusty-security/main Sources                   
Get:2 http://ppa.launchpad.net trusty/main amd64 Packages [651 B]             
Hit http://extras.ubuntu.com trusty/main Sources                              
Get:3 http://ppa.launchpad.net trusty/main i386 Packages [651 B]              
Hit http://security.ubuntu.com trusty-security/restricted Sources             
Hit http://extras.ubuntu.com trusty/main amd64 Packages                       
Get:4 http://in.archive.ubuntu.com trusty-updates InRelease [65.9 kB]         
Hit http://extras.ubuntu.com trusty/main i386 Packages                        
Hit http://security.ubuntu.com trusty-security/universe Sources               
Get:5 http://ppa.launchpad.net trusty/main Translation-en [368 B]             
Hit http://in.archive.ubuntu.com trusty-backports InRelease                    
Hit http://in.archive.ubuntu.com trusty Release.gpg                           
Hit http://security.ubuntu.com trusty-security/multiverse Sources    
Hit http://security.ubuntu.com trusty-security/main amd64 Packages   
Hit http://security.ubuntu.com trusty-security/restricted amd64 Packages
.
.
Fetched 3,524 kB in 29s (119 kB/s)                                            
Reading package lists... Done

Your system is updated with the required repositories. Install the GMusicBrowser Package by running the following command.

root@linuxhelp:~# apt-get install gmusicbrowser
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following extra packages will be installed:
  libcairo-perl libdigest-crc-perl libencode-locale-perl
  libextutils-depends-perl libextutils-pkgconfig-perl libfile-listing-perl
  libfont-afm-perl libglib-object-introspection-perl libglib-perl libgtk2-perl
  libhtml-form-perl libhtml-format-perl libhtml-parser-perl
  libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl
  libhttp-daemon-perl libhttp-date-perl libhttp-message-perl
  libhttp-negotiate-perl libintl-perl libio-html-perl liblwp-mediatypes-perl
  liblwp-protocol-https-perl libnet-dbus-perl libnet-http-perl libpango-perl
  libtie-ixhash-perl libwww-perl libwww-robotrules-perl libxml-parser-perl
  libxml-twig-perl libxml-xpathengine-perl
.
.
Setting up libxml-twig-perl (1:3.44-1) ...
Setting up libnet-dbus-perl (1.0.0-2build1) ...

Once the package is installed click on the Ubuntu Search and type the package name. Click on the icon to run the application.

That was a simple procedure, Wasn' t it? GMusicBrowser has a customizable window layout, and comes with plugins to use last.fm.

FAQ
Q
What are the main features of the GmusicBrowser?
A
It can use multiple inputs and has support for mp3, ogg, and flac files. GMusicBrowser also supports mass-renaming and mass-retagging of a song library, multiple genres per song, ratings, and customizable labels.
Q
Why the gmusicbrowser crashes as soon as it display an internet page with the mozembed plugin?
A
There is a currently a problem with the gtk2-mozembed perl bindings which may cause gtkmozembed to crash because it cannot find its libraries. Setting LD_LIBRARY_PATH to the mozilla lib path
Q
Does gmusicbrowser support cue sheets ?
A
Not currently, but I plan to. There is a very limited support with this plugin, it adds a context view which displays the cuesheet of the playing file (if it has the same filename with the .c
Q
Does gmusicbrowser supports ipods ?
A
Not currently. You can however use the export plugin to setup a custom menu entry (that will appear in the songs contextual menu) that will copy selected songs to your ipod. For that you will
Q
Does gmusicbrowser works under windows ?
A
Almost, but playback and internet connection don't work. Although playback could work with gstreamer. I know gstreamer can be compiled for windows, but I don't know if anyone tried to compile