继续尝试更新Ubuntu12.04,但它一直告诉我,我的包系统坏了。我运行apt-获取-f安装并获得以下信息:
owner@MyLaptop:~$ sudo apt-get -f install
[sudo] password for owner:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically
hasni@hasni:~/Downloads/android-sdk-linux$ sudo apt-get install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
我对Linux完全陌生,因为我需要的一些生物信息学研究程序要么只在linux上工作,要么很容易在linux上操作。
目前正在尝试安装一个名为Mothur的程序。下面是用于linux/unix https://www.mothur.org/wiki/Installation的安装管道:
( 1)下载程序2)通过以下步骤:
mkdir mothur
cd mothur
unzip ../Mothur.source.zip
make
我所犯的错误是:
make: *** No targets specified and no makefile found. Stop.
我不知道这意味着什么。
在本
当我尝试安装一些应用程序时,我会收到一条信息:
linux-headers-generic-lts-quantal : Depend: linux-headers-3.5.0-32-generic but it is not installable
不名-a
Linux ubuntus 3.5.0-27-generic #46~precise1-Ubuntu SMP Tue Mar 26 19:33:56 UTC 2013 i686 i686 i386 GNU/Linux
dpkg -l \ grep linux-映像
ii linux-image-3.5.0-23-generic
我想在我的机器上卸载tmux。我的tmux版本是:
tmux next-3.4
which tmux给了我:
/usr/local/bin/tmux
我试着用sudo yum remove tmux卸载它,我得到:
Updating Subscription Management repositories.
No match for argument: tmux
No packages marked for removal.
Dependencies resolved.
Nothing to do.
Complete!
我的机器信息如下:
NAME="Red Hat Enterpris
错误:
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
大家好,每当我试图安装某件东西时,我都会收到上面的错误。我在Linux上还是新手,所以我真的不知道发生了什么。我实际上是想安装git。
我需要在shell脚本中使用echo和grep。我能用吗?
我试过了,但不正确:
echo Linux: grep "Linux" ~/workspace/ep-exercicios/m1/e2/intro-linux.html | wc -w
我需要显示消息:
Linux: (number of Linux word on the document).
示例:
Linux: 945