当前位置:网站首页>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
边栏推荐
- 即时通讯IM,是时代进步的逆流?看看JNPF怎么说
- Convert video to GIF
- Debug debugging - Visual Studio 2022
- Noip 2002 popularity group selection number
- Summary of methods for counting the number of file lines in shell scripts
- [point cloud processing paper crazy reading classic version 12] - foldingnet: point cloud auto encoder via deep grid deformation
- LeetCode 30. 串联所有单词的子串
- Tag paste operator (#)
- LeetCode 508. The most frequent subtree elements and
- 树形DP AcWing 285. 没有上司的舞会
猜你喜欢

Discussion on enterprise informatization construction

On a un nom en commun, maître XX.

樹形DP AcWing 285. 沒有上司的舞會

Memory search acwing 901 skiing

2022-2-14 learning xiangniuke project - generate verification code

LeetCode 57. 插入区间

记忆化搜索 AcWing 901. 滑雪

Excel is not as good as jnpf form for 3 minutes in an hour. Leaders must praise it when making reports like this!

求组合数 AcWing 885. 求组合数 I

Digital statistics DP acwing 338 Counting problem
随机推荐
Just graduate student reading thesis
【点云处理之论文狂读前沿版10】—— MVTN: Multi-View Transformation Network for 3D Shape Recognition
[point cloud processing paper crazy reading classic version 12] - foldingnet: point cloud auto encoder via deep grid deformation
Complex character + number pyramid
[point cloud processing paper crazy reading frontier version 10] - mvtn: multi view transformation network for 3D shape recognition
LeetCode 535. TinyURL 的加密与解密
Vscode connect to remote server
TP5 multi condition sorting
Common penetration test range
数字化转型中,企业设备管理会出现什么问题?JNPF或将是“最优解”
LeetCode 515. Find the maximum value in each tree row
LeetCode 324. Swing sort II
LeetCode 324. 摆动排序 II
【点云处理之论文狂读经典版7】—— Dynamic Edge-Conditioned Filters in Convolutional Neural Networks on Graphs
Severity code description the project file line prohibits the display of status error c2440 "initialization": unable to convert from "const char [31]" to "char *"
What is the difference between sudo apt install and sudo apt -get install?
Binary tree sorting (C language, int type)
AcWing 785. Quick sort (template)
【点云处理之论文狂读经典版13】—— Adaptive Graph Convolutional Neural Networks
数位统计DP AcWing 338. 计数问题