LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1140|回复: 4

如何在SLACKWARE中使用DEBIAN的deb文件?

[复制链接]
发表于 2004-7-29 21:29:56 | 显示全部楼层 |阅读模式
如题
发表于 2004-7-30 00:47:01 | 显示全部楼层
ar xvf whatever.deb
to extract the 'data.tar.gz' file, which contains the contents of the
package.  You're on your own when it comes to dependancies, though, of course.
发表于 2004-7-30 08:14:42 | 显示全部楼层
用alien
发表于 2004-7-30 10:02:44 | 显示全部楼层
dreamrise,你有没有debian啊?有的华apt安装一下alien,然后用以下命令转换:

alien --to-tgz ****.deb

没有的话我回家做好alien的tgz包放出来。
 楼主| 发表于 2004-7-30 16:35:57 | 显示全部楼层
在这里已经找到了:
http://voxel.dl.sourceforge.net/ ... n/alien_6.55.tar.gz

下载下来不用编译,直接make install即可
使用方法:

  1. root@slackbox:~# alien
  2. Usage: alien [options ...] file [...]
  3.   file [...]                Package file or files to convert.
  4.   -d, --to-deb              Generate a Debian deb package. (default)
  5.      Enables the following options:
  6.        --patch=<patch>      Specify patch file to use instead of automatically
  7.                             looking for patch in /var/lib/alien.
  8.        --nopatch            Do not use patches.
  9.   -r, --to-rpm              Generate a RedHat rpm package.
  10.   -t, --to-tgz              Generate a Slackware tgz package.
  11.       --to-slp              Generate a Stampede .slp package.
  12.   -i, --install             Install generated package.
  13.   -g, --generate            Unpack, but do not generate a new package.
  14.   -s, --single              Like --generate, but do not create .orig directory.
  15.   -c, --scripts             Include scripts in package.
  16.   -k, --keep-version        Do not change version of generated package.
  17.       --description=<desc>  Specify package description.
  18.   -h, --help                Display this help message.
  19.   -v, --version             Display alien's version number.

  20. alien: You must specify a file to convert.
复制代码
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表