Salve:
Para os mais desavisados, o Slackware possui, sim, um sistema de
gerenciamento
de pacotes mais do que eficiente, que instala, remove, faz update, enfim,
tudo
o que � necess�rio.
Para os que gostam de algo mais bonitinho (acho que este � o problema dos
que
n�o gostam deste sistema), o kpackage no Slack 8 j� faz gerenciemento
deles
via interface gr�fica.
------------------------------- corta --------------------------------
installpkg
By typing installpkg [packagename].tgz you can install packages on your
system. There are a few command line options as well:
-warn
Generates a report of what would happen if you installed the package and
sends the report to standard out.
-m
Make the contents of the current directory and subdirectories into a
package with the name you specify.
-r
Install the contents of the current directory and subdirectories as a
package with the name you specify.
removepkg
In it's simplest form, removepkg will remove the package name you specify.
The general syntax is removepkg packagename. There are a few command line
options that you can specify:
-warn
Generates a report of what would happen if you removed the package and
sends the report to standard out. It does not remove the package.
-preserve
This option will reconstruct the package subtree under
/tmp/preserved_packages/packagename, where packagename is the name is you
specify.
-copy
Construct a copy of the package under tmp/preserved_packages/packagename,
but do not remove it (same effect as -warn -preserve).
-keep
Save the temporary files created by removepkg. Useful for debugging
purposes.
upgradepkg
Upgrades a currently installed package with the package specified. If the
packages have the same name, then you only need to run upgradepkg
packagename to perform the upgrade. If the new package has a different
name than the currently installed package, you must use this syntax:
upgradepkg oldpackagename%newpackagename
Do not add any extra whitespace between pairs of old/new package names.
makepkg
Creates a new Slackware compatible package. The program uses the contents
of the current directory to create the package. Be sure to take a look at
the manpage for makepkg for information about the embedded scripts that
you can put in a Slackware package.
explodepkg
Extracts the contents of a Slackware compatible package to the current
directory. It does not execute the embedded scripts in the package. This
utility is most useful for maintenance purposes (exploding a package,
updating it, then rebuilding with makepkg).
rpm2targz
Converts an RPM (RedHat Package Manager) to a Slackware-compatible
package. In case you ever run across the need to obtain something that is
only in RPM format, this program may come in handy. The syntax is:
rpm2targz [filename].rpm
NOTE: Running rpm2targz will create a .tar.gz file, while running rpm2tgz
will create a .tgz file. The files are exactly the same, the only
difference is the extension format (some people prefer one over the
other).
------------------------------- corta --------------------------------
Puxa, perguntar�o os mais incautos, eu posso at� transformar pacotes .rpm
em pacotes .tgz ou mesmo em .tar.gz e instal�-los no slackware!
Eu respondo: sim!
O que mais eu preciso num sistema de gerenciamento de pacotes?
Some-se isso aos aplicativos installwatch e checkinstall, e vc ter� uma
maneira r�pida e eficiente de criar pacotes slack para qualquer
aplicativo.
[]'s
--------------------------------------------------------
Joao Alexandre Voss de Oliveira - [EMAIL PROTECTED]
Registered Linux User # 147244 - Linux Machine # 63929
Powered by Slackware Linux 8 - Kernel 2.2.19
ICENTRO - Solu��es para Internet - www.icentro.com.br
--------------------------------------------------------
Assinantes em 25/07/2001: 2249
Mensagens recebidas desde 07/01/1999: 124794
Historico e [des]cadastramento: http://linux-br.conectiva.com.br
Assuntos administrativos e problemas com a lista:
mailto:[EMAIL PROTECTED]
(linux-br) Gerenciamento de Pacotes no Slackware
Jo�o Alexandre Voss de Oliveira Wed, 25 Jul 2001 18:52:15 -0700
