Linux iso file loading and package usage

Source: Internet
Author: User

Linux iso files have been widely used but are constantly updated. Here we will introduce how to install and install Linux iso files to help you install and update the Linux iso file system. Package management-Linux Fedora Package Manager system-config-packages.

Abstract: In the Fedora Core system, the Package Manager is system-config-packages. This tool can be used to delete and add software packages provided by the system disc; this article also attaches the Linux iso file loading and package usage mount-o loop file. iso; yum and apt Software Package managers are also introduced;

Fedora Core software package management tool system-config-packages, this tool is mainly used to manage software in the system installation disk, such as adding software from the installation disk, sometimes we do not install software when installing the system, this software can be used to supplement the software; software package management tools can also be used to delete the software that has been installed through the system installation disk; the function is not particularly powerful; but it is necessary to install the software;

1. install and use system-config-packages;

1. Check that system-config-packages is not installed.
[Root @ localhost beinan] # rpm-qa system-config-packages
System-config-packages-1.2.25-1

If the preceding prompt is displayed, the system has been installed;
If no installation is available, run the following command:
[Root @ localhost beinan] # rpm-ivh system-config-packages *

2. Run system-config-packages.
[Beinan @ localhost ~] # System-config-packages -- help
Usage: system-config-packages [-- help] [-- tree = PATH] [-- isodir = PATH]
We can see the help of system-config-packages. We can see that system-config-packages supports completing or deleting software packages in Linux iso files;
Therefore, when running this command, we need to specify the storage location of ISO;
[Beinan @ localhost ~] # System-config-packages -- isodir = directory for storing the Linux iso file CD image;
Your Linux iso file image may be stored in the fat32 partition in Windows. You can use mount to load the partition;
See "loading NTFS and FAT32 partitions in Fedora core 4.0"
For example, I store ISO in the fat32 partition of the windows operating system, for more information, see "loading NTFS and FAT32 partitions in Fedora core 4.0" to the/mnt/wind directory;
In addition, I stored the ora four-person Linux iso file in the fat32 partition and put it directly under the fat32 partition. So mount it to/mnt/wind, therefore, the Linux iso file directory is/mnt/wind.
Therefore, the command to add and delete software using the software package manager is as follows:
[Beinan @ localhost ~] # System-config-packages -- isodir =/mnt/wind
Note: If you store four ISO files in a directory, you must put the four Linux iso files in one directory at the same time, so that you will not be able to play a cd;

2. How to Use the Linux iso file?

In fact, Linux iso is also a packaging file, which is similar to rar and zip files, but their formats are different. Apart from using the Package Manager, we can also mount the Linux iso file to a directory. In this way, we can also manually install the required packages;
First, we need to load iso to a directory, which uses the target directory of the mount-o loop ISO file name.
For example, we need to temporarily load iso to the/mnt/temp directory.
[Root @ localhost beinan] # mkdir/mnt/temp
Then we will load the first ISO file of FC4;
[Root @ localhost beinan] # mount-o loop/mnt/wind/FC4-i386-disc1.iso/mnt/temp/
[Root @ localhost beinan] # ls/mnt/temp/
Autorun GPL read me RPM-GPG-KEY RPM-GPG-KEY-fedora-rawhide TRANS. TBL
Eula.txt images README-Accessibility RPM-GPG-KEY-beta RPM-GPG-KEY-fedora-test
Fedora isolinux RELEASE-notes rpm-GPG-KEY-fedora RPM-GPG-KEY-rawhide
The RPM package we need is located in the/mnt/temp/Fedora/RPMS directory;
If I want to extract all four Linux iso files, we can load them one by one, and then upload the content of each Linux iso file to the same directory;
[Root @ localhost beinan] # mkdir/mnt/hda10/fc40
[Root @ localhost beinan] # cp-R/mnt/temp/*/mnt/hda10/fc40/
Then we load the second ISO;
[Root @ localhost beinan] # umount/mnt/temp Note: First uninstall the first Linux iso file;
We load the second Linux iso file. Like the first Linux iso file, we propose all the files, put the file in the same directory as the file proposed by the first Linux iso file. If you are prompted to overwrite the file, you can overwrite the file. This applies to both the Third and Fourth disks;
[Root @ localhost beinan] # cp-R/mnt/temp/*/mnt/hda10/fc40/
Cp: overwrite '/mnt/hda10/fc40/eula.txt '? Y
In this example, all the files in the extracted four Linux iso files are stored in the/mnt/hda10/fc40 directory. Therefore, if you want to view all the RPM packages of Fedora Core 4.0, you can view them in the/mnt/hda10/fc40/Fedora/RPMS directory. There are a lot of them, and all four disks are in;
If you want to install anything, use [root @ localhost beinan] # rpm-ivh file. rpm Note: file is the package name;
If dependency exists, install the dependent package first;
For example, we want to install gaim [root @ localhost beinan] # rpm-ivh gaim *. rpm Note: wildcards can be used.

3. Other Software Package managers, including online upgrade, installation, and removal of software packages;

In Fedora, there are two software package managers, yum and apt. For details, see the related posts of yum and apt;
Freshrpms.net resource introduction and application of apt and yum
Introduction and application of the rpm.livna.org software warehouse of Fedora Extras (extended resources of Fedora)
Note: You can only calculate the previous FAQ, which is too tedious to write. It is nothing more than mount-o loop;

  1. Create an IE
  2. Fedora users occupy LINUX systems
  3. Install FC4 in Linux
  4. Set VNC server in LINUX to configure service clients and servers
  5. Linux hardware and software configuration

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.