PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 25, 2012, 05:01:59 AM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: Did anyone ever make a script to install multiple packages?  (Read 306 times)
JoeSomebody
Jr. Member
**
Offline Offline

Posts: 25


« on: January 26, 2012, 12:07:42 PM »

Did anyone ever make a script to install multiple packages?
I would like to have a "add some games script"
Perhaps there is one I can modify, since i am too newbie to write one
Or a pointer to a how-to? Thanks Smiley
Logged
Old-Polack
Administrator
Hero Member
*****
Offline Offline

Posts: 9695


----IOFLU----


« Reply #1 on: January 26, 2012, 12:40:34 PM »

Did anyone ever make a script to install multiple packages?
I would like to have a "add some games script"
Perhaps there is one I can modify, since i am too newbie to write one
Or a pointer to a how-to? Thanks Smiley

Would you please redefine your question so we know exactly what it is that you are trying to do? What you've asked is too vague to have any real meaning.
Logged

Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...
Neal ManBear
Administrator
Super Villain
*****
Online Online

Posts: 15188


LXDE! Coffee, Bacon and Cheesecake!


« Reply #2 on: January 26, 2012, 12:56:27 PM »

Try --- Menu > Software Center > Synaptic Package Manager >>> when it is open, click Reload > Click Mark All Upgrades > click Apply and again Apply. Now use the Search function to look for the games you want. Mark each one for installation. When you're done, click Apply and again Apply. That is installing more than one game at a time. Simple. Elegant.     
Logged

MBantz
Hero Member
*****
Online Online

Posts: 1243



« Reply #3 on: January 26, 2012, 01:10:16 PM »

Did anyone ever make a script to install multiple packages?
I would like to have a "add some games script"
Perhaps there is one I can modify, since i am too newbie to write one
Or a pointer to a how-to? Thanks Smiley


An 'add some games' script does certainly exist. What you are describing is a meta-package that is not a game itself, but a selection of games to be installed.

You will find a nice example in Synaptic, try and search for 'gnome-games' and a fine selection of games will be installed.

If you want to create your own scripts like 'gnome-games' you will look into being a packager. You can find the current source rpm here: http://distro.ibiblio.org/pclinuxos/pclinuxos/apt/pclinuxos/2010/SRPMS.main/gnome-games-2.28.1-4pclos2010.src.rpm

If you create a super, metapackage I guess it will be included in the repos for all to use,

cheers,
MBantz

Logged

JoeSomebody
Jr. Member
**
Offline Offline

Posts: 25


« Reply #4 on: January 26, 2012, 03:43:58 PM »

Sorry busy day today. Getting here late.
I am trying to get around the problem of mylivecd size limitation
If i remove games and do mylivecd, it works, games in it fails, must be too big
So a script to install my favorite games would be nice
From other posts i assume my problem is size anyway
Logged
Leiche
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2704


God knows, i'm not an Angel!


WWW
« Reply #5 on: January 26, 2012, 03:47:12 PM »

If you know your games by name in Synaptic, You can try in a terminal as root

Code:
apt-get update && apt-get install game1 game2 game3 ...
Logged

Neal ManBear
Administrator
Super Villain
*****
Online Online

Posts: 15188


LXDE! Coffee, Bacon and Cheesecake!


« Reply #6 on: January 26, 2012, 03:49:47 PM »

Instead of a script, put a note on the desktop explaining how to install games. Also, you should tell them that updating should be done at least weekly and before installing any new software. To have the note show up on a new user's desktop, put a copy of it in /etc/skel/Desktop.     
Logged

Hootiegibbon
Hero Member
*****
Offline Offline

Posts: 4207

Registered Linux User #421404


« Reply #7 on: January 26, 2012, 03:59:46 PM »

JoeSomebody,

Have a good search on the forum (I mean a good search) there is a post that sets out a script that will install a list of applications from the repo.

Considering past questions and answers both here and in IRC, I would have thought you would know whats expected ...

Jase
Logged

** FORUM SEARCH **

I am Hootiegibbon, undisputed champion fo the typo

My .dotfiles
JoeSomebody
Jr. Member
**
Offline Offline

Posts: 25


« Reply #8 on: January 26, 2012, 05:29:07 PM »

Lots of great advice, thanks all. Also the note is a great idea, you got me thinking about making some screen captured tutorials. This started out because I am copy pasting names in synaptic over and over. I tried making a list to import, didn't work, probably me noobin' again. Mylivecd seemed better anyway, as it can include updates. I would like to see mylivecd able to do a bigger iso because I didn't know about the limit when I spent a lot of time playing with apps and games, choosing a nice list. No regrets, it's a nice list, and an ongoing project. For now I'll leave games out, and give them my games list and a tutorial, if they want. PCLinuxOS rules! (Why doesn't it have more users, bests me)

Logged
AS
Global Moderator
Hero Member
*****
Offline Offline

Posts: 4111

Have a nice ... night!


« Reply #9 on: January 26, 2012, 05:54:04 PM »

Lots of great advice, thanks all. Also the note is a great idea, you got me thinking about making some screen captured tutorials. This started out because I am copy pasting names in synaptic over and over. I tried making a list to import, didn't work, probably me noobin' again. Mylivecd seemed better anyway, as it can include updates. I would like to see mylivecd able to do a bigger iso because I didn't know about the limit when I spent a lot of time playing with apps and games, choosing a nice list. No regrets, it's a nice list, and an ongoing project. For now I'll leave games out, and give them my games list and a tutorial, if they want. PCLinuxOS rules! (Why doesn't it have more users, bests me)


mylivecd actually is able to build livecd.sqfs larger than 4GB, but not ISO files larger than 4 GB.
You can overcome the 4GB limit by using large enough USB sticks and PCLinuxOS-LiveUSB.

see mylivecd options --noclean and --workdir

AS
Logged
Just18
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 4610


MLUs Forever!


« Reply #10 on: January 26, 2012, 06:49:46 PM »

Lots of great advice, thanks all. Also the note is a great idea, you got me thinking about making some screen captured tutorials. This started out because I am copy pasting names in synaptic over and over. I tried making a list to import, didn't work, probably me noobin' again. Mylivecd seemed better anyway, as it can include updates. I would like to see mylivecd able to do a bigger iso because I didn't know about the limit when I spent a lot of time playing with apps and games, choosing a nice list. No regrets, it's a nice list, and an ongoing project. For now I'll leave games out, and give them my games list and a tutorial, if they want. PCLinuxOS rules! (Why doesn't it have more users, bests me)



The limit is imposed by the ISO spec.
The max file size allowed within an ISO is ~4GB.

As  AS  posted, you can create a remaster bigger than 4GB ....  but you just cannot get it into an ISO.

During tests I created one of approx 11.5GB .......

Logged

MLUs rule the roost!

Linux XPS 3.2.17-pclos1.pae.bfs  32 bit
Intel(R) Core(TM)2 Quad  CPU   Q9450  @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech ‎DVB-T 2 USB DTT
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM