Today, I get a source code must be compile with g77. I use Ubuntu 10.04 and can not get this compiler in this Ubuntu version. After searching, I get information about g77 repository in Ubuntu 8.04 (Hardy). We can install this program with repository from Ubuntu Hardy. This is a method how Ubuntu 10.04 install g77. We can use this method to install g77 in Ubuntu 9.04 or other version. I only try to Ubuntu 10.04 and 9.04. But, I think this method success for other Ubuntu version.
1. Edit your /etc/apt/sources.list
2. add this text in that file (/etc/apt/sources.list)
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
3. Save file
4. Open terminal, type : sudo aptitude update
5. type : sudo aptitude install g77
After you success install this program, you can comment the repository above and update your repository location. This is a method how Ubuntu 10.04 install g77, but the main idea from this article is how to install old program or adding repository to Ubuntu.
My name is Toto Sugito. This is my notes when I try something. Maybe, this is NOT THE BEST SOLUTION for your problems. If you have other method or idea that better with my post, please share in this blog. Thank for visiting my site.