Install libstdc++6 on Ubuntu: sudo apt-get install libstdc++6
Learn how to install libstdc++6 with the command sudo apt-get install libstdc++6 on Ubuntus.
Quick installation of libstdc++6:
Step 1: Update system:
sudo apt-get update
Step 2: Install: libstdc++6
Ater updaing the OS run following command to install the packae:
sudo apt-get install libstdc++6
Package Details | |
Package: | libstdc++6 |
Version: | 4.6.3-1ubuntu5 |
Maintainer: | Ubuntu Core developers |
Home page: | http://gcc.gnu.org/ |
Description: | GNU Standard C++ Library v3 This package contains an additional runtime library for C++ programs built with the GNU compiler. . libstdc++-v3 is a complete rewrite from the previous libstdc++-v2, which was included up to g++-2.95. The first version of libstdc++-v3 appeared in g++-3.0. Multi-Arch: same Homepage: http://gcc.gnu.org/ |
Distro: | Ubuntu 12.04 LTS |
Release: | |
Repo/Section: | libs |
How to install libstdc++6 on Ubuntu 12.04 LTS?
First of all update your system with the command:
sudo apt-get update
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 libstdc++6 is not installed on your compter then the command 'dpkg -L libstdc++6' will give followin error.
Installing libstdc++6:
After system update use the following command to install libstdc++6:
sudo apt-get install libstdc++6
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 libstdc++6 from Ubuntu 12.04 LTS?
Now we will see the commands for uninstalling the libstdc++6 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 libstdc++6 following command is used:
sudo apt-get remove libstdc++6
Following command is used to remove the libstdc++6 package along with its dependencies:
sudo apt-get remove --auto-remove libstdc++6
This will remove libstdc++6 and all its dependent packages which is no longer needed in the system.
Completely removing libstdc++6 with all configuration files:
Following command should be used with care as it deletes all the configuration files and data:
sudo apt-get purge libstdc++6
or you can use following command also:
sudo apt-get purge --auto-remove libstdc++6
Above command will remove all the configuration files and data associated with libstdc++6 package. You can can't recover the delete data, so, use this command with care.