Teach you step-by-step how to configure Linux software

Source: Internet
Author: User
Tags config

Here, the configured object is not the kernel, but the software. As for the configuration of the network, mainly in the installation system is already basically completed, you can also enter the GUI interface from the menu select Liloconf to configure.

Like Windows, you can install applications from CDs and floppy disks on Linux systems, but instead, it needs to use the command mount to log on to the CD drive, the floppy drive. Moreover, the software is mostly compressed, so you need to know how to decompress. Finally, you must configure and compile to run. The following are described in four ways:

First, Mount Login

Linux floppy drive device with special file/dev/fd0, file system is MSDOS, so to log in under the command, read the contents of the floppy disk:

# mount-t Msdos/dev/fd0/mnt/floppy

# Cd/mnt/floppy

Similarly, type the following command to read the disc:

# mount-t Iso9660/dev/hdb/mnt/cdrom

# Cd/mnt/cdrom

Then, use the CP command to copy the required software to the system.

Exit the floppy drive and the optical drive with the Umount command. Note that you cannot use this command in its directory, but you should first CD to another directory, and then use: Umount/mnt/cdrom.

Second, the installation of software

For Linux software is usually terminated with. gz or. tar or. tar.gz. The former is compressed by gzip, and the latter is archived first with tar, and is compressed with gzip.

1, to the end of the. GZ for compressed files, with the command: gzip-d filename to extract the file in the current directory, but there is no. gz.

2, at the end of. Tar for archive files, with commands: TAR-XVF filename to expand, generated files and source files in the same directory, but less. Tar.

3. tar.gz end of the file most common, can be directly with the command: GZIP-CD filename | Tar XFV-To install.

In general, the first item of this type of file is a directory, so the above command creates this directory and all the files exist under this directory. If it is a special case, you can use the command: TAR-TVF filename | More to view the first item of the file. If it is not a directory, first create a directory, put the file under this directory, in the command: TAR-XVF filename to install.

After the above steps, will generate readme and install and other documents. VI to carefully read these files to build in the Linux-related parts, more specifically to configure. The general Steps are: (1)./config, (2) make install, (3) make. The main changes in the first step, after which you need parameters, visible into the command to select:./config--help.

Related Article

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.