LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 602|回复: 2

要升级到GCC 3可是没有北南大哥说的那五个文件也没有linux7.2!我要到什么地方去找呀

[复制链接]
发表于 2004-8-25 12:05:35 | 显示全部楼层 |阅读模式
如题~~

由于对LINUX的文件不熟,不知道要怎么找呀!在GOOGLE也找了,但不知道哪些能用,也没敢下载,我现在应该怎么办!:(:help
 楼主| 发表于 2004-8-25 12:39:15 | 显示全部楼层
ftp://ftp.cs.cuhk.edu.hk/pub/gnu/gnu/gcc/gcc-3.4.0/

找到了很多的gcc要下载哪个啊?
发表于 2004-8-25 17:09:45 | 显示全部楼层
使用apt升级gcc
apt配置使用方法参考这里:
http://irtfweb.ifa.hawaii.edu/~d ... redhat_updates.html

How to keep your redhat system updated using apt-get

1. Intro

Redhat does proved the redhat network, but it requires you to register.
Since each machine need to be individually register, maintaining multiple
machine without a site license is a pain. Here is an alternate method.
I used this methods for basking.

Most of the information came from this article:
   Red Hat 8.0 for KDE Users (and Newbies)

These note were written for RH8.0. It also works for RH7.3 & RH9, but note
the version differences in the directory, web address, config files, etc.

2. The setup

the folks at FreshRPMS [http://www.freshrpms.net/] have given us another
option: a full Red Hat 8.0 apt repository, including some very interesting
custom packages created by FreshRPMS.

Setting RH8.0 up to work with apt and the FreshRPMS
repository is simplicity itself. First, visit this page
[http://ftp.freshrpms.net/pub/freshrpms/psyche/apt/] and click on the
link for Red Hat 8.0. Grab the apt and apt-devel packages (you don't
need the source [.src.rpm] rpm) and save them to your machine.
Then open a terminal, switch to root user, and install the packages with:

   rpm -ivh apt*

Once that's done:

   cat /etc/apt/sources.list


You should see the following:

    # Red Hat Linux 8.0

    rpm http://apt.freshrpms.net redhat/8.0/en/i386 os updates freshrpms

    rpm-src http://apt.freshrpms.net redhat/8.0/en/i386 os updates freshrpms

    # Red Hat Linux 7.3

    #rpm http://apt.freshrpms.net redhat/7.3/en/i386 os updates freshrpms

    #rpm-src http://apt.freshrpms.net redhat/7.3/en/i386 os updates freshrpms


If everything looks good, we're ready to update our sources (as root user):


2. Keeping your system up-to-date

Now the full power of apt is at your disposal. (See man apt to learn more
about this powerful tool).

   2.1 Resynchronize the package index files from their sources

       # apt-get update

   2.2 Tell apt to verify your RPM database.

       # apt-get -f install

   2.3 To update you package do:

       # apt-get upgrade

       If you want to see what this command will do, use the -s flag
       for simulate

       # apt-get -s upgrade

       Then if you want to update specific package then name them, ie:.

       # apt-get install ${pkg_name}

   2.3 clean up:

       # apt-get clean - clears out the local repository of
                         retrieved package files.

3. synaptic - SynAPTic is a simple GUI front-end for apt. This way
      you can review, pick, and install individual packages if you want
      more control.

      Install synaptic by:

        # apt-get install synaptic

4. Kernel Update- Freshrpm does not supply new kernel rpm. If you
wish to update the kernel you would need to download the rpm and install
manually.

1. download from redhat (usually very busy) or find a mirror site.
    UH has a mirror.

2. I usually get the kernal and source rpm. In this example, I am
    installing the 2.4.20-18 kernel and source.

      #uname -a
      Linux basking 2.4.18-14 #1 Wed Sep 4 13:35:50 EDT 2002 i686 i686 i386 GNU/Linux

      # ls
      kernel-2.4.20-18.8.i586.rpm  kernel-source-2.4.20-18.8.i386.rpm

      # rpm -i kernel-2.4.20-18.8.i586.rpm
      # rpm -i kernel-source-2.4.20-18.8.i386.rpm
      # reboot
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表