· The installation in linux gcc compiler process

First, install the gcc compiler

View the current version of GCC command gcc -v

[root@localhost /]# gcc -v

Reading specs from /usr/i386-glibc-2.1-linux/lib/gcc-lib/i386-glibc21-linux/egcs-2.91.66/specs

gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)

When a problem arises:

Command 'gcc' not found, but can be installed with:

sudo apt install gcc

Solution: sudo apt install gcc   installed gcc compiler

Two, gcc compiler

Problems encountered when creating a new file to save the file vi: E212: Can not open file for writing

Create a new file with vi, hello.c or hello, then: wq to save quit, can not quit, has prompted the emergence of this

  

Meaning can not be saved.

The reason is that authority is not enough, ordinary users can not be saved with vi, you may need superuser

Command: sudo su converted into superuser

           vi hello open file: wq to save and exit

Three, firefox download

If other download tool, it is best to see the configuration file, usually in a hidden directory / home / username / inside the tool or new download.

Guess you like

Origin www.cnblogs.com/tansuoxinweilai/p/11256527.html