[ubuntu]How to install gcc-3.4 in ubuntu

2016-2-18 写技术


wget http://old-releases.ubuntu.com/ubuntu/pool/universe/g/gcc-3.4/gcc-3.4-base_3.4.6-6ubuntu3_amd64.deb

dpkg --force-depends -i gcc-3.4-base_3.4.6-6ubuntu3_amd64.deb
wget http://old-releases.ubuntu.com/ubuntu/pool/universe/g/gcc-3.4/gcc-3.4_3.4.6-6ubuntu3_amd64.deb
dpkg --force-depends -i gcc-3.4_3.4.6-6ubuntu3_amd64.deb 
wget http://old-releases.ubuntu.com/ubuntu/pool/universe/g/gcc-3.4/cpp-3.4_3.4.6-6ubuntu3_amd64.deb
dpkg --force-depends -i cpp-3.4_3.4.6-6ubuntu3_amd64.deb 
wget http://old-releases.ubuntu.com/ubuntu/pool/universe/g/gcc-3.4/g++-3.4_3.4.6-6ubuntu3_amd64.deb
dpkg --force-depends -i g++-3.4_3.4.6-6ubuntu3_amd64.deb
wget http://old-releases.ubuntu.com/ubuntu/pool/universe/g/gcc-3.4/libstdc++6-dev_3.4.6-6ubuntu3_amd64.deb
dpkg --force-depends -i libstdc++6-dev_3.4.6-6ubuntu3_amd64.deb
wget http://old-releases.ubuntu.com/ubuntu/pool/universe/g/gcc-3.4/g77-3.4_3.4.6-6ubuntu3_amd64.deb
dpkg --force-depends -i g77-3.4_3.4.6-6ubuntu3_amd64.deb
wget http://old-releases.ubuntu.com/ubuntu/pool/universe/g/gcc-3.4/libg2c0-dev_3.4.6-6ubuntu3_amd64.deb
dpkg --force-depends -i libg2c0-dev_3.4.6-6ubuntu3_amd64.deb
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-3.4 30

标签: ubuntu

发表评论:

Powered by anycle 湘ICP备15001973号-1