在网上搜索了安装方法,
********************************************************************************************************
1. 在/etc/apt/source.list中最后头添加如下源(以root的身份,或用 sudo):
deb http://hu.archive.Ubuntu.com/ubuntu/ hardy universe
deb-src http://hu.archive.Ubuntu.com/ubuntu/ hardy universe
deb http://hu.archive.Ubuntu.com/ubuntu/ hardy-updates universe
deb-src http://hu.archive.Ubuntu.com/ubuntu/ hardy-updates universe
2. 安装aptitude
sudo apt-get install aptitude
3. 然后执行如下:
sudo aptitude update
sudo aptitude install g77
*****************************************************************************************************
但是我在第3步 sudo aptitude update的时候最后出现:
W: Failed to fetch http://hu.archive.Ubuntu.com/ubuntu/dis ... ce/Sources 404 Not Found
W: Failed to fetch http://hu.archive.Ubuntu.com/ubuntu/dis ... 6/Packages 404 Not Found
W: Failed to fetch http://hu.archive.Ubuntu.com/ubuntu/dis ... ce/Sources 404 Not Found
W: Failed to fetch http://hu.archive.Ubuntu.com/ubuntu/dis ... 6/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
sudo apt-get install g77 时显示没有g77安装包:
******************************************************************************************
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package g77 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'g77' has no installation candidate
******************************************************************************************************
不知道咋办?请大家帮忙啊!!!
