Tag:

安装未使用麦迪逊列出的特定版本版本

我正在尝试安装特定版本的CrateDB,例如: $sudo apt-get -s install crate=2.1.8-1~wheezy 但是找不到这个包裹。 运行’apt-cache madison’只显示最新版本: $sudo apt-cache madison crate crate | 2.2.3-1~wheezy | https://cdn.crate.io/downloads/apt/stable wheezy/main amd64 Packages crate | 2.2.3-1~wheezy | https://cdn.crate.io/downloads/apt/stable wheezy/main i386 Packages sources.list中的Crate.io存储库: deb https://cdn.crate.io/downloads/apt/stable/ wheezy main deb-src https://cdn.crate.io/downloads/apt/stable/ wheezy main 所有实际可用的版本(包括2.1.8-1~woezy): https ://cdn.crate.io/downloads/apt/stable/pool/main/c/crate/ 我怎样才能看到所有可用的包而不仅仅是最新的包? (我在Ubuntu 16.04.1 LTS上)

无法导入pyhdf

我需要阅读从网站https://ladsweb.modaps.eosdis.nasa.gov/下载的MODIS HDF4文件,搜索我的项目。 我需要使用Pyhdf模块编写一个python程序来打开并读取文件,所以,我安装了库libhdf4-dev和模块python-h5py如下所示错误:找不到输入文件:`man / Makefile.in’ 。 完成所有这些后,我仍然无法导入pyhdf。 当我尝试使用命令import pyhdf 。 我收到以下错误 File “”, line 1, in import pyhdf ImportError: No module named pyhdf 我怎样才能导入pyhdf?

无法在ubuntu 14.04中使用包含库 – > pokerstove

伙计们! 我刚刚在这个网站及其用户的帮助下,通过良好的指示包括了这个pokerstove库 我在我的主目录中运行了所有命令 围梁@围梁-的ThinkPad-E520:〜$ 安装所有必要的工具后,命令就是这些 git clone https://github.com/andrewprock/pokerstove.git mkdir pokerstove/src/build cd pokerstove/src/build cmake .. make 如你所见,我最终进入了这个目录 围梁@围梁-的ThinkPad-E520:〜/ pokerstove / src目录/编译$ 我成功运行了这个库的创建者建议运行的命令 girts @ girts-ThinkPad-E520:〜/ pokerstove / src / build $ bin / ps-eval 之前我还安装了boost库并测试它们工作得很好现在我尝试编译这个简单的ggg.cpp文件,其中也包含这些新的pokerstove库这里是代码 #include #include #include #include #include #include #include #include #include int main(){ std::cout << "Hello World!" << std::endl; } 当我尝试使用编译时 girts @ […]

用git(或任何版本控件)创建一个repo

我把我的所有代码/项目作为reith放在github中。 我经常使用git,我确实有很少的项目,我不能同时推送到github,我想在我的外置硬盘上保留备份,是否有任何现有的软件可以将外部硬盘转换为回购我可以git push,代码被推送到我的硬盘上的repo? 这使得在工作和保持备份时非常容易推送。 简单来说,Git hub在硬盘上本地化。 而已。 如果它不存在,如何开始这个并编写我自己的软件? 提供你的见解。

如何安装最新版本的EMACS并选择适当的UI?

