Install mpg321 on Ubuntu: sudo apt-get install mpg321

Learn how to install mpg321 with the command sudo apt-get install mpg321 on Ubuntus.


 

Ads

Quick installation of mpg321:

Step 1: Update system:

	sudo apt-get update

Step 2: Install: mpg321

Ater updaing the OS run following command to install the packae:

	sudo apt-get install mpg321

Package Details

Package:mpg321
Version:0.2.13-4ubuntu1
Maintainer:Ubuntu Developers
Home page:http://mpg321.sourceforge.net
Description:Simple and lightweight command line MP3 player mpg321 is a clone of the popular mpg123 command-line mp3 player. It should function as a drop-in replacement for mpg123 in many cases. While some of the functionality of mpg123 is not yet implemented, mpg321 should function properly in most cases for most people, such as for frontends such as gqmpeg. . mpg321 is based on the mad MPEG audio decoding library. It therefore is highly accurate, and also uses only fixed-point calculation, making it more efficient on machines without a floating-point unit. It is not as fast as mpg123 on systems which have a floating point unit. Homepage: http://mpg321.sourceforge.net
Distro:Ubuntu 12.04 LTS
Release:
Repo/Section:universe/sound

How to install mpg321 on Ubuntu 12.04 LTS?

Install mpg321 on Ubuntu: sudo apt-get install mpg321

First of all update your system with the command:

sudo apt-get update

Ads

Above command will download the package lists for Ubuntu 12.04 LTS on your system. This will update the list of newest versions of packages and its dependencies on your system.

After downloading the latest package list with the help of above you can run the installation process.

If mpg321 is not installed on your compter then the command 'dpkg -L mpg321' will give followin error.

deepak@deepak-VirtualBox:~$ dpkg -L mpg321
Package `mpg321' is not installed.
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
deepak@deepak-VirtualBox:~$ 

Installing mpg321:

After system update use the following command to install mpg321:

sudo apt-get install mpg321

Above command will confirm before installing the package on your Ubuntu 12.04 LTS Operating System. If you are not already logged in as su, installer will ask you the root password. After completion of the installation you can use the package on your system.

How to uninstall/remove mpg321 from Ubuntu 12.04 LTS?

Now we will see the commands for uninstalling the mpg321 from Ubuntu 12.04 LTS. For uninstalling this package you can easily use the apt command and remove the package from Linux Operating System.

To remove the mpg321 following command is used:

sudo apt-get remove  mpg321

Following command is used to remove the mpg321 package along with its dependencies:

sudo apt-get remove --auto-remove mpg321

This will remove mpg321 and all its dependent packages which is no longer needed in the system.

Completely removing mpg321 with all configuration files:

Following command should be used with care as it deletes all the configuration files and data:

sudo apt-get purge mpg321

or you can use following command also:

sudo apt-get purge --auto-remove mpg321

Above command will remove all the configuration files and data associated with mpg321 package. You can can't recover the delete data, so, use this command with care.