Last Edited: 01 May 2008 by superuser
Importered from old WiKi -- 30/04-08 17:04.
Contents
Mini WIE-TUN des Puppy-Linux-Systems
         
         Installation eines Pakets:
         To uninstall an installed package:
         Notes on installing 'local'
         

PupGet - Was ist das?

  • PupGet est das offizielle Paketverwaltungssystem zur Installation von Zusatzsoftware unter Puppy-Linux.<br>
  • Puppy in Option die Möglichkeit an, seine eigene "live"-CD mit nur den Anwendungen aufzunehmen, die man wirklich benützt. Das Puppy-"live"-CD-System wird ab einer Pakettensammlung∞ und einem Skript gebildet, die zusammen Puppy Unleashed genannt werden. Der Puppy-Standard (puppy-X.X.X-mozilla.iso, davon X.X.X zur Kenntzeichnung der version) schliesst nicht alle 3XX-Pakete ein. Was geschieht mit den anderen Paketen? Man kann selbst mit Hilfe des PupGet package managers hinzufügen, ohne seine eigene Disc dafür erstellen zu müssen
  • Eine andere Möglichkeit, Anwendungen hinzuzufügen, ist die Benützung des Installationssystem DotPup. Diese Pakete sind nicht Bestandteil von Puppy Unleashed.

Vorgehensweise zur (Des-)Installation eines PupGet-Pakets

Installation eines Pakets:

  • Go to Start -> Setup -> PupGet package manager
  • When a window pops up, choose "Installor remove pkgs", then you'll see a two-pane window
  • Left pane shows a list of packages to install. They're "left overs" of that 319 package collection (packages from Unleashed that never made it into the live-CD, that is, are not in usr_cram.fs
  • When a window pops up, choose "Install or remove pkgs", then you'll see a usr_cram.fs
  • Hover mouse pointer over a package for extra information ("category" or "group" of it and how big it is)
  • Click on a package to highlight it > click on the "Add" button > highlighted package moves to the right pane > click "OK" > the package will be downloaded and installed.

To uninstall an installed package:

  • Any packages that you have previously installed will already be in the right pane
  • Highlight it >; click "Remove" >; it will move to the left side >; click "OK" to uninstall..

Notes on installing 'local' PupGet files

You can use PupGet package manager to get the files but they can also be downloaded from here∞ with any web browser or FTP program (alternative download site∞).

Steps:

  • Download the package to somewhere local (e.g, /root)
  • Open Pupget package manager, you should now see

the entry you added on the left pane. Click on the package to highlight
it -> click on the "Add" button -> highlighted package moves to
the right pane -> click "OK".

  • When asked where do you want to have the package downloaded, choose 'Local'. Then choose the location where your package is saved (e.g. /root). The installation will then begin.


You may need to create an entry in
/root/.packages/packages.txt if it's a newly published package that's
not listed in your PupGet package manager. E.g, add:

"abiword-2.2.7" "abiword-2.2.7: Wordprocessor" on "GTK2APPS 7960K" \
where 'abiword-2.2.7' should be the name of the file that you downloaded and '7960K' is the size of the file.

  How to register any arbitrary package with PupGet
Here is some basic concept about PupGet. To start go to the /root/.packages directory and then follow the steps below.

  1. Create an entry in "alienpackages.txt" for your package

    Eg, say that you installed a package called "Torsmo", that is a single executable that installs into /usr/local/bin. and maybe an icon into /usr/local/lib/X11/mini-icons/.
    You can put into "alienpackages.txt":
    "torsmo-1.0" "torsmo-1.O: system monitor utility" on "XLIBAPPS 56K" \
    Remember to add " \" on the end, that is, a space followed by a back-slash. You should also press the ENTER key on the end of the last line of the file, so that the cursor is on a new line, but do not put any blank lines.

    A script to do so:

    echo '"torsmo-1.0" "torsmo-1.O: system monitor utility" on "XLIBAPPS 56K" \' >> /root/.packages/alienpackages.txt

  2. Create a list of the installed files
    Here is what you would put into file "torsmo-1.0.files":
    /usr/local/bin/torsmo
    /usr/local/lib/X11/mini-icons/torsmo.xpm

    A script to do so:

    echo '/usr/local/bin/torsmo' > /root/.packages/torsmo-1.0.files
    echo '/usr/local/lib/X11/mini-icons/torsmo.xpm' >> /root/.packages/torsmo-1.0.files



Faster way to register a DotPup (provided by JonathanMarsden):

It is a good idea to have your dotpup.sh register your package with the PupGet package manager as an alien package. Doing this requires the script to do two things:

  • Generate a list of all files contained in your package, in /root/.packages/PACKAGENAME.files
  • Add a one line entry to the list of alien packages in /root/.packages/alienpackages.txt in the appropriate format

Fortunately, much of this can be done using an enhanced dotpup.sh template which generates the file list from the dotpup.tar.gz file, and adds the relevant line to alienpackages.txt. Here is an example:


#!/bin/sh
#
# Generic dotpup.sh file

PUPNAME="joe"
PUPVERSION="3.3"
PUPINFO="Joe's Own Editor $PUPVERSION: A Free ASCII-Text Screen Editor"
PUPGETINFO="CONSAPPS 1695K"

# Untar the tarball
tar -zx --no-same-owner -C / -f dotpup.tar.gz

# Register with PupGet as an alien package
tar ztf dotpup.tar.gz >/root/.packages/${PUPNAME}-${PUPVERSION}.files

echo "\"${PUPNAME}-${PUPVERSION}\" \"${PUPNAME}-${PUPVERSION}: ${PUPINFO}\" on \"${PUPGETINFO}\" \\" \
>>/root/.packages/alienpackages.txt

By editing just the four settings at the top of the file - PUPNAME, PUPVERSION, PUPINFO and PUPGETINFO - this dotpup.sh template will correctly register many packages.



To know more about PupGet and Puppy Unleashed, take a look at Barry's page here. To learn how to create a PupGet package, see How to create a PupGet package.

PuppianL


Grundlagen:
- Einleitung
- Installation
- Puppy starten, Wege (de)
- Erste Schritte (de)

Software:
- Windowverwalter
- Rox Filer Dateienverwalter
- Pget (de)
- DotPup (de)

Hartware:
- Video
- Audio
- Tonaufnahmen
- Netzwerk
- Eingabesysteme
- Sonstige

Klassiker:
- Spiele
- Linux-Schule
- Sonstige

Links:
- Puppy
- Sonstige

Mischthemen:
- Sonstige

Selbst im wiki schreiben:
- Erste Ratschläge

WICHTIG BEI SCHWIERIGKEITEN:

Nehmen Sie bitte mit dem Forum∞ Kontakt auf und benützen Sie zuerst die dort vorhandene, ausgezeichnete Such-Routine "search" oder lesen Sie (in Englisch) unter den Neuigkeiten∞ nach, ob wir womöglich ein allgemeines Problem haben; sonst bitten Sie mit einer Wortmeldung im Forum um Hilfe!



CategoryLocalizationDE


Andere Sprachen:

- Deutsch
- English
- Français



CategoryDocumentation

Categories



CategoryLocalizationDE