最新消息:阿啰哈,本人90后,目前单身,欢迎妹子们来撩!.(。→‿←。)

Ubuntu 12.04.5软件安装脚本

Xubuntu 林志斌 1112浏览

注:以下脚本不再更新,请勿使用该脚本安装

脚本功能:自动给全新安装的Ubuntu 12.04.5 LTS x86_64系统安装我需要的一些软件

#!/bin/bash
#Created by: www.kashu.org
#Date: 2014-11-1
#Description: Only for Ubuntu 12.04.5 x86_64

echo "Installing, please do not close this shell script!"
grep '12.04' /etc/issue || echo "For Ubuntu 12.04.x LTS" && exit 1
uname -i | grep 'x86_64' || echo "For x86_64 Arch only" && exit 1
test -e /etc/apt/sources.list.bak && exit 1
cp -f /etc/apt/sources.list /etc/apt/sources.list.bak
(
cat <<- 'END'
deb http://mirrors.163.com/ubuntu/ precise-backports main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ precise main restricted
deb http://mirrors.163.com/ubuntu/ precise multiverse
deb http://mirrors.163.com/ubuntu/ precise-security main restricted
deb http://mirrors.163.com/ubuntu/ precise-security multiverse
deb http://mirrors.163.com/ubuntu/ precise-security universe
deb http://mirrors.163.com/ubuntu/ precise universe
deb http://mirrors.163.com/ubuntu/ precise-updates main restricted
deb http://mirrors.163.com/ubuntu/ precise-updates multiverse
deb http://mirrors.163.com/ubuntu/ precise-updates universe
deb-src http://mirrors.163.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ precise main restricted
deb-src http://mirrors.163.com/ubuntu/ precise multiverse
deb-src http://mirrors.163.com/ubuntu/ precise-security main restricted
deb-src http://mirrors.163.com/ubuntu/ precise-security multiverse
deb-src http://mirrors.163.com/ubuntu/ precise-security universe
deb-src http://mirrors.163.com/ubuntu/ precise universe
deb-src http://mirrors.163.com/ubuntu/ precise-updates main restricted
deb-src http://mirrors.163.com/ubuntu/ precise-updates multiverse
deb-src http://mirrors.163.com/ubuntu/ precise-updates universe
END
) > /etc/apt/sources.list

add-apt-repository -y ppa:alexeftimie/ppa
add-apt-repository -y ppa:atareao/atareao
add-apt-repository -y ppa:caffeine-developers/ppa
add-apt-repository -y ppa:colingille/freshlight
add-apt-repository -y ppa:coolwanglu/pdf2htmlex
add-apt-repository -y ppa:dhor/myway
add-apt-repository -y ppa:diodon-team/stable
add-apt-repository -y ppa:djcj/vlc-stable
add-apt-repository -y ppa:dreibh/ppa 
add-apt-repository -y ppa:fcitx-team/nightly
add-apt-repository -y ppa:gezakovacs/ppa
add-apt-repository -y ppa:jon-severinsson/ffmpeg
add-apt-repository -y ppa:liferea/ppa
add-apt-repository -y ppa:linrunner/tlp
add-apt-repository -y ppa:lzh9102/qwinff
add-apt-repository -y ppa:maarten-baert/simplescreenrecorder
add-apt-repository -y ppa:nilarimogard/webupd8
add-apt-repository -y ppa:noobslab/indicators 
add-apt-repository -y ppa:osmoma/audio-recorder
add-apt-repository -y ppa:otto-kesselgulasch/gimp
add-apt-repository -y ppa:peterlevi/ppa
add-apt-repository -y ppa:plushuang-tw/uget-stable
add-apt-repository -y ppa:pipelight/stable
add-apt-repository -y ppa:pi-rho/security
add-apt-repository -y ppa:rvm/smplayer
add-apt-repository -y ppa:stebbins/handbrake-releases
add-apt-repository -y ppa:team-xbmc/ppa
add-apt-repository -y ppa:tualatrix/ppa
add-apt-repository -y ppa:ubuntu-wine/ppa
add-apt-repository -y ppa:umang/indicator-stickynotes
add-apt-repository -y ppa:webupd8team/y-ppa-manager
add-apt-repository -y ppa:wseverin/ppa

apt-get update

apt-get purge deja-dup empathy* telepathy* simple-scan ubuntuone-client* python-ubuntuone-storage* ubuntuone-installer indicator-messages telepathy-indicator zeitgeist-core totem aisleriot gnome-orca mahjongg* -y
apt-get autoremove -y
apt-get install -y aria2

wget -O ~/master.zip https://github.com/ilikenwf/apt-fast/archive/master.zip
unzip ~/master.zip
cp ~/apt-fast-master/apt-fast /usr/bin/
chmod +x /usr/bin/apt-fast
cp ~/apt-fast-master/apt-fast.conf /etc/

/usr/bin/apt-fast update
/usr/bin/apt-fast upgrade -y
/usr/bin/apt-fast update

