安装仓库在哪里狗?
要在 Ubuntu 上获取命令,您只需打开终端并输入:
sudo apt-get 安装 dog
安装后,您可以检索有关狗的所有所需信息......
我得到:
thufir@doge:~$
thufir@doge:~$ sudo apt-get install dog
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package dog
thufir@doge:~$
thufir@doge:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04 LTS"
thufir@doge:~$
仅仅因为它是反派就cat
让它变得有趣。
我的仓库:
thufir@doge:~$
thufir@doge:~$ cat /etc/apt/sources.list
# deb cdrom:[Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1)]/ xenial main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu xenial main restricted
# deb-src http://ca.archive.ubuntu.com/ubuntu/ xenial main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu xenial-updates main restricted
# deb-src http://ca.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://archive.ubuntu.com/ubuntu xenial universe
# deb-src http://ca.archive.ubuntu.com/ubuntu/ xenial universe
deb http://archive.ubuntu.com/ubuntu xenial-updates universe
# deb-src http://ca.archive.ubuntu.com/ubuntu/ xenial-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://archive.ubuntu.com/ubuntu xenial multiverse
# deb-src http://ca.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://archive.ubuntu.com/ubuntu xenial-updates multiverse
# deb-src http://ca.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
# deb-src http://ca.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu xenial partner
# deb-src http://archive.canonical.com/ubuntu xenial partner
deb http://archive.ubuntu.com/ubuntu xenial-security main restricted
# deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://archive.ubuntu.com/ubuntu xenial-security universe
# deb-src http://security.ubuntu.com/ubuntu xenial-security universe
deb http://archive.ubuntu.com/ubuntu xenial-security multiverse
# deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse
deb http://ag-projects.com/ubuntu xenial main
deb-src http://ag-projects.com/ubuntu xenial main
thufir@doge:~$
thufir@doge:~$ ls cat /etc/apt/sources.list.d/
ls: cannot access 'cat': No such file or directory
/etc/apt/sources.list.d/:
google-cloud-sdk.list ring-nightly-man.list webupd8team-ubuntu-java-xenial.list.save
jitsi.list webupd8team-ubuntu-java-xenial.list
thufir@doge:~$
答案1
搜索了一段时间后,我找到了启动板页面dog
:https://code.launchpad.net/ubuntu/+source/dog 问题是它只适用于 trusty (14.04)、precise (12.04) 和 vim(15.04)。因此,您必须获取源代码并从中构建它:
http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/trusty/dog/trusty/files
如何从源代码构建它的说明位于源代码附带的 README 文件中