当前位置:网站首页>Msys2 common configuration
Msys2 common configuration
2022-07-25 05:41:00 【Know the old code】
msys2 Common configuration
install msys2
# Windows Use choco Package manager installation msys2
choco install msys2 -y
hold msys2 Integrated into the Windows Terminal in
Reference resources : https://blog.csdn.net/chenxizhan1995/article/details/109609823
Put... Below json Configuration added to profile.defaults.list in
{
// MSYS2
"guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6301}",
"name": "MSYS2",
"commandline": "C:\\tools\\msys64\\msys2_shell.cmd -msys -defterm -no-start",
"hidden": false,
"fontSize":12,
"tabTitle":"MSYS2",
// "colorScheme":"Campbell Powershell",
"colorScheme":"Campbell",
"startingDirectory":"%userprofile%",
"suppressApplicationTitle":true
}
pacman Common commands
Reference resources : https://blog.csdn.net/mozart_cai/article/details/92385567
# Upgrade the system and all installed software
pacman -Syu
# Install the software . You can also install multiple packages at the same time , Just separate package names with spaces
pacman -S The software name
# Delete Software , At the same time, delete the software on the machine that only the software depends on
pacman -Rs The software name
# Delete Software , At the same time, remove dependencies that are no longer needed by any software
pacman -Ru The software name
# Search the warehouse for software packages with keywords , And show... In a concise way
pacman -Ssq keyword
# Search for installed packages
pacman -Qs keyword
# View a package information , Display software introduction , The architecture , rely on , Size and other details
pacman -Qi The software name
# List all package groups on the software warehouse
pacman -Sg
# View all packages contained in a package group
pacman -Sg Package group
# Clean up uninstalled package files , The package file is located in /var/cache/pacman/pkg/ Catalog
pacman -Sc
# Clean up all cache files
pacman -Scc
To configure proxy
Reference resources : https://blog.csdn.net/omaidb/article/details/116019501
Steps and Linux To configure proxy Exactly the same ,msys2 I won't support it socks5
edit msys64 Next user's .bashrc
add to proxy
export http_proxy="http://proxy.ibm.com:912"
export https_proxy="http://proxy.ibm.com:912"
export all="http://proxy.ibm.com:912"
then source once .bashrc that will do .
msys2 Modify domestic source
Reference resources : https://mirrors.tuna.tsinghua.edu.cn/help/msys2/
Source Documents including :
C:\tools\msys64\etc\pacman.d\mirrorlist.mingwServer = https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw
C:\tools\msys64\etc\pacman.d\mirrorlist.mingw32Server = https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/i686
C:\tools\msys64\etc\pacman.d\mirrorlist.mingw64Server = https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/x86_64
C:\tools\msys64\etc\pacman.d\mirrorlist.ucrt64Server = https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/ucrt64
C:\tools\msys64\etc\pacman.d\mirrorlist.clang32Server = https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/clang32
C:\tools\msys64\etc\pacman.d\mirrorlist.clang64Server = https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/clang64
C:\tools\msys64\etc\pacman.d\mirrorlist.msysServer = https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/$arch
After modifying the source , perform pacman -Sy Refresh source .
msys2 Access other disks
# visit E disc
cd /e/
# visit E Plate catalogue
cd /c/opt
## If there are spaces in the subdirectory , Must be enclosed in double quotation marks
cd "/c/Program Files"
边栏推荐
- Airserver 7.3.0 Chinese version mobile device wireless transmission computer screen tool
- CSDN编程挑战赛之数组编程问题
- Unity接入ChartAndGraph图表插件
- R language uses wilcox.test function to perform Wilcox signed rank test to obtain confidence interval of population median (set conf.level parameter to specify confidence level and size of confidence
- [cloud co creation] design Huawei cloud storage architecture with the youngest cloud service hcie (Part 1)
- sqlilabs less-29
- Leetcode 0122. the best time to buy and sell stocks II
- 2021 ICPC Shaanxi warm up match b.code (bit operation)
- 动态规划学习笔记
- TCL shows a number of folding screen mobile phones: the screen and hinge are independently developed!
猜你喜欢

50:第五章:开发admin管理服务:3:开发【查询admin用户名是否已存在,接口】;(这个接口需要登录时才能调用;所以我们编写了拦截器,让其拦截请求,判断用户是否是登录状态;)
![50: Chapter 5: develop admin management service: 3: develop [query whether the admin user name already exists, interface]; (this interface can only be called when logging in; so we have written an int](/img/1b/b8529b6f1d163a9e5d5dad2b78ce93.png)
50: Chapter 5: develop admin management service: 3: develop [query whether the admin user name already exists, interface]; (this interface can only be called when logging in; so we have written an int

线性代数(三)

Introduction to interface in SystemVerilog

JWT(json web token)

ThreadLocal

VIM search and replacement and the use of regular expressions

sqlilabs less-29

HTB-Beep

Microservice gateway component
随机推荐
Leetcode 202. 快乐数(一点都不快乐)
Continuous maximum sum and judgement palindrome
Anshi semiconductor management paid a visit to Wentai technology and Gree Electric appliance
CCID released the "Lake warehouse integrated technology research report", and Jushan database was selected as a typical representative of domestic enterprises
Three schemes for finclip to realize wechat authorized login
传输线理论之相速、相位等的概念
School day (summer vacation daily question 2)
HTB-Granpa
Leetcode 0122. the best time to buy and sell stocks II
TCL shows a number of folding screen mobile phones: the screen and hinge are independently developed!
50:第五章:开发admin管理服务:3:开发【查询admin用户名是否已存在,接口】;(这个接口需要登录时才能调用;所以我们编写了拦截器,让其拦截请求,判断用户是否是登录状态;)
LCP plug-in creates peer-to-peer 802.1ad interface
An SQL execution process
ABC 261.D - Flipping and Bonus ( DP )
C Programming -- the solution of dynamic programming of "the sum of the largest subarray"
How to start if you want to be a product manager?
The difference between $write and $display in SystemVerilog
ECS is exclusive to old users, and the new purchase of the remaining 10 instances is as low as 3.6% off
Programming hodgepodge (I)
同条网线电脑正常上网,手机连接wifi成功,但是无法访问互联网