echo y | /usr/bin/apt-fast install arj audacious audio-recorder bum caffeine cabextract cheese chromium-browser compizconfig-settings-manager compiz-plugins-extra conky curl dconf-tools diodon dstat emerald faac faad fcitx-table-wbpy ffmpeg2theora file-roller flac flashplugin-installer gimp gimp-data-extras gimp-plugin-registry gstreamer0.10-plugins-ugly gstreamer0.10-plugins-bad handbrake-gtk htop hydra icedax icedtea-plugin id3v2 iftop indicator-multiload indicator-stickynotes iotop lame liba52-0.7.4-dev libdvdnav4 libdvdread4 libflac++6 libjpeg-progs libmad0 libmpeg2-4 libmpeg3-1 libswscale-extra-2 libxine1-ffmpeg libreoffice-l10n-zh-cn libreoffice-help-zh-cn liferea linssid meld mencoder mpack mpeg2dec mpeg3-utils mpegdemux mpg123 mpg321 mupdf nethogs nmap openssh-server optipng p7zip-full p7zip-rar parallel plink pipelight-multi power-commands prelink preload proxychains putty-tools pitivi qwinff rar rdesktop sharutils shutter simplescreenrecorder smplayer smplayer-skins smplayer-themes smtube sox sysv-rc-conf tftpd-hpa tftp-hpa tilda trimage ubuntu-restricted-extras uget unace unetbootin unrar unzip uudeview uudeview variety vim vlc vorbis-tools wine winusb wireshark xbmc y-ppa-manager zip lm-sensors hddtemp psensor indicator-sysmonitor pdf2htmlEX

pipelight-plugin --enable silverlight

/usr/share/doc/libdvdread4/install-css.sh

wget -c https://d.alipayobjects.com/sec/edit/aliedit.tar.gz
tar -zxf ./aliedit.tar.gz
./aliedit.sh

wget -c http://jaist.dl.sourceforge.net/project/pacmanager/pac-4.0/pac-4.5.5-all.deb
apt-get -f -y install
dpkg -i ./pac*.deb

wget -c http://katana.oooninja.com/bleachbit/sf/bleachbit_1.4_all_ubuntu1204.deb
dpkg -i bleachbit*.deb

wget -c http://cznic.dl.sourceforge.net/project/xdman/xdman_mint_ubuntu.deb
dpkg -i xdman*.deb

wget -c http://pc.115.com/download/linux/115wangpan_linux_v4.0.deb
dpkg -i 115*.deb

wget -c http://www.skype.com/go/getskype-linux-beta-ubuntu-64/skype-ubuntu-precise_4.3.0.37-1_i386.deb
dpkg -i skype*.deb
/usr/bin/apt-fast install -f -y
dpkg -i skype*.deb

wget -c http://jaist.dl.sourceforge.net/project/gis-weather/gis-weather/0.7.2/gis-weather_0.7.2_all.deb
dpkg -i gis-weather*.deb
/usr/bin/apt-fast -f install -y
dpkg -i gis-weather*.deb

wget -c http://arminstraub.com/downloads/krop/krop_0.4.6-1_all.deb
dpkg -i krop*.deb
/usr/bin/apt-fast -f install -y
dpkg -i krop*.deb

wget -c http://code-industry.net/public/master-pdf-editor_2.0.30_amd64.deb
dpkg -i master-pdf*.deb
###/usr/bin/apt-fast -f install -y

wget -c https://launchpad.net/ubuntu-tweak/0.8.x/0.8.7/+download/ubuntu-tweak_0.8.7-1~trusty2_all.deb
dpkg -i ubuntu-tweak*.deb
/usr/bin/apt-fast -f install -y
dpkg -i ubuntu-tweak*.deb

###wget -c https://master-dl.sourceforge.net/project/i-nex/0.6.6/i-nex_0.6.6-0~bzr635~20140618~ubuntu12.04.1_amd64.deb

wget -c http://download.xnview.com/XnConvert-linux-x64.deb
dpkg -i XnConvert*.deb
###/usr/bin/apt-fast -f install -y
###dpkg -i XnConvert*.deb

wget -c https://master-dl.sourceforge.net/project/jnetmap/jNetMap%200.5.3/jNetMap-0.5.3.deb
dpkg -i jNetMap*.deb
/usr/bin/apt-fast -f install -y
dpkg -i jNetMap*.deb

wget -c http://www.ocenaudio.com.br/downloads/index.php/ocenaudio64.deb?
dpkg -i ocenaudio*.deb
###/usr/bin/apt-fast -f install -y
###dpkg -i ocenaudio*.deb

wget -c https://nodeload.github.com/goagent/goagent/legacy.zip/3.0
mv 3.0 goagent.zip
unzip ./goagent*.zip

wget -c https://codeload.github.com/LiuLang/kwplayer-packages/zip/master
#mv master kwplayer-packages-master.zip
#unzip ./kwplayer-packages-master.zip
#dpkg -i ./kwplayer-packages-master/kwplayer*.deb
#/usr/bin/apt-fast -f install -y

#wget -c http://www.chairod.de/2OO8-O5-31/Compiz/Halftime_1.1.emerald

sed -i 's/NoDisplay=true/NoDisplay=false/g' /etc/xdg/autostart/*.desktop

转载请注明:林志斌 » Ubuntu 12.04.5软件安装脚本

发表评论
取消评论
表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址