AMP AMP

How to Install Harmony Player on ArchLinux

To Install Harmony Player on ArchLinux

Harmony is an open-source, cross-platform music player and has easy to use and responsive UI with cloud compatibility. Apart from having a sleek interface, Harmony Player features online music streaming from Spotify, Deezer,fm and local file integration. It also has support for various plugin. It is so simple to install Harmony Player and this tutorial will be showing you how to install Harmony music player on Linux.


Installing Harmony Player

Before you begin with the installation process, make sure you download the latest and official installation package for Harmony player.

[user@linuxhelp11 ~]$ git clone https://aur.archlinux.org/harmony-player.git 
Cloning into ' harmony-player' ...
remote: Counting objects: 108, done.
remote: Compressing objects: 100% (67/67), done.
remote: Total 108 (delta 70), reused 68 (delta 39)
Receiving objects: 100% (108/108), 66.96 KiB | 374.00 KiB/s, done.
Resolving deltas: 100% (70/70), done.

Then, enter into downloaded directory.

[user@linuxhelp11 ~]$ cd harmony-player/

And compile the file in downloaded directory by making use of the below command. When the command is run, you will notice some dependency errors.

[user@linuxhelp11 harmony-player]$ makepkg
==>  Making package: harmony-player 0.8.2-1 (Wed Dec  6 14:35:04 UTC 2017)
==>  Checking runtime dependencies...
==>  Missing dependencies:
  ->  gnuplot
==>  Checking buildtime dependencies...
==>  ERROR: Could not resolve all dependencies.

==>  ERROR: An unknown error has occurred. Exiting...

So, have all dependencies installed in the following manner.

[user@linuxhelp11 harmony-player]$ sudo pacman -S gnuplot
[sudo] password for user: 
resolving dependencies...
looking for conflicting packages...

Packages (3) qt5-svg-5.9.3-1  wxgtk2-3.0.3.1-9  gnuplot-5.2.2-1