我正在运行最新的Kubuntu(12.04 beta 2),我想运行最新的emacs(目前是v24)。 回购是一个版本。 安装v24或更高版本(以及避免将来的版本冲突)的最佳方法是什么? 另外,如果X正在运行,有没有理由不去使用emacs的GUI版本? 例如,我可以将GUI emacs版本设置为默认文本编辑器并使用它来编辑cron作业(crontab -e)吗? 我假设答案是肯定的,但由于我还没有这样做(我的默认编辑器是nano),我想检查是否有理由我应该将nano作为默认编辑器。 通常当我在命令行上工作时,我最终使用nano。 现在我想起来了,我不知道为什么我一直这样做。 在X终端中工作时调用GUI编辑器有什么缺点吗? 编辑:我简要测试了这两个版本 GNU Emacs 24.0.94.1(x86_64-pc-linux-gnu,GTK +版本3.3.20)来自 GNU Emacs 23.3.1(x86_64-pc-linux-gnu)默认安装在Kubuntu中。 这篇文章解释了版本之间的一些差异 。 不幸的是(对我来说)默认安装版本(23.3.1,23.3 + 1-1ubuntu9)是nox版本。 Package: emacs23-nox Status: install ok installed Version: 23.3+1-1ubuntu9 Replaces: emacs23, emacs23-gtk, emacs23-lucid 版本24的软件包默认以GUI模式打开。 这就是我的喜好。 我感兴趣的某些版本24更改列在下面的参考中。 但是我可以安装许多不同的软件包和版本。 参考文献: Emacs 24中的新function(第1部分)| 掌握Emacs http://www.masteringemacs.org/articles/2011/12/06/what-is-new-in-emacs-24-part-1/“shell-mode使用pcomplete规则,使用标准的完成UI。 Yowzah!在这个变化的gem中隐藏着许多很酷的新function。“ EmacsWiki:最近的变化http://www.emacswiki.org/emacs/?action=rc;showedit=0

为什么14.04 LTS在某些软件包中没有静态库?

这些是最后三个Ubuntu LTS版本的udev开发包。 文件列表的包libudev-dev in lucid 软件包libudev-dev的文件清单 可信赖的软件包libudev-dev的文件列表 最后一个链接是14.04的包,它不包含用于静态链接的*.a文件。 为什么它会丢失,我该如何获得它?

在发行版升级后安装Skype时遇到问题

我有很多时间更新了软件中心。 使用sudo apt-get upgrade和sudo apt-get update升级系统。 经历了很多教程。 从那里下载了skype。 试图通过终端安装。 回顾这个问题 。 以下是我的/etc/apt/sources.list文件的详细信息 # deb cdrom:[Kubuntu 12.10 _Quantal Quetzal_ – Release amd64 (20121017.1)]/ quantal main multiverse restricted universe # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://pk.archive.ubuntu.com/ubuntu/ quantal main restricted deb-src http://pk.archive.ubuntu.com/ubuntu/ quantal main restricted ## Major bug fix […]

PCL Ubuntu安装

我一直在尝试在Ubuntu 14.10上安装PCL for linux: http : //pointclouds.org/downloads/linux.html 到目前为止,我已经完成了前两个步骤, sudo add-apt-repository ppa:v-launchpad-jochen-sprickerhof-de/pcl sudo apt-get update 但它在第三个方面失败了: $ sudo apt-get install libpcl-all Reading package lists… Done Building dependency tree Reading state information… Done E: Unable to locate package libpcl-all 我该怎么做才能解决这个问题? 我已经在线查看,但所有现有的线程似乎都没有工作分辨率。

apt-get – 分段错误:error handling包libc-bin

嗨,我在过去的一个月里一直在努力。 sudo apt-get upgrade和sudo apt-get autoremove出错,出现以下错误 E: Unmet dependencies. Try using -f. 当我运行sudo apt-get install -f ,它出错如下。 Fetched 30.2 MB in 32s (928 kB/s) Preconfiguring packages … Setting up libc-bin (2.23-0ubuntu9) … Segmentation fault /sbin/ldconfig.real: Can’t stat /lib/i686-linux-gnu: No such file or directory /sbin/ldconfig.real: Can’t stat /usr/lib/i686-linux-gnu: No such file or directory /sbin/ldconfig.real: Path `/usr/local/lib’ […]

libdb4.8 ++不再可用

我正在尝试使用QT-Creator来构建程序,并且我得到了需要libdb4.8++并且不可用的消息。 我试过使用libdb5.1和libdb4.8但它仍然要求libdb4.8++ 我目前正在使用Ubuntu 12.04 LTS。 如果没有办法安装,哪个版本的Ubuntu与libdb4.8++兼容?