How to install local .deb packages

如何安装本地的.deb包

usually I do dpkg -i <deb file>, it‘ll fail saying it needs dependencies.

After that when you do an apt-get update it‘ll say at the end something like "dependencies are ready to install" I think it then advises to use apt-get install -f.

Once that‘s done, I use dpkg -i again.

Worked fine for me last few years.

edit: looking a bit further, apparently a tool called gdebi can do this as gdebi [deb file]

参考:

https://superuser.com/questions/196864/how-to-install-local-deb-packages-with-apt-get

时间: 2024-08-29 18:50:55

How to install local .deb packages的相关文章

本地安装gem install --local redis-stat-0.4.13.gem

因为主机环境不能联外网,悲哀,所以只能想办法下载包,上传到主机来安装 环境:el6.x86_64 1. gem 安装[http://centos.ustc.edu.cn/centos/6/os/x86_64/Packages/] Ruby 1.9.2版本默认已安装Ruby Gem,如果你的版本低于这个?那就往下看吧安装gem 需要ruby的版本在 1.8.7 以上 # rpm -qa |grep rubyrubygems-1.3.7-5.el6.noarchruby-1.8.7.374-4.el

Unmet dependencies. Try &#39;apt-get -f install&#39; with no packages

在ubuntu14.04上用sudo apt-get install percona-xtrabackup安装xtrabackup时提示 [email protected]:~$ sudo apt-get install percona-xtrabackup [sudo] password for zhj: Reading package lists... Done Building dependency tree Reading state information... Done You mi

安装pip3遇到:E: Unmet dependencies. Try &#39;apt-get -f install&#39; with no packages (or specify a solution).

安装pip3遇到:E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). 具体如下: 尝试了:sudo apt-get -f install 不行,最后试了一下,发现安装所有软件都会出现这个问题. 解决方法:sudo apt-get --fix-broken install安装之后就可以安装其他软件了. 安装pip3遇到:E: Unmet dependencies. Try

[MODx] 2. Install some useful packages into ur MODx

1. The package we might need: 2. Install the package: Select Installer Download Extras Install the package you need 3. Check the result: For exmaple: Ace, if you install it, the template Editor won't be plain text anymore. It is more developer-friend

Install Local SQL In Mac OS

extends:http://www.cnblogs.com/maxinliang/p/3583702.html 一.安装 到MySQL官网上http://dev.mysql.com/downloads/mysql/,下载mysql可安装dmg版本 比如:Mac OS X ver. 10.7 (x86, 64-bit), DMG Archive 下载完的文件为:mysql-5.6.10-osx10.7-x86_64.dmg 1.点击,安装包里的 2.点击安装 安装好后,会谈出一个默认密码的对话况

[Ubuntu] Install teamviewer9 on Ubuntu14.04_x64

The article copied from http://ubuntuhandbook.org/index.php/2013/12/install-teamviewer-ubuntu-1404/ TeamViewer 9 Stable now is available. It features multiple connections in tabs, wake-on-lan, two step authentication, shared clipboard and more. This

Installing teamviewer 9 on 64-bit Ubuntu 13.10 (转载)

While trying to install Teamviewer 9 on 64-bit Ubuntu 13.10, you’ll get a dependencies error such as this: Unpacking teamviewer (from teamviewer_linux_x64.deb) ... dpkg: dependency problems prevent configuration of teamviewer:  teamviewer depends on

run kubernetes

use kubeadm in lab only,,, do not use it in production install docker 1.12.6 -.. please noted not install the lasted version. wget https://apt.dockerproject.org/repo/pool/main/d/docker-engine/docker-engine_1.12.6-0~ubuntu-xenial_amd64.deb get lasted

How to compile and install Snort from source code on Ubuntu

http://www.tuicool.com/articles/v6j2Ab Snort is by far the most popular open-source network intrusion detection and prevention system (IDS/IPS) for Linux. Snort can conduct detailed traffic analysis, including protocol analysis, packet content search