LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 09-02-2010, 12:20 AM   #1
japhyr
LQ Newbie
 
Registered: Nov 2009
Posts: 11

Rep: Reputation: 0
Anything like apt-get on Windows?


Hello,

I left windows 2 years ago, and now I am back in the windows world at work. This makes me appreciate Linux even more.

When I do a new installation on a Linux machine, I write a bash script to install a bunch of programs at once. This is only possible because of the -y flag for apt-get, which answers every installation prompt with a default yes. I have to install a bunch of programs from one cd on a bunch of windows machines at my school, and I was wondering if anyone knows a comparable command in the windows command line.

I know this is a Linux forum, but I'm hoping a Linux person might help me cope a little in the windows world.

Thanks.

Eric
 
Old 09-02-2010, 12:35 AM   #2
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
unfortunately i believe that answer is no, there is a fundamental difference between windows and linux as to how software is installed, apt-get downloads packages from a repository and unpacks and installs the contents of the packages and creates the default configurations, windows on the other hand uses stand alone executables as the method of installation and none of them are likely to have any command line options which means you are stuck with a point and click interface that can't be easily scripted if at all
so in short my guess, being someone who has to use windows a lot is no
however there is cygwin for windows which might have a package manager, but thats a different story alltogether
 
Old 09-02-2010, 03:07 AM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Perhaps you can use
http://wpkg.org/

Kind regards
 
Old 09-02-2010, 07:21 AM   #4
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
wpkg can automate installation of certain programs on windows but I do not think it can emulate all the functions provided by apt. wpkg would not download the packages from internet. You will need to have them on the server and then push them onto the clients where they are to be installed.
 
Old 09-02-2010, 09:50 AM   #5
japhyr
LQ Newbie
 
Registered: Nov 2009
Posts: 11

Original Poster
Rep: Reputation: 0
Thank you, I will take a closer look at wpkg.
 
Old 09-02-2010, 11:00 AM   #6
japhyr
LQ Newbie
 
Registered: Nov 2009
Posts: 11

Original Poster
Rep: Reputation: 0
For clarity, I am helping my school district get a bunch of new machines deployed while IT people take the time to set up an imaging system. I have been running a program where we get old computers donated to the school, and I teach students to install Linux on the machines. So students themselves are installing Linux on old machines and making them useful to the school, all in a very efficient manner. But the official district computers are windows-based. If I can use the linux machines to streamline the setup of the windows machines, it will go a long way to improving people's perception of open source solutions in public education.

Is it possible to use my main linux machine to push windows applications to a bunch of windows machines? Right now I have all the windows exe installers in a directory on my linux box. Currently I write all those installers to a cd, also copying to the cd a simple batch script to successively launch each installer, but kids have to sit and click through all the install prompts. It would be pretty sweet to use something like wpkg on the linux box itself to install these applications on the windows machines over a local network. I think I have all the resources to do that; can someone tell me briefly if that is feasible?
 
Old 09-02-2010, 02:24 PM   #7
HasC
Member
 
