当前位置:网站首页>Download and install common programs using AUR
Download and install common programs using AUR
2022-07-03 15:29:00 【Moyu】
Tips : If there is anything wrong with this article, please contact me to repair it or delete it .
List of articles
Preface
The article records my use Arch Linux Some usage methods , The installation of the operating system will not be introduced in detail .
Tips : The following is the main body of this article , The following cases can be used for reference
One 、AUR What is it? ?
AUR, namely Arch Linux Community user software warehouse (Arch User Repository) Is a face of the vast Arch user 、 Community oriented software warehouse . In practical use ,AUR Seems safe , But in theory, it can cause a certain degree of damage , But the premise is that you are not careful .
Warning : AUR The software package in is written by other users , Some software packages may have risks . Using the software package is at your own risk .
Two 、 Use steps
1. install AUR
Use AUR The easiest way to do this is through AUR assistant . AUR assistant Is a command line tool ( Some have GUI), You can search in AUR And install .
Enter the following code in the terminal to install .
sudo pacman -S git
sudo git clone https://aur.archlinux.org/yay-git.git
cd yay
makepkg -si
You may not use AUR Assistant to install AUR, Interested partners can find content online by themselves .
2. install AUR Software method 1
The code format is yay -S Package name
If you don't know the package name, you can go to AUR Official website Search keywords to find
The code is as follows ( Example ):
yay -S microsoft-edge-stable-bin # install Microsoft Edge
yay -S wps-office-cn wps-office-mui-zh-cn ttf-wps-fonts # install WPS Office
yay -S visual-studio-code-bin # install Visual Studio Code
3. install AUR Software method 2
1. from AUR Download contains PKGBUILD And other installation files ( such as systemd And patches , Usually not actual code ) Of tar package .
2. Command tar -xvf packagename.tar.gz Unpack to one for compilation only AUR Free folder .
3. verification PKGBUILD And other relevant documents , Make sure it doesn't contain malicious code .
4. Run in the above folder makepkg -si. The command will automatically call pacman Resolve dependencies , Then download the code 、 Compile and package . Then install the package .
open AUR home page , Enter the name of the package you want to find in the package search bar .
Select the corresponding software and click enter to download the source code of the software package locally and extract it or choose to use git clone Download the source code
Entry directory
makepkg
for example :
git clone https://aur.archlinux.org/wps-office.git
makepkg -si
4. uninstall AUR package
I suggest uninstalling AUR Software , Delete all dependencies and configuration files .
yay -Rscnu Package name
5. to update / upgrade AUR software package
to update AUR Package database
yay -Syy
to update AUR Package database and upgrade all installed packages :
yay -Syyu
6. install AUR
summary
That's what we're going to talk about today , This article only briefly introduces AUR Use .
边栏推荐
- WinDbg analysis dump file
- QT common sentence notes
- Visual upper system design and development (Halcon WinForm) -6 Nodes and grids
- Jvm-08-garbage collector
- Popular understanding of gradient descent
- The difference between RAR and zip files
- 如何使用 @NotNull等注解校验 并全局异常处理
- Calibre LVL
- 视觉上位系统设计开发(halcon-winform)
- 视觉上位系统设计开发(halcon-winform)-3.图像控件
猜你喜欢
随机推荐
Unity function - unity offline document download and use
Analysis of development mode process based on SVN branch
视觉上位系统设计开发(halcon-winform)-4.通信管理
需要知道的字符串函数
Use of Tex editor
秒杀系统3-商品列表和商品详情
Using Tengine to solve the session problem of load balancing
mysql innodb 存储引擎的特性—行锁剖析
Tensorflow realizes verification code recognition (I)
Popular understanding of linear regression (II)
Characteristics of MySQL InnoDB storage engine -- Analysis of row lock
Introduction to redis master-slave, sentinel and cluster mode
MySQL reports an error: [error] mysqld: file '/ mysql-bin. 010228‘ not found (Errcode: 2 “No such file or directory“)
Summary of JVM knowledge points
使用AUR下载并安装常用程序
Kubernetes 进阶训练营 Pod基础
Relationship between truncated random distribution and original distribution
"Seven weapons" in the "treasure chest" of machine learning: Zhou Zhihua leads the publication of the new book "machine learning theory guide"
The markdown file obtains the pictures of the network and stores them locally and modifies the URL
Detailed explanation of string function and string function with unlimited length