当前位置:网站首页>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 .
边栏推荐
- Detailed explanation of string function and string function with unlimited length
- 阿特拉斯atlas扭矩枪 USB通讯教程基于MTCOM
- How to use annotations such as @notnull to verify and handle global exceptions
- Chapter 04_ Logical architecture
- 高并发下之redis锁优化实战
- Kubernetes advanced training camp pod Foundation
- WinDbg analysis dump file
- C language brush questions ~leetcode and simple questions of niuke.com
- Tensorflow realizes verification code recognition (III)
- VS2017通过IP调试驱动(双机调试)
猜你喜欢

Summary of JVM knowledge points

Wechat payment -jsapi: code implementation (payment asynchronous callback, Chinese parameter solution)

Introduction, use and principle of synchronized

How are integer and floating-point types stored in memory

详解指针进阶1

Popular understanding of decision tree ID3

Construction of operation and maintenance system

视觉上位系统设计开发(halcon-winform)-3.图像控件

函数栈帧的创建和销毁

Halcon与Winform学习第二节
随机推荐
Visual upper system design and development (Halcon WinForm) -6 Nodes and grids
开启 Chrome 和 Edge 浏览器多线程下载
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“)
软件逆向破解入门系列(1)—xdbg32/64的常见配置及功能窗口
详解指针进阶1
Using Tengine to solve the session problem of load balancing
CString中使用百分号
《微服务设计》读书笔记(上)
The state does not change after the assignment of El switch
秒杀系统3-商品列表和商品详情
Halcon and WinForm study section 1
视觉上位系统设计开发(halcon-winform)-6.节点与宫格
Use percent sign in CString
[daily training] 395 Longest substring with at least k repeated characters
使用AUR下载并安装常用程序
Popular understanding of linear regression (I)
Second kill system 3 - list of items and item details
Reentrantlock usage and source code analysis
Visual upper system design and development (Halcon WinForm) -2 Global variable design