求一个shell脚本可以自动安装基本软件的

sh/bash/dash/ksh/zsh等Shell脚本
头像
LU开拓者
帖子: 59
注册时间: 2012-02-29 10:07

求一个shell脚本可以自动安装基本软件的

#1

帖子 LU开拓者 » 2012-03-28 16:33

求一个shell脚本可以自动安装基本软件的,最好能一步完成,软件随意,只要是常用软件就好
不是简单的echo sudo apt-get install **** 这样后面还要点好多
头像
枫叶饭团
帖子: 14683
注册时间: 2010-06-16 1:05
系统: Mac OS X
来自: Tencent
联系:

Re: 求一个shell脚本可以自动安装基本软件的

#2

帖子 枫叶饭团 » 2012-03-28 16:36

没写过这些,听说过
头像
LU开拓者
帖子: 59
注册时间: 2012-02-29 10:07

Re: 求一个shell脚本可以自动安装基本软件的

#3

帖子 LU开拓者 » 2012-03-28 16:51

坐等 :ema5
头像
daf3707
论坛版主
帖子: 12739
注册时间: 2007-06-13 15:57
来自: 在他乡

Re: 求一个shell脚本可以自动安装基本软件的

#4

帖子 daf3707 » 2012-03-28 16:54

自己写一个就是
别人的不适用
头像
LU开拓者
帖子: 59
注册时间: 2012-02-29 10:07

Re: 求一个shell脚本可以自动安装基本软件的

#5

帖子 LU开拓者 » 2012-03-28 16:55

问题是我不会,我想先看着别人的学
头像
自由建客
帖子: 13468
注册时间: 2008-07-30 23:21
系统: Debian stable AMD64

Re: 求一个shell脚本可以自动安装基本软件的

#6

帖子 自由建客 » 2012-03-28 18:58

代码: 全选

#!/bin/sh
tasksel install standard
毕!
头像
LU开拓者
帖子: 59
注册时间: 2012-02-29 10:07

Re: 求一个shell脚本可以自动安装基本软件的

#7

帖子 LU开拓者 » 2012-03-28 22:28

好吧 :emb0
jtshs256
帖子: 22323
注册时间: 2010-07-19 21:41
系统: OS X

Re: 求一个shell脚本可以自动安装基本软件的

#8

帖子 jtshs256 » 2012-03-28 22:29

:em20
躺平
头像
月下叹逍遥
论坛版主
帖子: 33994
注册时间: 2010-10-07 14:23
系统: Archdows10
来自: 某系某星某洲某国某省某市
联系:

Re: 求一个shell脚本可以自动安装基本软件的

#9

帖子 月下叹逍遥 » 2012-03-28 22:32

记得貌似软件中心里有
浮生七十今三十,从此凄惶未可知
头像
LU开拓者
帖子: 59
注册时间: 2012-02-29 10:07

Re: 求一个shell脚本可以自动安装基本软件的

#10

帖子 LU开拓者 » 2012-03-29 9:41

看样子只能在shell里sudo apt-get install了
头像
naturalaw
帖子: 1360
注册时间: 2011-09-06 22:04

Re: 求一个shell脚本可以自动安装基本软件的

#11

帖子 naturalaw » 2012-03-29 15:57

自动安装基本软件。基本软件是指哪些。
  • The eternal law
头像
ljj_jjl2008
论坛版主
帖子: 14256
注册时间: 2007-09-16 8:29

Re: 求一个shell脚本可以自动安装基本软件的

#12

帖子 ljj_jjl2008 » 2012-03-29 16:31

naturalaw 写了:自动安装基本软件。基本软件是指哪些。
+1
头像
LU开拓者
帖子: 59
注册时间: 2012-02-29 10:07

Re: 求一个shell脚本可以自动安装基本软件的

#13

帖子 LU开拓者 » 2012-03-29 17:23

naturalaw 写了:自动安装基本软件。基本软件是指哪些。
浏览器、媒体播放器、看pdf的等等,这些随便挑两个随意的,我主要是想看看思路再学习下
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

Re: 求一个shell脚本可以自动安装基本软件的

#14

帖子 eexpress » 2012-03-29 17:28

你把apt-get写shell脚本里面,带一堆软件就是。不就是shell嘛。
● 鸣学
riptide2012
帖子: 222
注册时间: 2011-12-14 10:21

Re: 求一个shell脚本可以自动安装基本软件的

#15

帖子 riptide2012 » 2012-03-29 17:31

sudo aptitude install nvidia-current mc gparted tree freemind smplayer p7zip-full vim-gnome exuberant-ctags unrar freepats wallch fcitx zim compizconfig-settings-manager chmsee shutter amule ubuntu-restricted-extras classicmenu-indicator indicator-weather pysdm ntfs-config pastie sopcast-player wine simple-lightdm-manager unityshell-rotated virtualbox nautilus-terminal nautilus-open-terminal gconf-editor ubuntu-restricted-extras gnome-tweak-tool terminator clipit python-docutils git debian-reference python-doc lighttpd qgit gitk python-sphinx rabbitvcs-core rabbitvcs-nautilus3 rabbitvcs-cli dpkg-dev debhelper dh-make python-setuptools python-distutilus-extra build-essential anjuta


每次装个东西就备份下 :em04
回复