PDA

View Full Version : Personalized "Automatix"-like Script



aleska
August 15th, 2006, 12:42 AM
I was wondering whether anyone could point me to a tutorial on how to create your own Automatix-like or Easy Ubuntu-like scripts to install just the apps you want. Basically, I'm talking about creating a personalized script that includes all those programs I want (even those not included in Automatix) so that I can install on multiple pcs without having to hunt and peck each time with each setup.

I'm sure this has been covered somewhere in the forums, but I'm having no luck in my search results.

Thanks!

cstudent
August 15th, 2006, 01:25 AM
The guts of Automatix is nothing more that a bash script. You can start to learn about bash scripting with this website:

http://www.tldp.org/LDP/abs/html/

The graphics for Automatix are done using Zenity. Unless you want the graphics, there would really be no need for it. You can learn more about Zenity here:

http://www.linuxmanpages.com/man1/zenity.1.php

You can also download the .deb file for Automatix and extract it with the archive manager like you would a tar.gz file. This would not install Automatix, but it would let you be able to study the scripts it has inside.

Imexius
August 15th, 2006, 04:48 AM
Or you could just write bash scripts ie:

#! /bin/bash
cat mysources.list > /etc/apt/sources.list
sudo apt-get update
sudo apt-get install blah blah blah blah

richbarna
August 15th, 2006, 07:21 AM
The guts of Automatix is nothing more that a bash script. You can start to learn about bash scripting with this website:

http://www.tldp.org/LDP/abs/html/

The graphics for Automatix are done using Zenity. Unless you want the graphics, there would really be no need for it. You can learn more about Zenity here:

http://www.linuxmanpages.com/man1/zenity.1.php

You can also download the .deb file for Automatix and extract it with the archive manager like you would a tar.gz file. This would not install Automatix, but it would let you be able to study the scripts it has inside.

Nice links Cstudent, thanks :)