How to Install GNUMP3d Streaming Media Server in Ubuntu

Installation of GNUMP3d : A Streaming Media Server

The steps to install an open source streaming application called GNUMP3d are discussed in this tutorial.

Installation of GNUMP3d Streaming Media Server

Download the latest version of GNUMP3d from its website or utilize the below command.

root@linuxhelp:/home/user1# wget http://savannah.gnu.org/download/gnump3d/gnump3d-3.0.tar.gz
--2016-06-03 00:41:08--  http://savannah.gnu.org/download/gnump3d/gnump3d-3.0.tar.gz
Resolving savannah.gnu.org (savannah.gnu.org)... 208.118.235.70
Connecting to savannah.gnu.org (savannah.gnu.org)|208.118.235.70|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://download.savannah.gnu.org/releases/gnump3d/gnump3d-3.0.tar.gz [following]
--2016-06-03 00:41:09--  http://download.savannah.gnu.org/releases/gnump3d/gnump3d-3.0.tar.gz
Resolving download.savannah.gnu.org (download.savannah.gnu.org)... 208.118.235.73
Connecting to download.savannah.gnu.org (download.savannah.gnu.org)|208.118.235.73|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://download.savannah.gnu.org/releases-redirect/gnump3d/gnump3d-3.0.tar.gz [following]
--2016-06-03 00:41:10--  http://download.savannah.gnu.org/releases-redirect/gnump3d/gnump3d-3.0.tar.gz
Reusing existing connection to download.savannah.gnu.org:80.
HTTP request sent, awaiting response... 302 Found
Location: http://mirror.rackdc.com/savannah//gnump3d/gnump3d-3.0.tar.gz [following]
--2016-06-03 00:41:10--  http://mirror.rackdc.com/savannah//gnump3d/gnump3d-3.0.tar.gz
Resolving mirror.rackdc.com (mirror.rackdc.com)... 94.103.32.100, 2a00:7300:1::100
Connecting to mirror.rackdc.com (mirror.rackdc.com)|94.103.32.100|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 671376 (656K) [application/x-gzip]
Saving to: ‘ gnump3d-3.0.tar.gz’ 

gnump3d-3.0.tar.gz  100%[===================> ] 655.64K   117KB/s    in 7.6s    

2016-06-03 00:41:19 (86.7 KB/s) - ‘ gnump3d-3.0.tar.gz’  saved [671376/671376]

root@linuxhelp:/home/user1#


Extract the downloaded package by using the following command.

root@linuxhelp:/home/user1# tar -xvf gnump3d-3.0.tar.gz 
gnump3d-3.0/
gnump3d-3.0/README.MacOSX
gnump3d-3.0/COPYING
gnump3d-3.0/ChangeLog
gnump3d-3.0/templates/
.
.
.
gnump3d-3.0/man/gnump3d-top.1
gnump3d-3.0/man/gnump3d.1
gnump3d-3.0/man/gnump3d.conf.1
gnump3d-3.0/README.Windows


Use the “ make install” command, which will install the binary files in /usr/bin.


root@linuxhelp:/home/user1# cd gnump3d-3.0
root@linuxhelp:/home/user1/gnump3d-3.0# make install
install -d //etc/gnump3d
install -d //usr/bin
install -d //usr/share/gnump3d
install -d //usr/local/man/man1
.
.
.
cp etc/mime.types //etc/gnump3d
cp etc/file.types //etc/gnump3d
rm -f /`perl bin/getlibdir`/gnump3d/FreezeThaw.pm
rm -f /`perl bin/getlibdir`/gnump3d/playlist.pm
root@linuxhelp:/home/user1/gnump3d-3.0#


Open ‘ gnump3d.conf‘ file in ‘ /etc/gnump3d‘ directory with an editor and perform the following modifications

root@linuxhelp:/home/user1/gnump3d-3.0# nano /etc/gnump3d/gnump3d.conf


Identify the line which implies as follows

root = /home/mp3

Replace it to your media file location.

root = /home/user1/Downloads
then save and quit.

Check the gnump3d with the help of the below command.

root@linuxhelp:/home/user1/gnump3d-3.0# gnump3d 
GNUMP3d v3.0 by Steve Kemp
http://www.gnump3d.org/

GNUMP3d is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions.

For full details please visit the COPYING URL given below

Copying details:
http://localhost:8888/COPYING

GNUMP3d now serving upon:
http://localhost:8888/

GNUMP3d website:
http://www.gnump3d.org/

Indexing your music collection, this may take some time.

Run with ' --fast'  if you do not wish this to occur at startup.

Wide character in print at /usr/bin/gnump3d-index line 499.
Wide character in print at /usr/bin/gnump3d-index line 499.
Wide character in print at /usr/bin/gnump3d-index line 499.
Wide character in print at /usr/bin/gnump3d-index line 499.
Wide character in print at /usr/bin/gnump3d-index line 499.
Wide character in print at /usr/bin/gnump3d-index line 499.
Indexing complete.


Utilize the ‘ &ndash stats‘ argument.

root@linuxhelp:/home/user1/gnump3d-3.0# gnump3d-index --stats
Total number of songs: 8
Total size of archive: 32.5Mb (34095886 bytes)
Total playlength     : 0 days, 0 hours, 34 mins 52 seconds
root@linuxhelp:/home/user1/gnump3d-3.0# 


Now gnump3d is ready for access

http://localhost:8888
OR
http://ip-address:8888

Place the music files in this folder, if you wish to insert more files.

Browse by tag

Custom play list

Random selection

Click “ Preferences” , if you wish to change the default theme and select the required theme.

Search Bar

Tag : GNUMP3d
FAQ
Q
What are the releases GNUMP3d?
A
The current stable release of GNUMP3d is v3.0, which was released upon the 18th of October 2007.
Q
What is the GNUMP3D?
A
GNUMP3d is a streaming server for MP3s, OGG vorbis files, movies and other media formats.
Q
is there any alternatives for this?
A
yes, there is , you can use Icecast
Q
while isatllation I got this error "make: *** [abort-due-to-no-makefile] Error 1"
A
check you have properlly installed GCC package
Q
i have installed GCC . but also i got this error "make: *** [abort-due-to-no-makefile] Error 1"
A
install glibc-devel . and then try it