Skip to content

Instantly share code, notes, and snippets.

@kuanyui
Created January 20, 2014 14:44
Show Gist options
  • Save kuanyui/8521038 to your computer and use it in GitHub Desktop.
Save kuanyui/8521038 to your computer and use it in GitHub Desktop.
if [ `id -u` -ne 0 ]; then
echo "This script must be run as root" > /dev/stderr
exit 1
fi
PACKAGE_LIST_SUSE="
ack
acpi
aspell
autoconf
automake
chromium
chromium-pdf-plugin
comix
comix-lang
dkms
dolphin-plugins
ebview
ekiga
emacs
emacs-el
fcitx
fcitx-chewing
fcitx-devel
fcitx-mozc
ffmpegthumbnailer
filelight
gcc
git
gnome-do
gnome-do-lang
gpg2
gpick
gpick-lang
hg
htop
imagewriter
kde-mplayer-thumbnailer
kernel-source
kernel-syms
kffmpegthumbnailer
libchewing-devel
libqt4-devel
make
nodejs
nodejs-devel
p7zip
pidgin
qtcurve
rhino
rsync
shutter
shutter-lang
smplayer
smplayer-lang
smplayer-skins
smplayer-themes
smplayer2
smplayer2-lang
stardict
umplayer
umplayer-lang
umplayer-themes
vlc
vlc-codecs
wine
xclip
xkill
yakuake
zanity
zsh
"
# replace newline with spaces
PACKAGE=$(echo $PACKAGE_LIST_SUSE | tr -s '\n' ' ')
zypper in ${PACKAGE}
npm install -g hexo
npm -g install js-beautify
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment