#!/bin/bash
user=$UID
if [ $user != 0 ]
then
echo "Sorry. Only ROOT can run this program !"
exit
else
echo "###############( Updating Programs )###############"
echo
echo "Start: "
date
fi
# Basic programs
function baseprogs(){
echo "==============( Basic Programs )================="
echo
for PROGRAM in xorg xorg-apps cups kde firestarter
do
echo +=========================+
echo "PROGRAM: $PROGRAM"
echo +=========================+
echo
pacman -Sy --noconfirm $PROGRAM
echo -e \\n\\n
done
}
# Productivity tools
function productivity(){
echo "==============( Productivity Programs )================="
echo
for PROGRAM in libdvdcss k3b gaim htop screen gkrellm gkrellmlaunch gkrellweather hwd openssh ntp host mc yakuake ethtool
do
echo +=========================+
echo "PROGRAM: $PROGRAM"
echo +=========================+
echo
pacman -Sy --noconfirm $PROGRAM
echo -e \\n\\n
done
}
# Web Development
function webdev(){
echo "==============( Web Development Programs )================="
echo
for PROGRAM in bluefish cssed kdewebdev apache mod_python php mysql mysql-python
do
echo +=========================+
echo "PROGRAM: $PROGRAM"
echo +=========================+
echo
pacman -Sy --noconfirm $PROGRAM
echo -e \\n\\n
done
}
# Multimedia
function multimedia(){
echo "==============( Multimedia Programs )================="
echo
for PROGRAM in xine-lib xine-ui amarok-engine-xine alsa-lib alsa-oss alsa-utils alsaplayer gstreamer0.10-alsa alsa-plugins mplayer mplayer-plugin amarok-base amarok-engine-xine gstreamer0.10 xbindkeys
do
echo +=========================+
echo "PROGRAM: $PROGRAM"
echo +=========================+
echo
pacman -Sy --noconfirm $PROGRAM
echo -e \\n\\n
done
}
# Office productivity programs
function office(){
echo "==============( Office Programs )================="
echo
for PROGRAM in jre openoffice-base openoffice-spell-en openoffice-es
do
echo +=========================+
echo "PROGRAM: $PROGRAM"
echo +=========================+
echo
pacman -Sy --noconfirm $PROGRAM
echo -e \\n\\n
done
}
# MS-True Type fonts
function ttfonts(){
echo +=========================+
echo "Program: MS-TT Fonts"
echo +=========================+
echo
pacman -Sy --noconfirm ttf-ms-fonts echo -e \\n\\n
}
baseprogs
productivity
multimedia
office
ttfonts
webdev
echo "All done!"
It is clear that the aim of this script is not as ambitious as your program. but it works fine. I've always considered adding a "friendly front end" with Python, which I have not done so far but I hope this script may contain something that may give you more design ideas.
I always thought that "desired" packages could be in a Python dictionary list, making it easy to the user to select 'Open Office" but passing the correct "openoffice-base" to the installer.
I think it is a very nice idea you have had, keep working on it!
R.
]]>Well, I may get a chance to work on it in the next few weeks. I graduate high school on the 18th, so I'll have the summer to work on various projects.
That's great!! Do keep me (us) posted!!!
]]>I still haven't really started work on this still, but I'm going to try to get on it, hopefully sooner than later.
Try to make it sooner !!!
]]>]]>I'll happily test it out when its ready for any bugs on a few different systems if you like. Sounds interesting.
well, thank you for waiting
I know i havnt said much lately, but it's mostly since everytime i thought of releasing Archie something happened... so i better not promise anything, and once we do release, it will be a nice surprise. in the meantime, you can see some of the Archie installer screenshots in here : http://z4ziggy.wordpress.com
please comment on them if you think something needs to be changed/added.
Does this mean grandma can finally install Arch on her own?
Just kidding.
I think it looks great. I'm probably one of the few Arch Linux users that love the simple GUI installer idea. I've been skewered and burned in the IRC channel when I've mentioned it before. Can't wait to try it out.
Thanks z4ziggy.
]]>I know i havnt said much lately, but it's mostly since everytime i thought of releasing Archie something happened... so i better not promise anything, and once we do release, it will be a nice surprise. in the meantime, you can see some of the Archie installer screenshots in here : http://z4ziggy.wordpress.com
please comment on them if you think something needs to be changed/added.
]]>I would love to see a stripped down Archie live CD based on Arch with a installer
ok I want a live Arch version I can put on a pen drive and take with me my favorite distro where ever I go
archboot or larch may be able to do the same thing.....
I watch with interest [well you did mention Openbox!]
MrG
]]>It can partition and format your drives if you choose to let it do so. You also have the option of merely having it install into a directory you specify. All the frontend does is make an install script, so you can open up your current install script and then change the way the drives are partitioned if you like as well. I'm planning on integrating the call to alai inside the GUI on the official frontend, perhaps through pipes or some other means (I haven't tried the subprocess module yet........anybody have any other ideas for this?).
On the network pre-defined configs: all things can be pre-configured. This can be done via alai's post-install step. Whenever your system is installed (partitions are made, all selected packages are installed) the post-install step kicks in and first copies all the files in your install script tarball (remember, alai can take a tarball as an argument as well) under the "post/fs" directory and then executes all the scripts in the "post/scripts" directory. This will allow you to place all your config files you need into your tarball and they'll automatically be copied into your filesystem (for example: "alai-tarball.tgz"/post/fs/etc/rc.conf). The post-install scripts will be run in alphabetical order from the root of your new filesystem. If something needs to be run first you could name your script "0important.sh" to make sure it is run before other scripts.
Again, it may be a while before I get time to work on this. After thinking on it, I may switch to PyGTK for the official X frontend. For the liveCD, I'll probably just strip down Archie or make my own very simplistic version. Reason being, I don't need XFCE and some of the other things Archie has. I only need a web browser, text editor, libraries, modules, etc.
I'm also thinking about adding a feature that will download all the packages selected in the install script so that one can do an offline install. I'm also still working on the design of this thing. If I make the install script include alai's code inside of it, you could install Arch from any *nix environment VERY easily. I could even have it put pacman.static inside the tarball. You wouldn't have to install alai in an Arch environment in order to use a generated install script this way. Any comments or suggestions? I want this thing to be simple and flexible and useful for not only myself.
]]>So Alai will format partition drive load base packages kernel & then grub job done
Imagine you would have pre-defined configs for network [alrthough that can be done after reboot]
Why QT ? heavyness ?
just my thoughts
]]>