Install libmpc-dev on Ubuntu: sudo apt-get install libmpc-dev

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


 

Ads

Quick installation of libmpc-dev:

Step 1: Update system:

	sudo apt-get update

Step 2: Install: libmpc-dev

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

	sudo apt-get install libmpc-dev

Package Details

Package:libmpc-dev
Version:0.9-4
Maintainer:Ubuntu Developers
Home page:http://www.multiprecision.org/mpc/
Description:multiple precision complex floating-point library development package MPC is a portable library written in C for arbitrary precision arithmetic on complex numbers providing correct rounding. For the time being, it contains all arithmetic operations over complex numbers, the exponential and the logarithm functions, the trigonometric and hyperbolic functions. . Ultimately, it should implement a multiprecision equivalent of the ISO C99 standard. . It builds upon the GNU MP and the MPFR libraries. Multi-Arch: same Homepage: http://www.multiprecision.org/mpc/
Distro:Ubuntu 12.04 LTS
Release:
Repo/Section:libdevel

How to install libmpc-dev on Ubuntu 12.04 LTS?

Install libmpc-dev on Ubuntu: sudo apt-get install libmpc-dev

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 libmpc-dev is not installed on your compter then the command 'dpkg -L libmpc-dev' will give followin error.

deepak@deepak-VirtualBox:~$ dpkg -L libmpc-dev
Package `libmpc-dev' 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 libmpc-dev:

After system update use the following command to install libmpc-dev:

sudo apt-get install libmpc-dev

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 libmpc-dev from Ubuntu 12.04 LTS?

Now we will see the commands for uninstalling the libmpc-dev 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 libmpc-dev following command is used:

sudo apt-get remove  libmpc-dev

Following command is used to remove the libmpc-dev package along with its dependencies:

sudo apt-get remove --auto-remove libmpc-dev

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

Completely removing libmpc-dev with all configuration files:

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

sudo apt-get purge libmpc-dev

or you can use following command also:

sudo apt-get purge --auto-remove libmpc-dev

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