Installation of common Linux software packages, peripheral mounting, and disk management

Source: Internet
Author: User
Article Title: installation, peripheral mounting, and disk management of common Linux software packages. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

1. Types of common software packages

*. Rpm *. Z *. bz2 * .tar.gz * .tar.bz2

2. * install the rpm package

# Rpm? Ivh *. rpm installation package

# Rpm? Pqi *. rpm check package information

# Rpm? Pql *. What file will the rpm check package write to the system?

# Rpm? Qa *. rpm query all packages in the system

# Rpm? E *. rpm uninstall package

3. Install the *. Z package

# Compress? D *. Z

4. *. bz2 package installation

# Bzip2? D *. bz2

5. * install the. gz package

# Gzip? D *. gz

6. * install the tar.gz package

# Tar? Xzvf * tar.gz installation package

# Tar? Czvf a.tar.gz aaa bbb pack aaa and bbbinto a.tar.gz

# Tar? Cjvf B .tar.bz2 aaa bbb pack aaa and bbbinto B .tar.bz2

7. USB flash disk mounting

# Mount/dev/sdb/mnt/dev/sdb indicates a USB flash disk and/mnt indicates a mount point.

# Unmount umount/mnt

8. Attach a cd

# Mount/dev/cdrom/u01/dev/cdrom indicates the disk and/u01 indicates the mount point.

# Unmount umount/u01

9. disk management

# Fdisk? L view disk partition information

# Fdisk/dev/sda

-M: List help information

-L List known partition types

-P: Display partition tables

# Mkfs? T ext3/dev/sda format the/dev/sda device with the ext3 File System

This article is from 51CTO. COM technical blog

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.