Registered: Oct 2009
Location: South America - Paraguay
Distribution: Debian 5 - Slackware 13.1 - Arch - Some others linuxes/*BSDs through KVM and Xen
Posts: 329

Rep: Reputation: 55
wow, someone who wants a linux-like app installer for windows... usually it's the other way around
 
Old 09-02-2010, 03:46 PM   #8
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian 6+, CentOS 5+
Posts: 1,323

Rep: Reputation: 100Reputation: 100
Installing software on Linux is easier than windows. To answer to OP question though, there is no uniform way, some of those apps might have command line ways to install them, Adobe reader does for instance, but you would need to write a script that used each one of these individual install commands and if the installer didn't accept command line install then well it just won't install. You could use Samba to act as a share to house all the installers and then just access the share to install all the software.
 
Old 09-02-2010, 04:45 PM   #9
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
the closest thing in the windows world i can think of is windows update but that only applies to the windows os itself, unlike linux which updates any software in the repository that has a newer version then the installed version
 
Old 09-03-2010, 12:11 AM   #10
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
@OP,
Great feeling hearing your good work around open source and linux. For the particular use that you say, wpkg can come handy tool though it may not be as efficient as apt or other package managers we have. But you can definitely automate the installation process for sure. But before going on further, take a look at wiki and see what all applications are supported for automated installations.
 
Old 09-04-2010, 01:21 PM   #11
japhyr
LQ Newbie
 
Registered: Nov 2009
Posts: 11

Original Poster
Rep: Reputation: 0
Thank you everyone for your specific help, and overall sympathy for having to work on windows machines. In the next few weeks, students will get the experience of doing volume installs on both windows and linux systems, which will be a pretty awesome experience for high school and middle school students.

A couple questions to wrap this up:
I have the process streamlined to one Windows installation dvd, one software installation dvd that uses a batch script to sequentially launch every installer, and then a few network configuration steps that I haven't had a chance to try automating yet. But this process still requires students to individually press okay and accept and enter license codes, etc. Someone suggested configuring one machine completely, and then making a system image. I know this can be done in linux using something like remastersys. If I go down that road in Windows, will I be successful? I understand how that would work for reimaging a single windows machine, but will the image disk work on every machine? I fear there's going to be a message box that says, "You are pirating software onto a new machine! Pay us with your life!" I don't want to start down that road if that's where it leads.

And so I don't have to keep asking really MS-specific questions, can anyone refer me to a high-quality, high-traffic windows it forum?

Thank you again, and wherever this goes I will post some student impressions on the linux/ windows experience from their perspective. One thing I'm looking forward to is being able to freely distribute copies of our linux setup dvd's, after having to closely guard all the windows-based install discs we've been using!
 
Old 09-05-2010, 03:19 AM   #12
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
You could use sysprep an ghost
http://support.microsoft.com/kb/302577
http://service1.symantec.com/support...00081610075225
 
Old 09-05-2010, 12:58 PM   #13
japhyr
LQ Newbie
 
Registered: Nov 2009
Posts: 11

Original Poster
Rep: Reputation: 0
Well, reading repo's links had me immersed in Microsoft's labyrinthine licensing schemes, which makes me throw my hands up after a while. I now understand why our IT people are taking so long to set up an imaging system; it's not the technology that's difficult, it's the licensing gymnastics that you have to go through to set up a legal large-scale system. It makes me sick that so much of our people's time is taken up sorting out licensing issues. This motivates me to turn my school into a demonstration site, where we set up a high-quality linux system with a straightforward imaging process. One of the best parts will be making those imaging disks freely available to students and visitors.

Thank you everyone, I think I know how to move forward on this project.
 
Old 09-05-2010, 08:06 PM   #14
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian 6+, CentOS 5+
Posts: 1,323

Rep: Reputation: 100Reputation: 100
Well by using sysprep you can cause it to request license key for Windows and any MS software, the real hard part is any additional software you might be able to install it to prompt for a serial key I don't know. The easiest way to handle these things is to have volume licensing for all software though this might be unrealistic. THere are also lots of other imaging options, like using dd and gzip, or using FOG. or PING (PING is not ghost). As far as working images, all you need to ensure is that any drivers you need for a machine are present in your image.
 
Old 09-05-2010, 09:16 PM   #15
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Moved: This thread is more suitable in General and has been moved accordingly to help your thread/question get the exposure it deserves.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get update on windows for ubuntu remfarkas Ubuntu 9 10-01-2008 03:33 AM
apt-get via windows? gunnix Debian 11 06-22-2006 09:04 AM
Debain: No X-windows found in apt-get DrBart Debian 6 06-14-2006 03:03 AM
Test Apt Sources from within MS Windows BaptismOfFire Debian 6 06-17-2005 04:04 PM
apt....windows partition fullcdrom set-up c_cinq Debian 13 11-14-2004 06:16 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 02:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration