当前位置:网站首页>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 .
边栏推荐
- 使用JMeter对WebService进行压力测试
- mysql innodb 存储引擎的特性—行锁剖析
- How to use annotations such as @notnull to verify and handle global exceptions
- The markdown file obtains the pictures of the network and stores them locally and modifies the URL
- MySQL reports an error: [error] mysqld: file '/ mysql-bin. 010228‘ not found (Errcode: 2 “No such file or directory“)
- [daily training] 395 Longest substring with at least k repeated characters
- Redis cache penetration, cache breakdown, cache avalanche solution
- CString在多线程中的问题
- CString getbuffer and releasebuffer instructions
- 需要知道的字符串函数
猜你喜欢

Creation and destruction of function stack frames

Can‘t connect to MySQL server on ‘localhost‘

Redis主从、哨兵、集群模式介绍

Detailed pointer advanced 2

Jvm-06-execution engine

Visual upper system design and development (Halcon WinForm) -5 camera

Reentrantlock usage and source code analysis

Popular understanding of ovo and ovr
![[probably the most complete in Chinese] pushgateway entry notes](/img/5a/6dcb75f5d713ff513ad6842ff53cc3.png)
[probably the most complete in Chinese] pushgateway entry notes

Wechat payment -jsapi: code implementation (payment asynchronous callback, Chinese parameter solution)
随机推荐
Popular understanding of random forest
Didi off the shelf! Data security is national security
Tensorflow realizes verification code recognition (I)
Summary of concurrent full knowledge points
Visual upper system design and development (Halcon WinForm) -6 Nodes and grids
阿特拉斯atlas扭矩枪 USB通讯教程基于MTCOM
socket. IO build distributed web push server
What are the composite types of Blackhorse Clickhouse, an OLAP database recognized in the industry
Unity功能——Unity离线文档下载及使用
[combinatorial mathematics] binomial theorem and combinatorial identity (binomial theorem | three combinatorial identities | recursive formula 1 | recursive formula 2 | recursive formula 3 Pascal / Ya
Kubernetes带你从头到尾捋一遍
Redis cache penetration, cache breakdown, cache avalanche solution
秒殺系統3-商品列錶和商品詳情
Wechat payment -jsapi: code implementation (payment asynchronous callback, Chinese parameter solution)
XWiki Installation Tips
Construction of operation and maintenance system
软件逆向破解入门系列(1)—xdbg32/64的常见配置及功能窗口
《微服务设计》读书笔记(上)
How to use annotations such as @notnull to verify and handle global exceptions
Detailed comments on MapReduce instance code on the official website