当前位置:网站首页>Linxu learning (4) -- Yum and apt commands
Linxu learning (4) -- Yum and apt commands
2022-07-03 09:11:00 【Fill your head with water】
Catalog
□ Linux yum command
yum( Yellow dog Updater, Modified) It's a Fedora and RedHat as well as SUSE Medium Shell Front end package manager .
be based on RPM Package management , Can be automatically downloaded from the specified server RPM Package and install , Dependency relationships can be handled automatically , And install all the dependent packages at once , No need to download it over and over again 、 install .
yum Provides search 、 install 、 Delete a 、 A set or even a whole package of commands , And the command is simple and easy to remember .
1. yum grammar
yum [options] [command] [package ...]
options: Optional , Options include -h( help ),-y( When prompted during the installation process, select all as "yes"),-q( Do not show the installation process ) wait .
command: What to do .
package: Installed package name .
2. yum Common commands
· 1. List all updatable software list commands :yum check-update
· 2. Update all software commands :yum update
· 3. Install only the specified software commands :yum install <package_name>
· 4. Update only the specified software commands :yum update <package_name>
· 5. List all installable software list commands :yum list
· 6. Delete package command :yum remove <package_name>
· 7. Find package command :yum search
· 8. Clear cache command :
o yum clean packages: Clear package in cache directory
o yum clean headers: Clear... From the cache directory headers
o yum clean oldheaders: Clear the old... In the cache directory headers
o yum clean, yum clean all (= yum clean packages; yum clean oldheaders) : Clear the packages and old ones in the cache directory headers
□ Linux apt command
apt(Advanced Packaging Tool) It's a Debian and Ubuntu Medium Shell Front end package manager .
apt Command execution requires super administrator privileges (root).
1. apt grammar
apt [options] [command] [package ...]
options: Optional , Options include -h( help ),-y( When prompted during the installation process, select all as "yes"),-q( Do not show the installation process ) wait .
command: What to do .
package: Installed package name .
2. apt Common commands
· List all updatable software list commands :sudo apt update
· Upgrade package :sudo apt upgrade
List updatable packages and version information :apt list --upgradeable
Upgrade package , Delete the software package that needs to be updated before upgrading :sudo apt full-upgrade
· Install the specified software command :sudo apt install <package_name>
Install multiple packages :sudo apt install <package_1> <package_2> <package_3>
· Update the specified software command :sudo apt update <package_name>
· Display package details , for example : Version number , Installation size , Dependencies, etc :sudo apt show <package_name>
· Delete package command :sudo apt remove <package_name>
· Clean up dependency and library files that are no longer in use : sudo apt autoremove
· Remove packages and configuration files : sudo apt purge <package_name>
· Find package command : sudo apt search
· List all installed packages :apt list --installed
· List the version information of all installed packages :apt list --all-versions
边栏推荐
- Noip 2002 popularity group selection number
- 20220630学习打卡
- 剑指 Offer II 091. 粉刷房子
- Complex character + number pyramid
- With low code prospect, jnpf is flexible and easy to use, and uses intelligence to define a new office mode
- 网络安全必会的基础知识
- Just graduate student reading thesis
- 常见渗透测试靶场
- Common penetration test range
- Pic16f648a-e/ss PIC16 8-bit microcontroller, 7KB (4kx14)
猜你喜欢

On the setting of global variable position in C language

Sword finger offer II 091 Paint the house

LeetCode 438. 找到字符串中所有字母异位词

LeetCode 30. 串联所有单词的子串

LeetCode 324. Swing sort II

【点云处理之论文狂读前沿版12】—— Adaptive Graph Convolution for Point Cloud Analysis

LeetCode 513. 找树左下角的值

DOM render mount patch responsive system

AcWing 787. 归并排序(模板)

Binary tree traversal (first order traversal. Output results according to first order, middle order, and last order)
随机推荐
Memory search acwing 901 skiing
Internet Protocol learning record
Too many open files solution
【点云处理之论文狂读经典版11】—— Mining Point Cloud Local Structures by Kernel Correlation and Graph Pooling
too many open files解决方案
Using variables in sed command
AcWing 788. Number of pairs in reverse order
Divide candy (circular queue)
【点云处理之论文狂读前沿版12】—— Adaptive Graph Convolution for Point Cloud Analysis
[point cloud processing paper crazy reading classic version 12] - foldingnet: point cloud auto encoder via deep grid deformation
浅谈企业信息化建设
How to check whether the disk is in guid format (GPT) or MBR format? Judge whether UEFI mode starts or legacy mode starts?
[point cloud processing paper crazy reading classic version 7] - dynamic edge conditioned filters in revolutionary neural networks on Graphs
数位统计DP AcWing 338. 计数问题
传统企业数字化转型需要经过哪几个阶段?
精彩回顾|I/O Extended 2022 活动干货分享
The method of replacing the newline character '\n' of a file with a space in the shell
【点云处理之论文狂读经典版7】—— Dynamic Edge-Conditioned Filters in Convolutional Neural Networks on Graphs
[point cloud processing paper crazy reading classic version 8] - o-cnn: octree based revolutionary neural networks for 3D shape analysis
【点云处理之论文狂读前沿版8】—— Pointview-GCN: 3D Shape Classification With Multi-View Point Clouds