On Tue, Jan 4, 2011 at 5:43 PM, Nilesh Govindarajan <[email protected]>wrote:
> On 01/04/2011 03:48 PM, Kenneth Gonsalves wrote: > >> On Tue, 2011-01-04 at 02:13 -0800, Abhi wrote: >> >>> Like if I want to install gedit and nmap on my linux system, then the >>> script can download the packages from internet and install it on my >>> linux system by just opening the script. >>> >>> >>> yum and apt-get do this afaik. >> > > That's not the solution. He wants to make one such script I guess? > > what makes you think so ? Here is something which can be done http://bit.ly/IfzU0 using Yum , i am sure there must be similar option in apt-get too , you can incorporate these command in a script and once you have downloaded , run install command from a script . also you can try wget to download the package then give install commands in a script , but in this case you will have to take of all the dependencies yourself . i do not know why you want to do this ? there are distibutions like Gentoo where packages are always built from the sources all the time. hth -Satya satyaakam.net -- l...@iitd - http://tinyurl.com/ycueutm
