Linux work log

Source: Internet
Author: User
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:
QUOTE:

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.