I have developed a script to increase the Installation

If you have any suggestions or ideas about improving Salix, here's the place to post them.
Post Reply
sg.germany
Posts: 5
Joined: 6. Aug 2013, 14:40

I have developed a script to increase the Installation

Post by sg.germany »

clear
echo ----------------------------------
echo Installationstart
echo ----------------------------------
echo Version 1.1 / Free of charge
echo
slapt-get --update -y
slapt-get --upgrade -y
slapt-get --install clamav clamsmtp clamtk -y
slapt-get --install neofetch arj arc mc bogofilter hardinfo htop unarj shotwell -y
slapt-get --install gnome-system-monitor gparted btrfs-progs btrbk gnuchess gsmartcontrol -y
slapt-get --install xfsdump xfsinfo whois evince atril k3b brasero knights shotwell -y
slapt-get --install cdparanoia cdrdao cdrkit clementine cdwrite vlc kdiamond -y
slapt-get --install engrampa soundkonverter lhasa unarr geany geany-plugins geany-themes-y
slapt-get --install kmahjongg libkmahjongg knavalbattle frozen-bubble xarchiver -y
slapt-get --install libtheora audacious audacious-aac audacious-plugins ffmpegthumbs -y
slapt-get --install audacity lame twolame x264 x265 normalize gimp gedit gedit-plugins -y
slapt-get --install gimp-feca_hdr-plugin gimp-gap gimp-help gimp-lqr-plugin squashfs-tools -y
slapt-get --install gimp-plugin-bimp gimp-plugin-export-layers gimp-wideangle-plugin -y
slapt-get --install gtkam gutenprint kcalc kcalutils abiword libabw gnumeric vorbis-tools -y
slapt-get --install gedit gedit-plugins mousepad leafpad ristretto a52dec exaile -y
slapt-get --install xmms xmms-crossfade xmms-cue xmms-ladspa xmms-mp4 xmms-musepack -y
slapt-get --install xmms-shn xmms-pulse xmms-skins-almond xmms-skins-ater xmms-status-plugin -y
slapt-get --install xmms-wavpack xmms-wma parole xterm streamripper streamtuner -y
slapt-get --install libreoffice-l10n-de galculator avidemux ffmpeg ffmpegthumbnailer -y
slapt-get --install gst-plugins-libav oggconvert falkon jfsutils hfsprogs hfsutils -y
slapt-get --install libvorbisidec vorbisgain kbreakout aisleriot p7zip system-config-printer -y
salix-codecs-installer
echo ----------------------------------
echo Installationend
echo ----------------------------------
echo
reboot


You can copy/paste the text and save it as install.sh. It is necessary to run the script as sudo or root. eg. sudo sh install.sh
sg.germany
Posts: 5
Joined: 6. Aug 2013, 14:40

Re: I have developed a script to increase the Installation -- The new version

Post by sg.germany »

clear
echo ----------------------------------
echo Installationstart
echo ----------------------------------
echo Version 1.2.2 / Free of charge
echo
slapt-get --update -y
slapt-get --upgrade -y
slapt-get --install gnome-disk-utility fpc lzip lziprecover plzip xsane -y
slapt-get --install clamav clamsmtp clamtk afuse curlftpfs exfat-utils fuse-zip -y
slapt-get --install neofetch arj arc mc bogofilter hardinfo htop unarj shotwell -y
slapt-get --install gnome-system-monitor gparted btrfs-progs btrbk gnuchess gsmartcontrol -y
slapt-get --install xfsdump xfsinfo whois evince atril k3b brasero knights shotwell -y
slapt-get --install cdparanoia cdrdao cdrkit clementine cdwrite vlc kdiamond squashfuse -y
slapt-get --install engrampa soundkonverter lhasa unarr geany geany-plugins geany-themes-y
slapt-get --install kmahjongg libkmahjongg knavalbattle frozen-bubble xarchiver -y
slapt-get --install libtheora audacious audacious-aac audacious-plugins ffmpegthumbs -y
slapt-get --install audacity lame twolame x264 x265 normalize gimp gedit gedit-plugins -y
slapt-get --install gimp-feca_hdr-plugin gimp-gap gimp-help gimp-lqr-plugin squashfs-tools -y
slapt-get --install gimp-plugin-bimp gimp-plugin-export-layers gimp-wideangle-plugin -y
slapt-get --install gtkam gutenprint kcalc kcalutils abiword libabw gnumeric vorbis-tools -y
slapt-get --install gedit gedit-plugins mousepad leafpad ristretto a52dec exaile -y
slapt-get --install xmms xmms-crossfade xmms-cue xmms-ladspa xmms-mp4 xmms-musepack -y
slapt-get --install xmms-shn xmms-pulse xmms-skins-almond xmms-skins-ater xmms-status-plugin -y
slapt-get --install xmms-wavpack xmms-wma parole xterm streamripper streamtuner -y
slapt-get --install libreoffice-l10n-de galculator avidemux ffmpeg ffmpegthumbnailer -y
slapt-get --install gst-plugins-libav oggconvert falkon jfsutils hfsprogs hfsutils -y
slapt-get --install libvorbisidec vorbisgain kbreakout aisleriot p7zip system-config-printer -y
salix-codecs-installer
echo ----------------------------------
echo Installationend
echo ----------------------------------
echo
reboot
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: I have developed a script to increase the Installation

Post by gapan »

Well, yes, those would indeed increase the installation...

Anyway, first thing: always put your code inside code tags. Like this:
[code]
your code here
[/code]

And you should definitely look up what for loops are and how you can read from files. It would make things a lot easier for you for what you want to do.

Code: Select all

for pkg in $( cat MYPKGLIST ); do
  sudo slapt-get -y -i $pkg
done
Image
Image
Post Reply