当前位置:网站首页>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
边栏推荐
- [point cloud processing paper crazy reading classic version 12] - foldingnet: point cloud auto encoder via deep grid deformation
- Methods of using arrays as function parameters in shell
- Format - C language project sub file
- 高斯消元 AcWing 883. 高斯消元解线性方程组
- [point cloud processing paper crazy reading frontier version 10] - mvtn: multi view transformation network for 3D shape recognition
- [point cloud processing paper crazy reading classic version 7] - dynamic edge conditioned filters in revolutionary neural networks on Graphs
- State compression DP acwing 291 Mondrian's dream
- 【点云处理之论文狂读经典版7】—— Dynamic Edge-Conditioned Filters in Convolutional Neural Networks on Graphs
- LeetCode 515. 在每个树行中找最大值
- AcWing 786. Number k
猜你喜欢

【点云处理之论文狂读经典版11】—— Mining Point Cloud Local Structures by Kernel Correlation and Graph Pooling

Wonderful review | i/o extended 2022 activity dry goods sharing

LeetCode 515. Find the maximum value in each tree row

Install third-party libraries such as Jieba under Anaconda pytorch

LeetCode 535. TinyURL 的加密与解密

Pic16f648a-e/ss PIC16 8-bit microcontroller, 7KB (4kx14)

Tree DP acwing 285 A dance without a boss

我们有个共同的名字,XX工
![[point cloud processing paper crazy reading classic version 8] - o-cnn: octree based revolutionary neural networks for 3D shape analysis](/img/fa/36d28b754a9f380bfd86d4562268c3.png)
[point cloud processing paper crazy reading classic version 8] - o-cnn: octree based revolutionary neural networks for 3D shape analysis

Data mining 2021-4-27 class notes
随机推荐
Pic16f648a-e/ss PIC16 8-bit microcontroller, 7KB (4kx14)
LeetCode 57. Insert interval
Internet Protocol learning record
状态压缩DP AcWing 291. 蒙德里安的梦想
MySQL installation and configuration (command line version)
What is the difference between sudo apt install and sudo apt -get install?
[point cloud processing paper crazy reading frontier version 10] - mvtn: multi view transformation network for 3D shape recognition
传统办公模式的“助推器”,搭建OA办公系统,原来就这么简单!
The less successful implementation and lessons of RESNET
【点云处理之论文狂读经典版9】—— Pointwise Convolutional Neural Networks
剑指 Offer II 091. 粉刷房子
LeetCode 324. Swing sort II
AcWing 786. 第k个数
常见渗透测试靶场
<, < <,>, > > Introduction in shell
What are the stages of traditional enterprise digital transformation?
Sword finger offer II 091 Paint the house
TP5 order multi condition sort
dried food! What problems will the intelligent management of retail industry encounter? It is enough to understand this article
Common penetration test range