Archlinux中pacman,yaourt的常用用法
1)pacman -Sy
同步包資料庫
2)pacman -Syu
更新整個系統
3)pacman -S packagename
安裝包packagename
##2013.7.18補充
pacman -Ss name
可在已同步的資料庫中搜索包含name的包
##2013.7.19補充
pacman -Ssg name
可在已同步的資料庫中搜索name組中的包的安裝情況
如pacman -Ssg xfce4
pacman -S xfce4-goodies
安裝組xfce4-goodies,會讓你選擇要安裝哪些包,輸入序號即可,多個的話用空格隔開,預設全部安裝
4)pacman -Qs name
查詢含有name字串的安裝包
如
# pacman -Qs glib
local/dbus-glib 0.100-1
GLib bindings for DBUS
local/glib-networking 2.32.3-1
Network-related giomodules for glib
local/glib2 2.32.4-1
Common C routines used by GTK+ and other libs
local/glibc 2.16.0-4 (base)
GNU C Library
local/glibmm 2.32.1-1
Glib-- (glibmm) is a C++ interface for glib
local/json-glib 0.14.2-1
JSON library built on GLib
local/lib32-glibc 2.16.0-4
GNU C Library for multilib
local/libgusb 0.1.3-1
GLib wrapper around libusb1
5)pacman -Ql packagename
查詢名為packagename的包包含哪些檔案
如
# pacman -Ql blender | grep /usr/bin
blender /usr/bin/
blender /usr/bin/blender
blender /usr/bin/blender-thumbnailer.py
blender /usr/bin/blenderplayer
6)pacman -Qo blender
查詢某個檔案屬於哪個包
如
[[email protected] ~]
$ pacman -Qo blender
/usr/bin/blender 屬於 blender 4:2.64-3
7)pacman -Rc packagename
刪除包packagename和依賴包packagename的包
8)pacman -Rs packagename
刪除包packagename和它依賴的包
#2012.10.13
今天用了一下pacman的yaourt前端,非常好用,主要是它的搜尋包功能,能搜尋出已安裝的和未安裝的,不像pacman的Q功能,搜尋的是本地已安裝的包
安裝方法:
編輯/etc/pacman.conf
加入下面這個伺服器
[archlinuxcn]
Server = http://repo.archlinuxcn.org/$arch
然後pcman -Sy
更新資料庫
然後
pacman -S yaourt pacman-color
就可以使用yaourt了
基本用法很簡單
yaourt 你想安裝的包名
它會搜尋所有與你的包名相近的包並列出來,你只需要選擇安裝哪幾個就行了,避免了pacman經常性的只是輸入了一部分包名,就被報未找到目標的無奈。
例如我想安裝一個icon theme,就可以敲下面這個命令,結果會彩色顯示,因為安裝了pacman-color這個包
[[email protected] ~]
$ yaourt icon-theme
1 extra/gnome-icon-theme 3.4.0-1 (gnome)
GNOME icon theme
2 extra/gnome-icon-theme-extras 3.4.0-1 (gnome)
GNOME icon theme, extra icons
3 extra/gnome-icon-theme-symbolic 3.4.0-1 (gnome)
GNOME icon theme, symbolic icons
4 extra/hicolor-icon-theme 0.12-2 [installed]
Freedesktop.org Hicolor icon theme
5 community/human-icon-theme 0.36-2
Ubuntu's Human icon theme
6 community/lxde-icon-theme 0.5.0-1 (lxde)
LXDE default default icon theme based on nuoveXT2
7 community/tangerine-icon-theme 0.27-1
Ubuntu's twist on the Tango icon theme
8 archlinuxfr/azenis-icon-theme 0.2-4
Azenis icon theme modified by CTK
9 aur/anycoloryoulike-icon-theme 0.9.4-2 (21)
An icon theme by pobtott, featuring a GUI interface to edit the icons' colors. Run the script as
root to make sure you have the permission to edit the image files.
10 aur/areao43-icon-theme 1-1 (3)
An icon set meant to be used with dark themes
11 aur/azenis-icon-theme 0.1.1-3 (38)
Azenis icon theme
12 aur/black-white-icon-theme 0.4-1 (62)
A nice theme icon
13 aur/blackwhite2-style-icon-theme 20080414-1 (Out of Date) (24)
Black-white 2 Style icon theme.
14 aur/bluecurve-icon-theme 8.0.2_5.fc12-3 (Out of Date) (21)
Red Hat Icons from Fedora 10
15 aur/breathe-icon-theme 0.51-2 (21)
A set of icons mixing KDEs "Oxygen" with Ubuntus "Human" set
16 aur/buuf-deuce-icon-theme 1.0-1 (12)
Icon theme for KDE4.
17 aur/cheser-icon-theme 3.4.1-1 (7)
A near complete set of a mix of different Tango/Gnome-style icons.
18 aur/chromo-erectus-icon-themes 1.2-1 (Out of Date) (63)
Inspired by Ubuntu Human icons, complete icon set for Gnome (extra colors)
19 aur/clarity-icon-theme 0.3.2-3 (39)
Vector icons in 7 colourthemes for GTK.
20 aur/clearlooksosx-icon-theme 3.7.5-1 (Out of Date) (24)
OSX icon theme for GNOME.
21 aur/echo-icon-theme-git 20100908-1 (24)
a new generation of icons theme aimed to replace Bluecurve.
22 aur/erectus-icon-theme 1.2-2 (Out of Date) (37)
Inspired by Ubuntu Human icons, complete icon set for Gnome
23 aur/f-dark-icon-theme 0.9-2 (69)
Faenza Dark icon theme designed for Equinox GTK theme
24 aur/faelementary-icon-theme 0.10-1 (39)
Faelementary Icon theme (Elementary feel, Faenza apps)
25 aur/faenza-cupertino-icon-theme 11-1 (70)
Icon theme designed for Equinox GTK theme, recolored
26 aur/faenza-fresh-icon-theme 0.2-2 (12)
FaenzaFresh icon theme
27 aur/faenza-fusion-icon-theme 0.8-1 (1)
fusion icon theme of the famous Icon theme Faenza designed for Equinox GTK theme
28 aur/faenza-icon-theme 1.2-2 (823)
Icon theme designed for Equinox GTK theme
29 aur/faience-icon-theme 0.3-2 (152)
An icon theme based on Faenza
30 aur/fedora-icon-theme 1.0.0-7 (Out of Date) (72)
Fedora icon theme
31 aur/frugal-icon-theme 3.10-1 (12)
Icon theme for KDE4 from Frugalware.
32 aur/gant-icon-theme 0.3-2 (2)
Icon theme for KDE4.
33 aur/gartoon-redux-icon-theme 1.10-1 (57)
Massively improved variant of the much-beloved Gartoon theme
34 aur/ghnomix-icon-theme 1.3-1 (1)
An icon theme inspired by elementary and MeliaeSVG
35 aur/gnome-carbonate-icon-theme 1.1-1 (28)
Carbonate is dark grey and blue hack of various Gnome Colors themes.
36 aur/gnome-colors-icon-theme 5.5.1-1 (525)
GNOME Colors icon theme
37 aur/gnome-colors-icon-theme-extras 5.5.1-1 (184)
Extra icons for the GNOME-Colors icon theme
38 aur/gnome-dark-icon-theme 5.5.1-3 (0)
Black and very dark grey version of GNOME-Colors's
39 aur/gtk-icon-theme-changer-svn 3-1 (13)
This program was designed to assist users in changing gtk icon themes.
40 aur/haiku-icon-theme 0.1-1 (10)
The Haiku icon theme from ZevenOS
41 aur/human-o2-icon-theme 1.1.5.1-1 (13)
Icon theme for GTK2
42 aur/humanities-icon-theme 0.2-2 (11)
A modified version of the Ubuntu Humanity Icon theme that allows you to easily change the icon
colors.
43 aur/humanity-icon-theme 0.6.1-1 (211)
Latest Humanity icons from Ubuntu without modification
44 aur/humanitycolors-icon-theme 12.04-1 (8)
The Humanity Colors Icon Theme brings you the Humanity Icon Theme (Default Ubuntu Icon Theme) in
all the colors of the rainbow and then some! Goes great with Ambiance and Radiance Colors GTK
Theme (By US as well)
45 aur/hycons-icon-theme 14.07.11-2 (32)
Icon theme created especially for KDE 4
46 aur/icon-themes 2.6-1 (124)
Nice icon themes for gnome
47 aur/idea-icon-theme 1.0-1 (4)
Idea icon theme
48 aur/industrial-icon-theme 11.0.5.0-1 (59)
Ximian Industrial icon theme for GNOME
49 aur/kfaenza-icon-theme 0.8.9-1 (105)
Faenza icon theme for KDE4
50 aur/lambda-icon-theme 20120704-2 (7)
This is the Lambda icon theme, a mash of Faenza and Faiance with some tweaks and made with
Cinnamon in mind.
51 aur/mate-icon-theme 20120308-1 (12)
MATE icon theme
52 aur/mate-icon-theme-faenza 1.4.0-1 (0)
Faenza icon theme for MATE
53 aur/meego-icon-theme-git 20110219-1 (4)
Base icon theme for MeeGo UX
54 aur/meliae-icon-theme 0.7-2 (36)
Meliae icon theme
55 aur/meliae-svg-icon-theme 1.2-2 (53)
A modern, professional icon theme for the GNOME Desktop Environment
56 aur/mist-icon-theme 1.0.0-2 (12)
Fedora's icon theme which is a customized version of Mist
57 aur/misteek-icon-theme 3-2 (14)
An icon theme for the gnome desktop that aspires to be crisp, colorful and easy on the eyes ....
58 aur/nitrux-icon-theme 1.9c-1 (Out of Date) (15)
new squared icon set for Linux that sports clean lines, smooth gradients, and simple icon logos
59 aur/nostromo-icon-theme 1.03-1 (15)
Nostromo Pack Icon Theme used for ArchBang.
60 aur/nuovext2-icon-theme 2.2-2 (131)
A revamp of the original nuoveXT icon set.
61 aur/osx-icon-theme 20120127-1 (1)
A Linux port of the Mac OS X icons
62 aur/oxygenrefit2-icon-theme 2.5.0-2 (259)
Oxygen-Refit 2 icon theme for GNOME
63 aur/oxygenrefit2-icon-theme-black-version 2.0-1 (Out of Date) (22)
Black version of Oxygen-Refit 2 icon theme for GNOME
64 aur/oxygenrefit2-icon-theme-green-version 2.0-1 (Out of Date) (11)
Green version of Oxygen-Refit 2 icon theme for GNOME
65 aur/oxygenrefit2-icon-theme-orange-version 2.0-1 (Out of Date) (8)
Orange version of Oxygen-Refit 2 icon theme for GNOME
66 aur/oxygenrefit2-icon-theme-white-version 2.0-1 (Out of Date) (11)
White version of Oxygen-Refit 2 icon theme for GNOME
67 aur/satanic-icon-themes 666.7-1 (2)
Icons from Ubuntu Satanic Edition.
68 aur/simple-icon-theme 2.7-1 (81)
Icon theme for GTK2
69 aur/simplistica-icon-theme 1.0-1 (11)
Icon theme for GTK
70 aur/simplygrey-icon-theme 0.51-5 (22)
Color-free icon theme (just three shades of grey)
71 aur/smokikon-icon-theme 0.9-1 (37)
A dark icon theme in grayscale.
72 aur/smooth-icon-theme 0.1-1 (33)
Smooth icon theme
73 aur/somatic-icon-theme 0.2-3 (38)
The Somatic icons have been used with permission from David Lanham - http://www.dlanham.com
74 aur/sonar-icon-theme 11.3.1_35.1-1 (Out of Date) (12)
Icon theme from Suse 11.3, based on the upcoming default gnome icon theme.
75 aur/sud-icon-theme 1.3-1 (9)
SudUbuntu Icon Theme
76 aur/tango-icon-theme 0.8.90-7 (192)
An icon theme that follows the Tango visual guidelines
77 aur/tango-icon-theme-cvs 20111211-1 (27)
The Tango Desktop Project exists to create a consistent user experience
78 aur/tango-icon-theme-extras 0.1.0-5 (15)
Extra icons for Tango
79 aur/ubo-icon-theme 0.1alpha-1 (8)
Ubo Icons Theme by UBO. Not glamorous, not glossy, drawn with ballpoint pen, scanned and colored
in GIMP
80 aur/ultimate-gnome-icon-theme 0.5.1-1 (121)
An original theme created entirely by the author in Inkscape
81 aur/xfce4-finalorder-icon-theme 0.6.1-1 (104)
Final Order icon theme for XFCE
82 aur/xfce4-gant-icon-theme 3.9_6-2 (49)
Gant icon theme for XFCE
83 aur/xfce4-icomity-icon-theme beta3-1 (33)
iComity icon theme for XFCE
84 aur/xfce4-quickening-icon-theme R4-1 (13)
Dark icons for whom like dark desktop themes
85 aur/xfce4-rodentia-icon-theme 1-1 (23)
Rodentia icon theme for XFCE
86 aur/xfce4-shining-reprise-icon-theme 1-1 (Out of Date) (7)
Shining Reprise icon theme for XFCE
87 aur/xfce4-xquisite-icon-theme 0.4.1-1 (80)
Xquisite icon theme for XFCE
88 aur/xfce4-xubuntustudio-icon-theme 0-3 (81)
XubuntuStudio icon theme for XFCE
==> Enter n° of packages to be installed (ex: 1 2 3 or 1-3)
==> -------------------------------------------------------
==> 1 2 3
正在解決依賴關係...
正在查詢內部衝突...
目標 (6): icon-naming-utils-0.8.90-2 perl-xml-parser-2.41-3 perl-xml-simple-2.20-1
gnome-icon-theme-3.4.0-1 gnome-icon-theme-extras-3.4.0-1
gnome-icon-theme-symbolic-3.4.0-1
全部下載大小:9.71 MiB
全部安裝大小:32.81 MiB
進行安裝嗎? [Y/n] y
:: 正在從 extra 軟體庫獲取軟體包...
perl-xml-parser-2.41-3-x86_64 142.7 KiB 209K/s 00:01 [##################################] 100%
perl-xml-simple-2.20-1-any 54.6 KiB 259K/s 00:00 [##################################] 100%
icon-naming-utils-0.8.90-2-any 6.8 KiB 318K/s 00:00 [##################################] 100%
gnome-icon-theme-symbolic-3.4.... 87.7 KiB 253K/s 00:00 [##################################] 100%
gnome-icon-theme-3.4.0-1-any 8.7 MiB 252K/s 00:35 [##################################] 100%
gnome-icon-theme-extras-3.4.0-... 762.0 KiB 253K/s 00:03 [##################################] 100%
(6/6) 正在檢查軟體包完整性 [##################################] 100%
(6/6) 正在載入軟體包檔案 [##################################] 100%
(6/6) 正在檢查檔案衝突 [##################################] 100%
(6/6) 正在檢查可用硬碟空間 [##################################] 100%
(1/6) 正在安裝 perl-xml-parser [##################################] 100%
(2/6) 正在安裝 perl-xml-simple [##################################] 100%
(3/6) 正在安裝 icon-naming-utils [##################################] 100%
(4/6) 正在安裝 gnome-icon-theme-symbolic [##################################] 100%
(5/6) 正在安裝 gnome-icon-theme [##################################] 100%
(6/6) 正在安裝 gnome-icon-theme-extras [##################################] 100%
[[email protected] ~]
相關推薦
Archlinux中pacman,yaourt的常用用法
1)pacman -Sy 同步包資料庫 2)pacman -Syu 更新整個系統 3)pacman -S packagename 安裝包packagename ##2013.7.18補充 pacman -Ss name 可在已同步的資料庫中搜索包含name的包 ##
STL模板庫中棧和佇列常用用法總結
1、stack的基本用法 #include<stack> (1)定義: stack<int>S; stack<string>S; (2)基本操作: S.push(x);x入棧。 S.pop();出棧(刪除棧頂元素,不返回)。
使用find在目錄中查詢檔案的常用用法
有時候要找幾年前存在電腦裡的檔案,不但位置忘記了,就連檔名都忘記的差不多了,怎麼辦?可以使用linux或者cygwin下的find命令,只要對檔名還有一些印象,就可以。 1. 使用正則表示式。正則表示式實在是字串匹配最好用的東東了,無論是用grep和sed在檔案中查詢符合
java中join,yield的用法
Java多執行緒中,在當前執行緒main中,如果用join方法,則停止當前的main執行緒,直到執行完畢才繼續執行main執行緒。如果join中指定了引數,則當前main執行緒只會停止其指定的時間,但如果join還沒到指定時間就執行結束,則main執行緒會馬上進行可執行狀態
javascript中的innerHTML,innerText,outerHTML的用法及其區別
document 去除html標簽 cnblogs class 示例 scrip ie7 及其 描述 示例html代碼: <div id="test"> <span style="color:red">test1</span>
老男孩教育每日一題-第98天-shell知識點:shell腳本中字符串截取的常用用法?
字符串 截取 shell 答案參考:假設有變量var=http://www.oldboyedu.com/123.htm.1. # 號截取,刪除左邊字符,保留右邊字符。變量: var=http://www.oldboyedu.com/123.htm echo ${var#*//} 其中 var 是變
js中eval,arguments與異常處理的用法-基礎知識總結------彭記(017)
報錯 字符串 nts 字符 number 拖動 ron cnblogs 數組 eval的使用: <script> /*eval的作用: * 1.將字符串當成js代碼來執行 * 2.可以將json格式的字符串轉換為js對象*/
shell腳本中的邏輯判斷,文件目錄屬性判斷,if特殊用法,case語句
shell腳本中的邏輯判斷 文件目錄屬性判斷 if特殊用法 case判斷 筆記內容:20.5 shell腳本中的邏輯判斷20.6 文件目錄屬性判斷20.7 if特殊用法20.8/20.9 case判斷筆記日期:2017-11-2220.5 shell腳本中的邏輯判斷在所有的編程語言中都會有if
Java:反射的常用用法,
註釋 load tint hash .get 控制 als demo ces 常用反射方法: package reflection; import java.io.IOException; import java.lang.reflect.InvocationTarge
Shell腳本(腳本結構和執行方法,date命令用法,腳本中的變量)
cal 方式 spa 12月 自動化 復制 自定義函數 soft 變量 Shell是什麽Shell是一種腳本語言,和傳統語言C,Python...相比還是比較簡單的。可以使用邏輯判斷,循環等語法可以自定義函數shell是系統命令的集合shell腳本可以實現自動化運維,能大大
淺談JS中的!=、== 、!==、===的用法和區別 JS中Null與Undefined的區別 讀取XML文件 獲取路徑的方式 C#中Cookie,Session,Application的用法與區別? c#反射 抽象工廠
main 收集 data- 時間設置 oba ase pdo 簡單工廠模式 1.0 var num = 1; var str = ‘1‘; var test = 1; test == num //true 相同類型 相同值 te
C++中 return,break,continue的用法
tdi 一個 報錯 沒有 一點 class turn 必須 ext 引用:https://blog.csdn.net/smf0504/article/details/51315835 https://blog.csdn.net/ting_junhui/artic
python中mysql常用用法
python-mysql查看 查看變量 show variables like ‘auto%‘;信息輸出: echo "select user,host,password from mysql.user" |mysql -uroot -pli
shell腳本介紹,shell腳本結構和執行,date命令用法,shell腳本中的變量
shellShell腳本介紹 shell是一種腳本語言 blog.lishiming.net(阿銘的博客,可以去裏面找shell習題)可以使用邏輯判斷、循環等語法可以自定義函數,減少重復代碼shell是系統命令的集合shell腳本可以實現自動化運維,能大大增加我們的運維效率 Shell腳本結構和執行 開頭需
shell腳本中的邏輯判斷,文件目錄屬性判斷,if特殊用法,case判斷
shellshell中的邏輯判斷 格式1:if 條件 ; then 語句; fiif是如果怎麽樣,then是則怎麽樣寫一個簡單的腳本,它的意思是當a=5,當a大於3時打印ok#!/bin/basha=5if [ $a -gt 3 ]thenecho okfi保存退出後執行腳本[root@linletao-00
20.5-20.9 shel:l腳本中的邏輯判斷,文件目錄屬性判斷,if特殊用法 ,case判斷
shell shell腳本 邏輯判斷 case判斷 if特殊用法 20.5 shell腳本中的邏輯判斷不帶else格式1:if 條件 ; then 語句; fi(這種格式常用)解釋:如果滿足條件,然後怎樣,最後怎樣實例:1 命令行形式表示[root@AliKvn ~]# a=5[root@
python3開發進階-Django框架中的ORM的常用操作的補充(F查詢和Q查詢,事務)
這樣的 env atomic 實例 In git 必須 TE setup 閱讀目錄 F查詢和Q查詢 事務 一、F查詢和Q查詢 1、F查詢 查詢前的準備 class Product(models.Model): name = mod
sql server中的charindex函數用法解析(在一段字符中搜索字符或者字符串-----返回expression1在expression2出現的位置;反之,返回0)
abcde char 解析 ssi num 結果 -- art pan https://blog.csdn.net/xinghuo0007/article/details/70651358 知識點一:charindex()語法 CHARINDEX ( exp
vue中limitBy,filterBy,orderBy的用法
dex arr lte ora mount ron data erb type 1.limitBy的用法 <body> <div id="box"> <ul> <li v-for="val
linux 下shell中if的“-e,-d,-f”的用法
符號鏈接 符號 字符串變量 -s 長度 目錄 != filename bsp 文件表達式-e filename 如果 filename存在,則為真-d filename 如果 filename為目錄,則為真 -f filename 如果 filename為常規文件,則為真-