Fedora22 can not be connected in the case of RPM installation gcc5.1

Source: Internet
Author: User

The day before yesterday saw a very unfortunate event. When I was installing the Nvidia graphics driver for ubuntu14.04, I wanted to clear the next directory and what directory I forgot, when I just cut to root (usually I rarely cut root), the command format is as follows

1 RM -FR *

Do not know why the directory under the file is not deleted, so the order changed,

1 RM -fr. /*

Then, I find it seems to work, where is the card ... Look carefully, no, there's a '.', I knocked

1 RM /*

This tragedy, when I Ctrl-C, everything is late. Even LS,CD. The orders are gone. The home directory is also deleted almost.

This is the second time I have made such a mistake, the last time was Rm-fr path/* wrote Rm-fr path/*. Notice the middle of the space. This command is also prudent use caution, next time you must learn Linux system backup

Fortunately, nothing else matters except that I wrote a day's code. The most unfortunate is that I spent nearly two days to configure the development environment is gone.

My development environment is like this.

    • Gnome3 Desktop
    • Chrome42
    • Shell:oh-my-zsh
    • Vim:spf13-vim
    • Svn,git
    • nginx+mysql+php
    • Tomcat,ant
    • Mysql-workbench
    • Idea Series: Idea,phpstorm,webstorm.
    • Wingide5
    • LESSC and Node
    • Wait a minute

Above are some of the tools I used. The most I like about Linux is his shell, since the zsh shell and Spf13-vim, the terminal operation has become more and more simple and fast, I found that I am more and more like the development environment.

Of course, Ubuntu is not difficult to install these things, and Ubuntu in addition to apt Package Manager, now has the aptitude manager, this is more powerful, do not know what his relationship with Apt.

OK, so much for the front, and back to the point, I'm going to reconfigure a Linux development environment. This time I intend to choose the Redhat series, personal more familiar with the Centos,fedora,ubuntu three system, as for the gentoo,opensuse and so on the tall I did not toss, after all, I am not a professional engaged in the operation of the dimension, so I am not very deep on the Linux drill, Like the Redhat series or Debian and people think that in addition to the package management and packaging methods, the other I can not say too much difference, so I use any of the reason, I do not want to continue to use Ubuntu because I installed the NVIDIA driver on the top or not loaded or loaded on the desktop can not enter, Maybe it's the difference between LIGHTDM and GDM, and it's not about me changing the desktop system, not the NVIDIA graphics driver. I always feel that the computer has a bit of card, memory is often used up. Moreover, I think the enterprise should use CentOS or the majority now.

So I chose Fedora22, install version for Fedora-live-workstation-x86_64-22-3.iso, dual system installation, with win8.1 dual boot, uefi. As for the outfit is not verbose, these days to install a system is no difficulty.

After installation, go to the desktop and find that you cannot connect to a wireless network. OK, take out the previous wireless card driver. Driver for source code installation. Open the terminal, only to find that TMD does not have GCC, I how to forget this, previously loaded once, the plug on the network cable, direct.

1 Yum Install GCC

What is the end of the problem, this time, the school is not able to plug in the cable network can be used.

Well, now caught in a knot, to install the wireless network card driver, it is necessary to install GCC first, to install GCC must first network, to network, will be installed wireless network card driver ...

Yes, cut to win8.1 and download the GCC rpm package for RPM installation.

The required GCC packages can be found at this URL.

http://www.rpmfind.net/linux/rpm2html/search.php

libgcc-5.1.1-4.fc23.x86_64.rpm

ftp://195.220.108.108/linux/fedora/linux/development/rawhide/x86_64/os/Packages/l/libgcc-5.1.1-4.fc23.x86_64.rpm

cpp-5.1.1-4.fc23.x86_64.rpm

ftp://195.220.108.108/linux/fedora/linux/development/rawhide/x86_64/os/Packages/c/cpp-5.1.1-4.fc23.x86_64.rpm

kernel-headers-4.2.0-0.rc0.git4.1.fc23.x86_64.rpm

ftp://195.220.108.108/linux/fedora/linux/development/rawhide/x86_64/os/Packages/k/ kernel-headers-4.2.0-0.rc0.git4.1.fc23.x86_64.rpm

libmpc-1.0.2-4.fc23.x86_64.rpm

ftp://195.220.108.108/linux/fedora/linux/development/rawhide/x86_64/os/Packages/l/libmpc-1.0.2-4.fc23.x86_64.rpm

glibc-2.21.90-17.fc23.x86_64.rpm

ftp://195.220.108.108/linux/fedora/linux/development/rawhide/x86_64/os/Packages/g/glibc-2.21.90-17.fc23.x86_64.rpm

glibc-common-2.21.90-17.fc23.x86_64.rpm

ftp://195.220.108.108/linux/fedora/linux/development/rawhide/x86_64/os/Packages/g/glibc-common-2.21.90-17.fc23.x86_64.rpm

glibc-headers-2.21.90-17.fc23.x86_64.rpm

ftp://195.220.108.108/linux/fedora/linux/development/rawhide/x86_64/os/Packages/g/glibc-headers-2.21.90-17.fc23.x86_64.rpm

glibc-devel-2.21.90-17.fc23.x86_64.rpm

ftp://195.220.108.108/linux/fedora/linux/development/rawhide/x86_64/os/Packages/g/glibc-devel-2.21.90-17.fc23.x86_64.rpm

gcc-5.1.1-4.fc23.x86_64.rpm

ftp://195.220.108.108/linux/fedora/linux/development/rawhide/x86_64/os/Packages/g/gcc-5.1.1-4.fc23.x86_64.rpm

libstdc++-5.1.1-4.fc23.x86_64.rpm

ftp://195.220.108.108/linux/fedora/linux/development/rawhide/x86_64/os/Packages/l/libstdc++-5.1.1-4.fc23.x86_64.rpm

gcc-c++-5.1.1-4.fc23.x86_64.rpm

ftp://195.220.108.108/linux/fedora/linux/development/rawhide/x86_64/os/Packages/g/gcc-c++-5.1.1-4.fc23.x86_64.rpm

After the download, I put it in a directory to install, execute

RPM-IVH Package Name

Installation, note that the order is maintained and the download sequence is consistent.

A problem that has never been encountered here is that there are two RPM packages that are interdependent,

GLIBC-2.21.90-17.FC23.X86_64.RPM and glibc-common-2.21.90-17.fc23.x86_64.rpm

This is a bit more tangled. Finally on the internet looked down, the original can be installed together

1 sudo rpm-ivh glibc*

Of course, there are actually 4 packages together. In fact, I RPM-IVH from the start * should be all right

After the final installation, gcc-v can see that the load was successful.

Fedora22 can not be connected in the case of RPM installation gcc5.1

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.