How to install yum on Linux

Updated on technology 2024-03-23
6 answers
  1. Anonymous users2024-02-07

    1.**Packages, compiled and installed (.)configure,make,make install). I believe that the masters are installed like this.

    Installation. This way it is relatively simple to install. (yum install package name) is mainly applicable to (centos, red hat), etc.

    Uninstall: yum remove package name.

    Installation This is similar to yum installation. (sudo apt-get install package name) is mainly applicable to (ubuntu, debian).

    Uninstall : sudo apt-get autoremove Uninstall all related packages.

    4.Install in package mode: Install in package, just grab the package file of the program.

    Install (pkg add package name) Remove (pkg delete package name) to complete the installation Removal.

    Note: The file name istgz ends with the package file nameIt ends with source.

    Note: The currently installed package database is placed in the var db pkg folder.

    5.There is also a port tree installation (freebsd).

  2. Anonymous users2024-02-06

    1. Here we take the CentOS7 Linux system as an example to explain how to install yum. First, run the command "rpm -qa yum" to see if yum is already installed on the system. If yum is installed, the installed rpm package name is listed, otherwise the output is empty:

    2. Then insert the centos7 linux system installation disc into the optical drive and run the "mount dev sr0 mnt" command to mount the disc to the mnt partition

    3. Use the cd command to switch the path to the directory where the rpm package in the disc is locatedpackages, and then enter "ll |".grep yum*centos*" command to find the yum installation package and obtain the file name of the yum installation package

    4. Copy the found yum installation package file to the tmp directory, here use the cp command to copy:

    5. Continue to install the program with the rpm command, run the "rpm -ivh tmp command" to start installing the yum program. The i parameter indicates the installation, the v parameter indicates the detailed installation process, and the h parameter indicates the installation process

    6. Finally, run the yum command in the terminal window, and you can see that the yum command can run normally. The above is the process of installing the yum tool in Linux:

  3. Anonymous users2024-02-05

    mount dev cdrom opt dev cdrom represents your mirror disc.

    OPT indicates the local directory.

    This will hang your disc locally.

    df can be viewed below.

    Then cd opt can see the content of your CD, as for how to build a yum source, you can single me.

  4. Anonymous users2024-02-04

    Didn't Yum come with it??? Software manager for Linux in the Red Hat family.

  5. Anonymous users2024-02-03

    Take Redhat Enterprise Linux 5 (RHEL 5) as an example.

    1.Mount the disc first.

    2. [root@localhost media]# cd '/media/rhel_ i386 ***'

    3. cd server

    4.rpm -ivh yum "Press tab> here and the yum you want will pop up..Generally, just pretend to be the first one.

  6. Anonymous users2024-02-02

    The answer is not asked, people ask how to configure yum, not how to use yum

Related questions
8 answers2024-03-23

Use ghost to put two systems on two different disks.

11 answers2024-03-23

In the Linux environment, apache is the start of the httpd service, and it is very simple to view the apache logs, just use the following command: >>>More

2 answers2024-03-23

PE bottoms win10 system steps:

First of all, we need to make a latest version of the U boot U disk boot disk, so that the computer can boot from the U boot U disk into the PE system, and store the win10 system image in the boot U disk in advance. >>>More

9 answers2024-03-23

Detect the Linux system.

The following describes whether to enable the FTP server >>>More

27 answers2024-03-23

Unless you redo your Vista system ...

I used to be also an XP plus a linux... It's only after the rework! >>>More