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