我是 Ubuntu 的新手,我正在尝试在 Ubuntu 中安装 Apache ANT
我下载了包 (apache-ant-1.9.4-bin.tar.gz) 并在终端中给出了这样的命令
sudo apt-get install apache-ant-1.9.4-bin.tar.gz
Run Code Online (Sandbox Code Playgroud)
我收到了这两个错误
E: Unable to locate package apache-ant-1.9.4-bin.tar.gz
E: Couldn't find any package by regex 'apache-ant-1.9.4-bin.tar.gz'
Run Code Online (Sandbox Code Playgroud)
如果我使用
/etc/apt/sources.list
1 deb-src http://ppa.launchpad.net/klaus-vormweg/bluefish/ubuntu trusty main$
2 sudo apt-get install python-software-properties$
3 # deb cdrom:[Ubuntu 14.04 LTS _Trusty Tahr_ - Release amd64 (20140417)]/ trusty main restricted$
4 $
5 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to$
6 # newer versions of the distribution.$
7 $
8 ## Major bug …Run Code Online (Sandbox Code Playgroud)