我试着安装midori网络浏览器,但这会出现
sudo apt-get install midori
Reading package lists... Done
Building dependency tree
Reading state information... Done
midori is already the newest version (0.5.11-ds1-2).
The following packages were automatically installed and are no longer required:
libllvm3.8:i386 li
在中
我学会了使用Termux中的、apt和pkg来安装和管理软件包。
-$ apt install tree
-$ apt remove tree
-$ pkg install tree
-$ pkg uninstall tree
-$ pkg install mariadb
-$ dpkg, apt-get, etc...
Everything worked fine
在终端中
所以,我只是在Pydroid3终端上尝试了同样的方法。
/storage/emulated/0 $ apt install tree
sh: apt: not found
/storage/emu
我试图跟随http://ergoemacs.org/emacs/building_埃马克斯_在……上面_linux.html安装Linux上的http://ftp.gnu.org/gnu/emacs/最新发布的emacs (24.5)版本(已安装了24.3 )。
执行我得到的第二步sudo apt-get build-dep emacs24:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to find a source pack
几乎我试图通过包管理器安装的任何东西都会得到以下内容:
root@opsview-appliance:/etc/apt/sources.list.d# apt-get install make
Reading package lists... Done
Building dependency tree
Reading state information... Done
make is already the newest version.
You might want to run 'apt-get -f install' to correct th
所需的软件包已安装了最新版本:
sudo apt install libiptc0 libxtables12
Reading package lists... Done
Building dependency tree
Reading state information... Done
libiptc0 is already the newest version (1.8.5-3~bpo10+1).
libxtables12 is already the newest version (1.8.5-3~bpo10+1).
0 upgraded, 0 newly install
如何在linux终端上执行前一条命令的最后输出行?
例如:
$ tree
The 'tree' is currently not installed. You can install it by running:
sudo apt-get install tree
我想复制以执行sudo apt-get安装树
在运行apt upgrade时,我会得到与运行apt-get upgrade不同的要安装的“新包”列表。
我阅读了一些关于apt upgrade和apt-get upgrade之间的区别的比较,但是所有的文章都描述它们来做同样的事情。
下面是我在运行apt upgrade时所得到的信息:
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
linux-headers
我正在尝试安装4.13.0-26的内核头,但它们似乎是不可用的(需要它们安装VMware工作14)。
$ uname -r
4.13.0-26-generic
$ sudo apt-get install linux-headers-4.13.0-26-generic
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package linux-headers-4.13.0-26-generic is not available, but is r
我想用perf/flame图分析部署在k8s集群上的服务,但无法将其安装在pod中。我的程序是用C++写的,所以不合适的是不能用插件kubectl flame进行分析。 root@mypod:/app# perf
WARNING: perf not found for kernel 5.4.0-1044
You may need to install the following packages for this specific kernel:
linux-tools-5.4.0-1044-gke
linux-cloud-tools-5.4.0-1044-gke
我使用的是Ubuntu20.04LTS,我无法从apt或apt-get安装软件包。每当我试图安装一个包时,该进程都会以以下错误终止
E: The package linux-headers-5.4.0-56 needs to be reinstalled, but I can't find an archive for it.
我尝试为我的内核手动安装它,但是它总是再次抛出相同的错误。
$ sudo apt install linux-header-$(uname -r)
Reading package lists... Done
Building dependency tree
📷
当我试图安装软件(比如在Linux /Eclipse上)时,软件中心说Available from multiverse source和只有一个按钮Use this Source。同时,我可以删除我之前安装的软件。我试过通过Terminal,但上面说
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package`
我试过这个答案,但是没有明显的变化。以上结果在软件中心重复和不安装按钮
我正在尝试使用docker,但仍然停留在安装过程(基于码头安装页面)上,如下所示:
sudo apt-get install linux-image-extra-$(uname -r)
它给了我错误:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-image-extra-4.4.1-040401-generic
E: Couldn't find any package by
我正在努力解决东芝C55-C-184笔记本电脑上的无线连接问题。我问过这个问题,这里。
看起来问题就在于英特尔公司的无线3160网络控制器。我发现有几篇文章建议确保安装最新版本的linux固件和linux固件非免费版本。
当我安装linux固件时,我得到
sudo apt-get install linux-firmware
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-firmware is already the newest ver
我知道"perf“工具需要与特定linux内核版本相对应的安装。我知道所有的docker映像都运行在相同的linux内核版本中,而不管linux发行版。
我在坞内使用ubuntu16.04,并且已经安装了linux工具-常见的,start perf告诉我,我仍然缺少一些软件包:‘
# perf
/usr/bin/perf: line 32: lsb_release: command not found
WARNING: perf not found for kernel 4.9.12
You may need to install the following packages f
首先,我对Linux很陌生。现在,我尝试过安装一个名为Clementine的音乐播放器(在Kali Linux2.0 x64上),但它还没有安装(是否正确?)安装(因为我可以在应用程序列表中看到它的图标)。现在,每当我试图更新/升级源列表时,都会根据Clementine的错误安装得到以下错误:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... failed.
The following package
我曾尝试在Ubuntu(15.10)中安装php fileinfo扩展,但遇到错误:
sudo pecl install fileinfo
错误:
WARNING: "pear/Fileinfo" is deprecated in favor of "channel://php-src/ext/fileinfo/in php sources"
WARNING: channel "pear.php.net" has updated its protocols, use "pecl channel-update pear.php.net
最近,我们使用apt-get安装来安装“任何东西”,我得到以下内容:
amr@Ubuntu-Latitude-E6410:~$ sudo apt-get install printer-
driver-cups-pdf
[sudo] password for amr:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these
我试图在Ubuntu上安装gcc-4.7-multilib-arm-linux-gnueabihf,但得到了以下错误:
Reading package lists… Done Building dependency tree Reading state
information… Done E: Unable to locate package
gcc-4.7-multilib-arm-linux-gnueabihf E: Couldn’t find any package by
glob ‘gcc-4.7-multilib-arm-linux-gnueabihf’ E: Couldn’t fi
我想在Ubuntu20.04上安装内核Linux5.18.8的Linux,但是当我运行命令sudo apt-get install linux-headers-$(uname -r)时会出现一个错误:
Building dependency tree
Reading state information... Done
Package linux-headers-5.18.8-051808-generic is not available, but is referred to by another package.
This may mean that the package i
我正在我的ubuntu机器上安装Virtualbox 5.0
Linux federico 4.4.0-24-generic #43-Ubuntu SMP Wed Jun 8 19:27:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
当我运行apt- install时,我会收到以下错误:
root@federico:~# apt-get install virtualbox-5.0
Reading package lists... Done
Building dependency tree
Reading state information
问:我今天早上想在我的服务器上做dist升级.
我得到的是:
apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
linux-image-extra-3.5.0-32-generi
我正在尝试安装glibc-2.12.2,因为Haskell-stack特别需要2.12版本。
ldd --version
ldd (GNU libc) 2.26
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Ro
当我打字时:
sudo apt install kde-cli-tools
我得到:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some requi
我正在使用Windows10上的IPython来训练和绘制决策树。我知道下面的代码可以在linux上运行一段时间。我安装了pydot,也安装了graphviz (正确指定了路径)。
# Train and draw out a decision tree
from IPython import display
from sklearn import datasets, tree, utils
from sklearn.externals.six import StringIO
import pydot
# Train a small decision tree on the iris