LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-21-2011, 02:01 PM   #1
psychobyte
Member
 
Registered: Sep 2003
Location: Central Coast, California
Posts: 179

Rep: Reputation: 30
ubuntu package install script


Hi,

Can anyone share a script that I can use to install a large set of packages in Ubuntu. Typically, when i'm starting a new server I have to do "apt-get install" on a bunch of packages.

I'd like a script that I can add/remove packages from and say yes to all the dependency questions.

Thanks.
 
Old 05-21-2011, 02:44 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Easiest way would be to create a meta-package that is dependent on all packages you want to install. Information about creating packages can be found here.
This way you can create different packages that will fit different roles for your server, like file-server, web-server, ... .
 
  


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
how to install software package using shell script +property file..... badmas Linux - Newbie 3 04-16-2011 02:12 AM
unable to install package on Ubuntu smartgupta Linux - Software 2 11-04-2010 07:43 AM
want to install imake package in ubuntu?? RockerAsh Linux - Newbie 3 05-07-2009 07:17 AM
Package Install History Script dive Slackware 3 11-30-2008 12:36 PM
.deb install script fails - How to I completely reset the package and related files? kramed Debian 3 08-13-2007 10:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:59 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