|
61.
|
|
|
Install/uninstall <emphasis>.deb</emphasis> files
|
|
|
|
安装/卸载<emphasis>.deb</emphasis>文件
|
|
Translated and reviewed by
TaoFei
|
|
|
|
Located in
add-applications/C/add-applications.xml:135(title)
|
|
62.
|
|
|
These files are <emphasis>Debian packages</emphasis>. The package files associated with Ubuntu have the <emphasis>.deb</emphasis> suffix because of Xubuntu's close relations with the Debian GNU/Linux distribution. You will need administrative privileges to install a <emphasis>.deb</emphasis> file. See <link linkend="root-and-sudo">Administrative Tasks</link> for more details.
|
|
|
|
这些文件是<emphasis>Debian包</emphasis>。由于Xubuntu与Debian GNU/Linux发行版的紧密关系,这些与Ubuntu关联的软件包文件有个后缀<emphasis>.deb</emphasis>。你需要管理员权限来安装<emphasis>.deb</emphasis>文件。查阅<link linkend="root-and-sudo">管理任务</link>以获得更多细节。
|
|
Translated and reviewed by
1+1=2
|
|
|
|
Located in
add-applications/C/add-applications.xml:136(para)
|
|
63.
|
|
|
To install a <emphasis>.deb</emphasis> file, double-click on it. If you prefer using the Terminal, enter: <screen>sudo dpkg -i package_file.deb</screen>
|
|
|
|
要安装<emphasis>.deb</emphasis>文件,请双击该文件。如果你更愿意使用终端,那么请输入<screen>sudo dpkg -i package_file.deb</screen>
|
|
Translated and reviewed by
TaoFei
|
|
|
|
Located in
add-applications/C/add-applications.xml:138(para)
|
|
64.
|
|
|
To uninstall a <emphasis>.deb</emphasis> file, deselect it in your package manager. Or from a Terminal, enter: <screen>sudo dpkg -r package_name</screen>
|
|
|
|
要卸载<emphasis>.deb</emphasis>文件,请在你的软件包管理器里对其进行取消选择。或者使用终端,输入<screen>sudo dpkg -r package_name</screen>
|
|
Translated and reviewed by
TaoFei
|
|
|
|
Located in
add-applications/C/add-applications.xml:141(para)
|
|
65.
|
|
|
Convert <emphasis>.rpm</emphasis> files to <emphasis>.deb</emphasis> files
|
|
|
|
把<emphasis>.rpm</emphasis>文件转换为<emphasis>.deb</emphasis>文件
|
|
Translated and reviewed by
TaoFei
|
|
|
|
Located in
add-applications/C/add-applications.xml:146(title)
|
|
66.
|
|
|
Another type of package files is <emphasis>Red Hat Package Manager</emphasis> files which have the <emphasis>.rpm</emphasis> suffix. It is not recommended to install these on an Ubuntu system. In almost all cases, a native Xubuntu <emphasis>.deb</emphasis> package is available. However, if absolutely necessary, an <emphasis>.rpm</emphasis> file can be converted to a <emphasis>.deb</emphasis> package using the program <application>alien</application>. The resulting <emphasis>.deb</emphasis> file will be installed using dpkg as indicated above.
|
|
|
|
另外一种软件包文件是<emphasis>Red Hat Package Manager</emphasis>,后缀名是<emphasis>.rpm</emphasis>。不推荐在Ubuntu系统中安装这种文件。大多数情况下<emphasis>.deb</emphasis>包都是可用的。但是,如果绝对需要,使用程序<application>alien</application>可以将<emphasis>.rpm</emphasis>文件可以转换成<emphasis>.deb</emphasis>包。产生的<emphasis>.deb</emphasis>文件可以使用前面指出的dpkg安装。
|
|
Translated and reviewed by
1+1=2
|
|
|
|
Located in
add-applications/C/add-applications.xml:147(para)
|
|
67.
|
|
|
Install the <application>alien</application> package.
|
|
|
|
安装<application>alien</application>软件包。
|
|
Translated and reviewed by
TaoFei
|
|
|
|
Located in
add-applications/C/add-applications.xml:151(para)
|
|
68.
|
|
|
In a Terminal, enter: <screen>sudo alien <emphasis>package_file.rpm</emphasis></screen>
|
|
|
|
在终端里,输入<screen>sudo alien <emphasis>package_file.rpm</emphasis></screen>
|
|
Translated and reviewed by
TaoFei
|
|
|
|
Located in
add-applications/C/add-applications.xml:154(para)
|
|
69.
|
|
|
Install <emphasis>tarballs</emphasis>
|
|
|
|
安装<emphasis>tarballs</emphasis>
|
|
Translated and reviewed by
TaoFei
|
|
|
|
Located in
add-applications/C/add-applications.xml:162(title)
|
|
70.
|
|
|
Files with the <emphasis>.tar</emphasis>, <emphasis>.tgz</emphasis>, <emphasis>.tar.gz</emphasis> or <emphasis>.tar.bz2</emphasis> suffix are package files known as <emphasis>tarballs</emphasis> which are widely used in Linux and Unix.
|
|
|
|
以 <emphasis>.tar</emphasis>、<emphasis>.tgz</emphasis>、<emphasis>.tar.gz</emphasis> 或是 <emphasis>.tar.bz2</emphasis> 为后缀的文件是被称作 <emphasis>tarball</emphasis> 的软件包文件,它们在 Linux 和 Unix 中被广泛使用。
|
|
Translated and reviewed by
1+1=2
|
|
|
|
Located in
add-applications/C/add-applications.xml:163(para)
|