无法安装gnuplot
我尝试使用以下命令安装gnuplot: sudo apt-get install gnuplot
,我收到以下错误
Reading package lists... Done Building dependency tree Reading state information... Done E: Couldn't find package gnuplot
该怎么办?
打开Ubuntu软件中心,从菜单中单击编辑 – > 软件源 – > Ubuntu软件 ( 软件源窗口中的第一个选项卡),然后检查软件源列表中的第二个条目: 社区维护免费和打开-源软件(Universe)在条目左侧的复选框中有一个复选标记。 这将启用Universe存储库,您应该能够在任何当前支持的Ubuntu版本中安装gnuplot(从Ubuntu 12.04开始)。
对于Ubuntu 13.04及更高版本,除了通过选择Dash – > Software&Updates – > Ubuntu Software选项卡访问Ubuntu软件选项卡之外,其他说明相同。
查看此页面并按照说明将其中一个镜像添加到source.list
sudo gedit /etc/apt/sources.list
复制并粘贴镜像,然后重试
sudo apt-get update sudo apt-get install gnuplot