Tag: 软件安装

编译需要python 2.6的程序

我正在尝试编译一个软件包,但它失败了 g++ -Wall -O0 -fno-strict-aliasing -I/usr/include/python2.6 -I/usr/include/python2.5 -g -pthread -fpic -I../../plot/src -I../../math/src -I../../rclib/src/util -I../../rclib/src/conui -I../../rclib/src/io -I../../_general -I../../clop/src -I../../clop/src/real -I../../clop/src/artificial -I../../clop/src/math -DPTHREADS -DGUI=nogui -Drestrict=__restrict__ -DKBHIT_UNIX -DCLOCK_FTIME -c -o ../swig/clop_swig_wrap.o ../swig/clop_swig_wrap.cxx ../swig/clop_swig_wrap.cxx:149:20: fatal error: Python.h: No such file or directory compilation terminated. make: *** [../swig/clop_swig_wrap.o] Error 1 由于Python 2.6在synaptic中不再可用,我从http://www.python.org/download/releases/2.6.8/下载,构建和安装它,但它没有将2.6库添加到/ usr /包括 如何在Ubuntu 12.04上将python2.6库导入/ usr / include?

使用rvm安装后,无法识别Ruby命令

我按照本教程使用rvm安装ruby: https ://www.digitalocean.com/community/tutorials/how-to-install-ruby-on-rails-on-ubuntu-12-04-lts-precise-pangolin- 与-RVM 问题是每次登录时都无法识别ruby安装,例如,如果我尝试使用“ruby”命令执行ruby脚本,这就是我得到的: 要使它被识别,我必须运行此命令: source ~/.rvm/scripts/rvm 但每次我登录时我都要再做一次。

如何在Ubuntu 16.04上安装pyaudio 0.2.9?

我找不到PPA,而pyaudio 0.2.7就是发货了

如何安装gst-plugins? 无法找到包裹

在试图让“慢慢播放”恢复工作时 ,我需要安装gst-plugins包中包含的Gconfaudiosink。 guest@guest:~$ sudo apt-get install gst-plugins [sudo] password for guest: Reading package lists… Done Building dependency tree Reading state information… Done E: Unable to locate package gst-plugins (gst-plugins-base和gst-plugins-good的输出相同) 你能帮我安装这个插件吗?

安装netbeans时出错

我尝试从下载的.sh文件安装NetBeans 7.2,但遇到了问题。 这是来自终端的文字,它显示了我做了什么以及发生了什么: hridesh@ubuntu:~$ cd Desktop/ hridesh@ubuntu:~/Desktop$ cd full\ netbeans\ 7.2\ for\ linux\ in\ .sh\ format/ hridesh@ubuntu:~/Desktop/full netbeans 7.2 for linux in .sh format$ chmod +x netbeans-7.1.2-ml-linux.sh hridesh@ubuntu:~/Desktop/full netbeans 7.2 for linux in .sh format$ ./netbeans-7.1.2-ml-linux.sh Configuring the installer… Searching for JVM on the system… Extracting installation data… Installer file /home/hridesh/Desktop/full seems to be corrupted […]

我应该为我自己安装的emacs安装更新吗?

昨天,我通过编译源代码从其官方网站安装了最新的Emacs 24.4-1,因为存储库中的那个更旧。 但今天软件更新通知我是否要安装软件更新,包括emacs: Changes for emacs versions: Installed version: 24.4-1 Available version: 45.0ubuntu1 Version 45.0ubuntu1: * Default to emacs24. Version 45.0: * Provide the emacs metapackage (previously produced by emacs23, emacs24, etc.). * Set the initial dependencies to Emacs 23 (for the wheezy release). * Set the initial version higher than any existing emacs binary […]

无法在xenial中安装rhythmbox

当我尝试sudo apt install rhythmbox我得到这个: Reading package lists… Done Building dependency tree Reading state information… Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The […]

无法运行ubuntu sdk无法访问lxd服务器

我已经安装了ubuntu-sdk,我正在尝试运行它,但它说“当前用户无法访问Ubuntu SDK所需的LXD服务器。请确保用户是lxd组的一部分并重新启动IDE。” ,为什么我无法访问lxd服务器。

如何回滚我的GParted版本?

我正在使用ubuntu 14.04和GParted 0.18。 但是,它似乎不如之前的迭代次数,因为它每次尝试调整FAT32分区时都会 崩溃,或者当我在未分配的内存块上创建新分区时崩溃 。 我没有用NTFS或ext4试过它。 当我以超级用户身份通过​​终端运行它时,它会在崩溃时显示分段错误。 以前版本的GParted不是这种情况,例如12.04和13.04的默认版本,我能够完全分区我的USB驱动器。 有什么办法我可以得到旧版本(0.12或0.16)并在我的14.04版本上安装它们吗?

如何克服因删除/ usr / share / doc-base中的文件而导致的dpkg错误?

每当我在命令行通过APT运行时,我都会收到以下错误消息: Setting up doc-base (0.10.6) … Processing 2 added doc-base files… Cannot open file `/usr/share/doc-base/python-openbabel-pybel’ for reading: No such file or directory. dpkg: error processing package doc-base (–configure): subprocess installed post-installation script returned error exit status 3 Setting up ballview (1.4.2+20140406-1) … Errors were encountered while processing: doc-base E: Sub-process /usr/bin/dpkg returned an error code […]