制作deb包的三种方法
制作deb包有三种方法,一种是将现有的文件打包,安装该包就像将打包的文件释放到某个目录;第二种是用deb源码打包; 第三种是用makefile源码打包,安装这种包就相当于用源码编译安装软件。
1. 第一种方法—–将现有的文件打包:
比如你要打包你当前debian系统的/usr/src/soft目录,然后在另一个debian系统上安装 继续阅读 »
制作deb包有三种方法,一种是将现有的文件打包,安装该包就像将打包的文件释放到某个目录;第二种是用deb源码打包; 第三种是用makefile源码打包,安装这种包就相当于用源码编译安装软件。
1. 第一种方法—–将现有的文件打包:
比如你要打包你当前debian系统的/usr/src/soft目录,然后在另一个debian系统上安装 继续阅读 »
Debian系Linux不推荐使用rpm安装rpm档,需要将其转为deb档,通过dpkg安装。但是在Ubuntu Server中,将rpm转为deb的工具alien默认是不安装的,我们需要手工安装他,安装工具为apt。
首先将apt的“源”列表/etc/apt/sources.list复制一个副本备份,然后把原来的“源”列表清空。
挂载Ubuntu Server的CD1。 继续阅读 »
dpkg是一个Debian的一个命令行工具,它可以用来安装、删除、构建和管理Debian的软件包。
下面是它的一些命令解释:
1)安装软件
命令行:
dpkg -i < .deb file name>
示例:
dpkg -i avg71flm_r28-1_i386.deb 继续阅读 »
If you want to create a system that is similar to a different system you have already set up, it can be difficult to remember each and every package you had installed.This method works best when you are exporting to and importing from the same distribution and, specifically, the same releasefor example, exporting from Ubuntu Dapper to Ubuntu Dapper or ubuntu edgy to ubuntu edgy. 继续阅读 »