又一个pacman的前端tupac
时间:2007-12-31
来源:互联网
1、使用缓存,速度飞快。
这是作者贴出来的对比;
[franki@patito php]$ time pacman -Ss kde>/dev/null real 0m0.537s user 0m0.227s sys 0m0.300s [franki@patito php]$ time tupac --noaur -Ss kde>/dev/null real 0m0.201s user 0m0.147s sys 0m0.047s [franki@patito php]$ time pacman -Qo $(find /bin -type f)>/dev/null error: Ningún paquete posee /bin/mount-device.sh error: Ningún paquete posee /bin/mount-device.sh~ real 1m26.211s user 0m30.865s sys 0m52.853s [franki@patito php]$ time tupac -Qo $(find /bin -type f)>/dev/null real 0m7.402s user 0m6.780s sys 0m0.380s [franki@patito php]$ time yaourt -Ss kde>/dev/null real 0m59.746s user 0m12.156s sys 0m41.927s [franki@patito php]$ time tupac -Ss kde>/dev/null real 0m3.182s user 0m0.470s sys 0m0.057s
2、更合理的搜索方式
yaourt -Ss 3d game -> 4 results (it only includes packages that match exactly '3d game')
yaourt的搜索是整个“3d game”
pacman -Ss 3d game -> 109 results (it includes all packages that include any of both words)
pacman的搜索是任何包括“3d”或者“game”的包
tupac -Ss 3d game -> 33 results (all packages contain the word 3d AND the word game)
tupac的搜索是同时包含“3d”和“game”的包
很显然,tupac的方式应该更符合我们日常的习惯
3、搜索后选择安装
节省了不少功夫哦,例如
$tupac xf86-video-i ==> Reusing existing TUPAC_CACHE 1 extra/xf86-video-imstt 1.1.0-4 X.org Integrated Micro Solutions Twin Turbo video driver 2 extra/xf86-video-i810 1.7.4-6 X.org Intel i810/i830/i915 video drivers 3 extra/xf86-video-i128 1.2.1-4 X.org Number 9 I128 video driver 4 extra/xf86-video-intel 2.1.1-2 X.org Intel i810/i830/i915 video drivers 5 extra/xf86-video-i740 1.1.0-4 X.org Intel i740 video driver ==> Enter the package numbers you want to install. Separate choices with a space. Example: 1 23 35 Make your choices:
tupac属于AUR,可以通过yaourt来安装,安装后先用sudo tupac来创建缓存目录和缓存,然后就用普通用户来使用它了。不过它依赖于php包,所以安装时会同时装上9M的PHP5,这点可能有人会不喜欢。
tupac: A cached pacman implementatioin. Version: 0.3.3
Usage:
tupac [word] [word] [word] ... : Search for and install packages that match all [word]
tupac -Ss [word] [word] [word] ... : Search for packages that match all [word]
tupac -Qo [file] [file] [file] ... : Search for each [file] owner
tupac --checkdir [directory] : Check integrity of a directory.
tupac --orphans [directory] : Find files that are not part of any package
tupac : Just update cache
tupac [anything else] : bypass to yaourt
Modifiers:
--noaur : Don't search in AUR
--noprompt : Don't prompt anything
--color [darkbg|lightbg|nocolor] : Choose color scheme
作者: zlowly 发布时间: 2007-12-31
作者: cwjiof 发布时间: 2007-12-31
作者: axlrose 发布时间: 2008-01-01
作者: jarryson 发布时间: 2008-01-01
作者: jarryson
普通用户都能安装软件?还是只能查询?能安装软件就有点可怕了
|
作者: cyf3732 发布时间: 2008-01-01
当安装AUR软件时,为安全起见,最好不要用root来安装。
安装时,修改一下安装路径到/home/YourName就可以了。
作者: cwjiof 发布时间: 2008-01-01
作者: cwjiof
普通用户当然能安装软件!但只能自己用,不是系统级别的安装。
当安装AUR软件时,为安全起见,最好不要用root来安装。 安装时,修改一下安装路径到/home/YourName就可以了。 |
作者: cyf3732 发布时间: 2008-01-02
比如我们要安装到/home/YourName/app/下面,就将那一行的相应位置改成:
--prefix=/home/YourName/app
保存,即可。
最后,软件编译安装成功后,还要在~/.profile或~/.bashrc 里面添加一个指向/home/YourName/app的路径。否则,系统就找不到这个命令了。
作者: cwjiof 发布时间: 2008-01-02
又学习到东西了!THX!
作者: cyf3732 发布时间: 2008-01-02
作者: zhuqin_83 发布时间: 2008-02-06
作者: zkyken 发布时间: 2008-02-06
作者: skyround 发布时间: 2008-02-06
作者: zhuqin_83
我这里为什么装了根本不能用呢,tupac xxx什么都没有显示就返回了。
|
作者: lufeng369 发布时间: 2008-02-10
作者: zhuqin_83 发布时间: 2008-02-11
当然我自己的第一选择还是yaourt。
作者: zlowly 发布时间: 2008-02-12
作者: lufeng369
需要先执行sudo tupac..类似pacman -Sy
|
$:tupac -Syu是否等同于$sudo pacman -Syu
另外什么时候需要执行sudo tupac ?每次tupac 前都需要这样吗?WIKI上并没有详细说这一点,这个工具早装了,但很少用。
作者: smileoa 发布时间: 2009-12-25
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28