[Email protected] rh]# pwd/opt/rh[[email protected] rh]# lsRhel-server-6.4-x86_64-dvd.iso[[email protected] RH] #mkdir/mnt/cdrom[Email protected] dev]# mount-v-t Iso9660-o loop/opt/rh/rhel-server-6.4-x86_64-dvd.iso/mnt/cdrom/Mount:going to use the loop device/dev/loop0/opt/rh/rhel-server-6.4-x86_64-dvd.iso on/mnt/cdrom type iso9660 (RW,LOOP=/DEV/LOOP0)[Email protected] yum.repos.d]# vim Rhel-source.repo[Rhel-source]name=red Hat Enterprise Linux $releasever-$basearch-sourceBaseurl=file:///mnt/cdr
RPM Common CommandsInstallation-IVH: Installing the RPM Package--nodeps: Forced installation with ignore dependencies--REPLACEPKG: The package is forcibly installed regardless of whether the package has been installedUnloading-E: Unload RPM Package--nodeps: Ignore dependency forced uninstallationUpgrade-UVH: Upgrade
Method One: Yum
The Yum command itself can be used to download an RPM package, and the standard Yum command provides a--downloadonly (download only) option to achieve this goal.
$ sudo yum install--downloadonly By default, a downloaded RPM
There are several common ways to install software:
Yum installation, which automatically resolves dependencies, but cannot customize software installation locations
Compile the installation, specify the installation path, specify the module, but the compilation parameters are lengthy and take a long time to solve the dependency problem.
RPM installation, installation speed, but not automatically resolve dependencies, especially when you en
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
As a package management tool in Linux, Yum effectively solves many inconveniences (such as complex dependencies) when installing software packages ). The following describes how to configure the yum source for the Local Machine for free installation of software. The Yum source can be a local
Rpm1. RMP Package Manager functionRPM Package Manager, which installs, upgrades, uninstalls, queries, and verifies packages (primarily verifying the legitimacy and integrity of the source)2, the RPM package naming mechanism (usually)NAME-VERSION-RELEASE-ARCH.RPM, such as650)
/[email protected] yum.repos.d]# ls #rhel. Repo is generated according to the local Yum configurationRhel.repo Rhel-source.repo[email protected] yum.repos.d]# cat Rhel.repo #修改为以下内容[Rhel-ftp]name=red Hat Enterprise Linux 6Baseurl=ftp://192.168.8.42/pub #指定yum源地址Enabled=1Gpgcheck=1Test:[email protected] ~]# Yum install bind #安装DNS服务7. Mastering the use of
1, RPM installation Package command (in the case of a DHCP package)----RPM installation package needs to resolve dependencies, so it is particularly troublesome (2 is required). Both RPM and Yum are binary packages. Similar to the Windows download package, you can install it
package this file was installed in, and F is the 1th letter of file. For example, the command that lists the package that installs the/bin/tar file is: Rpm–qf/bin/tarRPM–QI Package Name: Displays the information for this package, I is the 1th letter of the information (message). For example: List the commands that tar
Questions: Redhat 6.3 Virtual Machine performs an IBM Installition manager installation with a direct return, prompting for a new message that does not support virtual machine hardwareSolution: IBM installition Manager relies on incomplete packages and uses shell scripts to check for and install missing packages#!/bin/SH# Check the 16 installation packages installed by IBM Installition
How to download RPM package to LocalWhen setting up Yum installation, keep the RPM package.1. Edit/etc/yum.conf to set the value of Keepcache to 1;This makes it possible to keep the RPM package at Yum installation under/var/cache/yum2. Or use the
derive from Debian use the dpkg mechanism to manage software, including b2d, Ubuntu, and so on.
RpmThis mechanism was originally developed by the Red Hat company, and it was very useful, so many distribution s used this mechanism as a way to manage software installations. Well-known developers, including Fedora, CentOS, SuSE and so on, are using this.
What is RPM? RPM Full name is Redhat Package M
the old version to install it ~
I will introduce the installation of Python pip in CentOS. to ensure the versatility of the platform, I will use the source code to install pip.
Cd to the directory where you want to download pip.
# cd /usr/local/src
#wget "https://pypi.python.org/packages/source/p/pip/pip-1.5.4.tar.gz
# tar -xzvf pip-1.5.4.tar.gz# cd pip-1.5.4# python setup.py install
How do I install it? I am also an easy-to-use person ~
Run the following command in CentOS to install CentOS
This article mainly introduces how to use the Package Manager to install node. js in linux and the specific installation process. It is very detailed and recommended to you. If you need it, refer to it. In the online article, install node in linux. js uses source code compilation. In fact, the node package manager has
On-line articles, install node.js under Linux are compiled using the source code, in fact, node GitHub already provided under each system to use their own Package Manager (Package Manager) to install the Node.js method.
1. In Ubuntu, use the following command:
Copy Code code as follows:
CURL-SL Https:
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.