Total Download Size:    5.13 MiB
Total Installed Size:  19.66 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 wxgtk2-3.0.3.1-9-x86_64    4.0 MiB  11.0M/s 00:00 [#############] 100%
qt5-svg-5.9.3-1-x86_64   135.3 KiB  13.2M/s 00:00 [#############] 100%
 gnuplot-5.2.2-1-x86_64  1054.3 KiB  11.1M/s 00:00 [#############] 100%
(3/3) checking keys in keyring                     [#############] 100%
(3/3) checking package integrity                   [#############] 100%
(3/3) loading package files                        [#############] 100%
(3/3) checking for file conflicts                  [#############] 100%
(3/3) checking available disk space                [#############] 100%
:: Processing package changes...
(1/3) installing wxgtk2                            [#############] 100%
(2/3) installing qt5-svg                           [#############] 100%
(3/3) installing gnuplot                           [#############] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...

Later, compile the file in downloaded directory as follows.

[user@linuxhelp11 harmony-player]$ makepkg
==>  Making package: harmony-player 0.8.2-1 (Wed Dec  6 14:37:07 UTC 2017)
==>  Checking runtime dependencies...
==>  Checking buildtime dependencies...
==>  Retrieving sources...
  ->  Downloading harmony-0.8.2.tar.xz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:-  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:-100   614    0   614    0     0    614      0 --:--:--  0:00:01 --:--:--   484
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:-  0 37.6M    0 16964    0     0   8482      0  1:17:32  0:00:02  1:17:3  0 37.6M    0  305k    0     0  78225      0  0:08:24  0:00:04  0:08:2  2 37.6M    2  832k    0     0   208k      0  0:03:05  0:00:04  0:03:0  4 37.6M    4 1682k    0     0   336k      0  0:01:54  0:00:05  0:01:4  6 37.6M    6 2447k    0     0   407k      0  0:01:34  0:00:06  0:01:2  8 37.6M    8 3195k    0     0   456k      0  0:01:24  0:00:07  0:01:1 10 37.6M   10 3960k    0     0   495k      0  0:01:17  0:00:08  0:01:0 12 37.6M   12 4725k    0     0   525k      0  0:01:13  0:00:09  0:01:0 14 37.6M   14 5490k    0     0   549k      0  0:01:10  0:00:10  0:01:0 16 37.6M   16 6272k    0     0   570k      0  0:01:07  0:00:11  0:00:5 18 37.6M   18 7054k    0     0   587k      0  0:01:05  0:00:12  0:00:5 20 37.6M   20 7836k    0     0   602k      0  0:01:03  0:00:13  0:00:5 22 37.6M   22 8635k    0     0   616k      0  0:01:02  0:00:14  0:00:4 24 37.6M   24 9434k    0     0   628k      0  0:01:01  0:00:15  0:00:4 26 37.6M   26  9.9M    0     0   639k      0  0:01:00  0:00:16  0:00:4 28 37.6M   28 10.8M    0     0   650k      0  0:00:59  0:00:17  0:00:4 31 37.6M   31 11.6M    0     0   664k      0  0:00:57  0:00:18  0:00:3 33 37.6M   33 12.7M    0     0   688k      0  0:00:55  0:00:19  0:00:3 36 37.6M   36 13.8M    0     0   710k      0  0:00:54  0:00:20  0:00:3 39 37.6M   39 14.9M    0     0   730k      0  0:00:52  0:00:21  0:00:3 42 37.6M   42 16.1M    0     0   749k      0  0:00:51  0:00:22  0:00:2 44 37.6M   44 16.8M    0     0   749k      0  0:00:51  0:00:23  0:00:2 47 37.6M   47 17.9M    0     0   766k      0  0:00:50  0:00:24  0:00:2 48 37.6M   48 18.1M    0     0   744k      0  0:00:51  0:00:25  0:00:2 51 37.6M   51 19.3M    0     0   762k      0  0:00:50  0:00:26  0:00:2 53 37.6M   53 20.2M    0     0   768k      0  0:00:50  0:00:27  0:00:2 56 37.6M   56 21.1M    0     0   774k      0  0:00:49  0:00:28  0:00:2 58 37.6M   58 22.0M    0     0   780k      0  0:00:49  0:00:29  0:00:2 61 37.6M   61 23.0M    0     0   786k      0  0:00:49  0:00:30  0:00:1 63 37.6M   63 23.9M    0     0   791k      0  0:00:48  0:00:31  0:00:1 66 37.6M   66 24.9M    0     0   796k      0  0:00:48  0:00:32  0:00:1 68 37.6M   68 25.8M    0     0   801k      0  0:00:48  0:00:33  0:00:1 71 37.6M   71 26.7M    0     0   807k      0  0:00:47  0:00:34  0:00:1 73 37.6M   73 27.7M    0     0   810k      0  0:00:47  0:00:35  0:00:1 75 37.6M   75 28.5M    0     0   811k      0  0:00:47  0:00:36  0:00:1 78 37.6M   78 29.4M    0     0   813k      0  0:00:47  0:00:37  0:00:1 80 37.6M   80 30.1M    0     0   813k      0  0:00:47  0:00:38  0:00:0 82 37.6M   82 30.9M    0     0   812k      0  0:00:47  0:00:39  0:00:0 84 37.6M   84 31.7M    0     0   812k      0  0:00:47  0:00:40  0:00:0 86 37.6M   86 32.5M    0     0   812k      0  0:00:47  0:00:41  0:00:0 88 37.6M   88 33.3M    0     0   813k      0  0:00:47  0:00:42  0:00:0 90 37.6M   90 34.1M    0     0   813k      0  0:00:47  0:00:43  0:00:0 92 37.6M   92 34.9M    0     0   814k      0  0:00:47  0:00:44  0:00:0 95 37.6M   95 35.8M    0     0   815k      0  0:00:47  0:00:45  0:00:0 97 37.6M   97 36.6M    0     0   815k      0  0:00:47  0:00:46  0:00:0 99 37.6M   99 37.4M    0     0   816k      0  0:00:47  0:00:47 --:--:-100 37.6M  100 37.6M    0     0   819k      0  0:00:47  0:00:47 --:--:--  855k
  ->  Found Harmony.desktop
  ->  Found harmony-16.png
  ->  Found harmony-32.png
  ->  Found harmony-256.png
  ->  Found harmony
==>  Validating source files with md5sums...
    harmony-0.8.2.tar.xz ... Passed
    Harmony.desktop ... Passed
    harmony-16.png ... Passed
    harmony-32.png ... Passed
    harmony-256.png ... Passed
    harmony ... Passed
==>  Extracting sources...
  ->  Extracting harmony-0.8.2.tar.xz with bsdtar
bsdtar: Failed to set default locale
==>  Entering fakeroot environment...
==>  Starting package()...
==>  Tidying install...
  ->  Removing libtool files...
  ->  Purging unwanted files...
  ->  Removing static library files...
  ->  Stripping unneeded symbols from binaries and libraries...
  ->  Compressing man and info pages...
==>  Checking for packaging issue...
==>  Creating package " harmony-player" ...
  ->  Generating .PKGINFO file...
  ->  Generating .BUILDINFO file...
  ->  Generating .MTREE file...
  ->  Compressing package...
==>  Leaving fakeroot environment.
==>  Finished making: harmony-player 0.8.2-1 (Wed Dec  6 14:39:54 UTC 2017)

After compiling, a new tar file is generated. Use that file to install the Harmony player. You shall use the following command to trigger the installation.

[user@linuxhelp11 harmony-player]$ sudo pacman -U harmony-player-0.8.2-1-x86_64.pkg.tar.xz
loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) harmony-player-0.8.2-1

Total Installed Size:  161.82 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                     [#############] 100%
(1/1) checking package integrity                   [#############] 100%
(1/1) loading package files                        [#############] 100%
(1/1) checking for file conflicts                  [#############] 100%
(1/1) checking available disk space                [#############] 100%
:: Processing package changes...
(1/1) installing harmony-player                    [#############] 100%
:: Running post-transaction hooks...
(1/3) Updating icon theme caches...
(2/3) Arming ConditionNeedsUpdate...
(3/3) Updating the desktop file MIME type cache...

Once the file is installed, you shall go to activities, and type harmony in the search field. The application icon will appear on the screen. Click on it to open it.

The application is now open.

With this, the installation of Harmony Player on ArchLinux comes to an end.

Tag : Arch Linux
FAQ
Q
What is the Purpose of using the Harmony Player?
A
Harmony is an open-source, cross-platform music player and has easy to use and responsive UI with cloud compatibility. Apart from having a sleek interface, Harmony Player features online music.
Q
Can I split my keyboard with multiple voices?
A
Yes! You can layer multiple sounds together in “Layer” mode, or split two sounds across the keyboard in “Split” mode.  
Q
How many preset songs does the Harmony 61 ship with?
A
The Harmony 61 has 100 play along songs and the ability to record your own with the User Record mode.
Q
Is the Harmony 61 compatible with my computer?
A
The Harmony 61 is compatible with Windows 7 and up, and Mac OS X 10.7 and higher.
Q
Can I play along with songs from my iPod, phone, or tablet?
A
 Yes! Your iPod or other media player can be connected to the Harmony 61's AUX IN port.