尽可能地把依赖顶端的软件包名列出来
REPO:
xorg gnome smplyer lynx gsynaptic wqy-zenhei clamav htop avidemux gstreamer* vlc keepassx qalculate-gtk gsmartmontools audacity cheese wireshark p7zip gimp imagemagick firefox-i18n gksu xf86-video-intel xf86-input-evdev gnome-vfs scite openjdk6 deskbar-applet gnome-applet gtk-engines deluge amule lm_sensors mc mime-types most mtools mysql-clients mutagen octave openoffice-zh_cn opera parted empathy tor pygtk rdesktop rxvt-unicode scribus sdl_* srcpac xf86-input-synaptics unarj unrar unzip xchat zenity django devhelp cpufreqd hwd deluge laptop-mode-tools hal hal-info gparted gdmap acpid archlinux-menus aria2 audacious-plugins bash-completion conky dbus-python djview fast-user-switch-applet flashplugins freeglut ghex gmencoder gqview handbrake id3v2 inkscape
AUR:
libfetion qq chromium-browser ibus-pinyin


在
在
#!/usr/bin/perl -w
use strict;
my $info;
chomp( my @package = `pacman -Qq` );
foreach (@package) {
$info = `pacman -Qi $_`;
@_ = ( $info =~ m[Name.*?: (\S+).*?Required By.*?: (\S*)]sg );
if ( $2 eq “None” ) {
print $1. “\n”;
}
}
脚本拿去…看你列得怪辛苦…