Mini QUE-FAIRE du linux système Puppy
Qu'est ce que PupGet?
- PupGet est le système de paquetage officiel pour l'installation de logiciels en linux système Puppy.<br>
- Puppy offre en option de créer son propre CD "live", avec seulement les applications que l'on veut vraiment. Le CD "live" système Puppy est créé d'une collection of paquets∞ et d'un script de construction, appelés collectivement Puppy Unleashed. Le Puppy standard (puppy-X.X.X-mozilla.iso, dont X.X.X précise la version) n'inclut pas tous les paquets 3XX. Qu'advient-il de ces paquets laissés de côté? Et bien ces applications officielles de Puppy peuvent être adjointes sans créer son propre CD en se servant du PupGet package manager
- Un autre moyen d'ajouter des applications est de se servir du système d'installation DotPup. Ces logiciels ne sont alors pas de Puppy Unleashed.
Que faire pour installer ou désinstaller un paquet PupGet
Pour installer un paquet:
- Actionner "Start" -> Setup -> PupGet package manager
- A l'apparition de la "fenêtre diablotin", choisir "Install or remove pkgs" (installation ou désinstallation de paquet), puis vous verrez une fenêtre à 2 volets∞
- Le volet gauche présente une liste des paquets à installer. Ceux de gauche forment actuellement une collection de 319 paquets (paquets de Unleashed n'ayant jamais été intégrés dans le CD "live", c. à d. n'étant pas dans le fichier mère usr_cram.fs∞
- Frôler avec le curseur de la souris au dessus d'un pacquet pour accéder à des informations complémentaires (sa "category" ou son "group" et sa taille)
- Cliquer sur le paquet pour le marquer > cliquer sur la touche "Add" > le paquet marqué change de volet et est ensuite sur le volet droit > cliquer sur "OK" > le paquet est téléchargé puis installé.
Désinstaller un paquet précédemment chargé:
- Tous les paquets précédemment installés sont enregistrés sur le volet droit
- Marquer le paquet inutile -> cliquer sur "Remove" -> le paquet passe sur le volet gauche -> cliquer sur "OK" pour désinstaller.
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.
- 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
-
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
Bases:
-
Introduction
-
Installation
-
Arts de démarrer Puppy
-
Premiers pas (fr)
Logiciel:
-
Gestionnaire de fenêtre
-
Rox Filer gestionnaire de fichiers
-
Pget (fr)
-
Dotpup (fr)
Matériel:
-
Vidéo
-
Audio
-
Enregistrement audio
-
Réseau
-
Claviers et analogues
-
Divers
Classiques:
-
Jeux
-
Cours de linux
-
Autres
CategoryLocalizationFR
Liens:
-
Puppy
-
Autres
Divers:
-
Divers
Contribuer dans le wiki:
-
Informations préalables∞
IMPORTANT SI VOUS RENCONTREZ DES DIFFICULTÉES:
Veuillez contacter le
forum∞ et utiliser l'excellent moteur de rechercher "search" qui y est intégré ou lire (en anglais) dans les dernières
nouvelles∞ s'il s'agit peut-être d'un problème général; sinon, proposez nous de contribuer à vous aider en posant vos questions dans le forum au point précédemment indiqué!
Autres Langues:
-
Deutsch
-
English
-
Français
CategoryDocumentation
Categories
CategoryLocalizationFR
There are no comments on this page. [Add comment]