无法在 Ubuntu 14.04 中找到软件包 lesstif2

无法在 Ubuntu 14.04 中找到软件包 lesstif2
E: Unable to locate package lesstif2

在 Ubuntu 14.04 中出现此错误

答案1

最新的 Ubuntu 版本lesstif2是 Precise Pangolin (12.04)。您可以安装该软件包:

wget -P ~ http://mirrors.kernel.org/ubuntu/pool/universe/l/lesstif2/lesstif2_0.95.2-1_amd64.deb
sudo dpkg -i ~/lesstif2_0.95.2-1_amd64.deb

查找lesstif适合您系统的软件包

apt-cache search lesstif | awk '$1~/lesstif/ {print}'

答案2

有时,当软件包前面带有类似 lib 的内容时,就会发生这种情况:

$ apt-cache search less | grep 'lesstif'
libpacklib-lesstif1-dev - CERNLIB data analysis suite - core GUI library (development files)
libpacklib-lesstif1-gfortran - CERNLIB data analysis suite - core GUI library
libpawlib-lesstif3-dev - CERNLIB PAW library (Lesstif-dependent part - development files)
libpawlib-lesstif3-gfortran - CERNLIB PAW library (Lesstif-dependent part)
pcb-lesstif - printed circuit board (pcb) design program - LessTif interface
vim-lesstif - Vi IMproved - enhanced vi editor (transitional package)

相关内容