How to install g++-4.6-arm-linux-gnueabihf
To install g++-4.6-arm-linux-gnueabihf just follow these instructions.
Are you having problems?
You can always remove g++-4.6-arm-linux-gnueabihf again by following the instructions at this link.
Check that you have the correct repository enabled
First, check that the universe repository is enabled by inspecting '/etc/apt/sources.list' with your favourite editor.
You will need to use sudo to ensure that you have permissions to edit the file.
If universe is not included then modify the file so that it does.
deb http://us.archive.ubuntu.com/ubuntu precise main universe
After any changes you should run this command to update your system.
sudo apt-get update
You can now install the package like this.
Install g++-4.6-arm-linux-gnueabihf
sudo apt-get install g++-4.6-arm-linux-gnueabihf
Which will install g++-4.6-arm-linux-gnueabihf and any other packages on which it depends.