Fedora Package Manager System-config-packages

Source: Internet
Author: User
Fedora Core software package management tool system-config-packages, which is mainly

 

Software management in the system installation disk, such as adding software from the installation disk. Sometimes we can supplement the software that is not installed when installing the system; you can also use the software package management tool to delete software that has been installed through the system installation disk. The function is not particularly powerful, but it is still necessary for software installation;
1. install and use system-config-packages;

1. Check that system-config-packages [root @ localhost beinan] # rpm-QA system-config-packages is not installed.
If the system-config-packages-1.2.25-1 has the above prompt, it is already installed; if not, you can install through 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, and we can see that system-config-packages supports the installation of ISO or the deletion of software packages. Therefore, when we run this command, specifies the storage location of ISO. [beinan @ localhost ~] # System-config-packages -- isodir = directory for storing the ISO disc image. Your ISO 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 stored 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 have stored the four-person ISO of Fedora IN THE FAT32 partition, and directly put it under the FAT32 partition; so mount it to/mnt/wind, so the ISO directory is/mnt/wind, so according to your own system, the command to add and delete software using the software package manager is: [beinan @ localhost ~] # System-config-packages -- isodir =/mnt/wind

Note: If you store four ISO files in a directory, you must put the four ISO files in one directory at the same time. This will not enable you to play a CD file;
Ii. How to open the ISO file in Linux?In fact, ISO is also a packaging file. It is similar to RAR and ZIP files, but their formats are different. Apart from the Software Package Manager, we can also mount ISO to a directory; in this way, we can also manually install the required packages. First, we need to load the ISO into a directory, the target directory of the Mount-o loop ISO file name is used. For example, we need to temporarily load ISO to the/mnt/TEMP directory, of course, we should first create this directory [root @ localhost beinan] # mkdir/mnt/temp and 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 ISO files, we can load them one by one, and then upload the content of each 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 ISO; we load the second ISO; and, like the first ISO, submit all the files, put the file in the same directory as the file proposed by the first ISO. 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 through this example, we know that all the files in the extracted four 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 software package name. If there is a dependency, 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;
Fedora/RedHat online installation and update package, yum, online installation or upgrade of Fedora Core 4.0 package with apt + synaptic

 

Previous Article: Fedora Core 4.0 Loading NTFs and FAT32 partitions details
Next article: fedora/RedHat online installation and update software package, yum

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.