Linux work log-Linux general technology-Linux technology and application information. The following is a detailed description. Author: Graduation Day
1. Install Red flag linux 6.0;
TIPS:
1. Use \ when entering a directory with spaces. For example, you can enter cd/Desktop/My \ Documents;
2. You can use the directory name/
For example, there is a directory like/root/Desktop/My Documents/QQ.
Cd/root/Desktop/My \ Documents ents
Cd QQ/
In this way, you can enter the QQ directory.
General steps for installing a program:
1. Enter the installer directory and execute tar-zxvf a.tar.gz (gzip a.zip is used when extracting the file)
2../configure -- prefix = installation path
3. make
4. make install
Ii. Graphic programming for linux.
1. Compile the c program and reference the header file curses. h. The directory where the header file is referenced by the C program is/usr/include.
2. Use gcc-0 to [generate the execution file name] [file name. c]-lncurses.
The following is a good analogy:
What you really need is not a header file, but a function library. Do you understand?
The header file is just "the specification of the purchased water heater ",
You just took the instruction book and didn't go to the water heater. Can you boil water?
Curses. h In RH9 is the description of libncurses.,
Do you understand this?
The-lncurses of gcc means you need to plug the libncurses. a water heater into the power supply!
I hope,
When you learn another technology next time,
Don't ask again: