apt-get

ubuntu jeos7.1安装rails mysql

血红的双手。 提交于 2019-12-11 10:24:46
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 首先要按装好ruby,gem。 1-rails sudo gem install rails --include-dependencies 2-libssl,rails需要【不知是否与3必须同时执行】 sudo apt-get install openssl sudo apt-get install libssl-dev sudo apt-get install libopenssl-ruby 3-编译openssl-ruby【此方法有效】 其实openssl-ruby是ruby的扩展(extension),它不是像其他纯ruby代码一样,可以用gem来安装。一般情况下需要编译才行。 在linux系统下,这是经常碰到的问题,所以必须记住。 对于openssl-ruby的编译。 首先 cd ruby-source/ext/openssl ruby extconf.rb make make instll 如果rails启动的时候遇到下面的错误,你就需要编译openssl。 'require_frameworks': no such file to load -- openssl (RuntimeError) 4-mysql server sudo apt-get install mysql-server 5

Installing build-dep on linux mint

耗尽温柔 提交于 2019-12-11 08:29:31
问题 I'm trying to install build-dep on Linux mint 15, but I'm getting an error. I've checked my source list and looks fine. I've also updated the system (apt-get update) This is the command apt-get build-dep --no-install-recommends linux-image-$(uname -r) And this is the error: Picking 'linux' as source package instead of 'linux-image-3.8.0-19-generic' E: Unable to find a source package for linux And this is my source.list: deb http://archive.getdeb.net/ubuntu raring-getdeb apps games deb-src

Minimizing Docker Images with apt-get build deps

狂风中的少年 提交于 2019-12-11 08:29:21
问题 Sometimes when building Docker images it's necessary to use apt-get . For example, an image for running Magento might start something like this FROM php:5.4-apache RUN apt-get -qqy update \ && apt-get -qqy install git \ libmcrypt-dev \ libpng12-dev \ libxml2-dev \ libxslt-dev \ && docker-php-ext-install bcmath \ gd \ mcrypt \ mysql \ soap \ xsl \ zip But now I have all the junk brought in by those apt-get commands. Worse, I'm not even sure what I can afford to delete, because presumably the

Installing matplotlib vn 1.2 and Basemap on Ubuntu

China☆狼群 提交于 2019-12-11 07:52:29
问题 I'm trying to install vn 1.2 of Matplotlib on my Ubuntu computer so that I can use some of the animation features. Crucially I also need Basemap. The only way I've found of importing Basemap is through apt-get. I can install matplotlib 1.2 loads of different ways - using pip, apt-get and from source, but no matter what I do, when it comes to typing in sudo apt-get install python-mpltoolkits.basemap I'm always told that matplotlib will be installed because apt-get can't see the version 1.2

Linxu下载方式 yum rpm apt-get

耗尽温柔 提交于 2019-12-11 06:03:56
- wget 类似于迅雷,是一种下载工具, 通过HTTP、HTTPS、FTP三个最常见的TCP/IP协议下载,并可以使用HTTP代理名字是World Wide Web”与“get”的结合。 下载单个文件 wget http://www.baidu.com/index.html 使用wget -O下载并以不同的文件名保存 wget -O 1.txt http://www.baidu.com/index.html - Yum (全称为 Yellow dog Updater, Modified)是一个在Fedora和RedHat以及CentOS中的Shell前端软件包管理器。基于RPM包管理,能够从指定的服务器自动下载RPM包并且安装,可以自动处理依赖性关系,并且一次安装所有依赖的软件包,无须繁琐地一次次下载、安装。 yum install httpd 安装 apache服务(常用参数 -y 安装过程全部为"yes") yum clean packages 清除缓存目录下的软件包 yum update httpd 更新 yum remove httpd 删除 apt-get apt-get命令适用于 deb apt-get install PackageName 安装某服务 apt-get install PackageName=VersionName 安装包指定某版本 apt-get

Ubuntu 安装最新版nodejs

淺唱寂寞╮ 提交于 2019-12-11 06:02:07
添加源地址 curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - 稍等片刻,源已经添加完毕,再执行: sudo apt-get install -y nodejs 最后验证一下,执行:nodejs -v 即可出现刚才安装的版本号。 来源: CSDN 作者: armcsdn 链接: https://blog.csdn.net/armcsdn/article/details/103460391

Qt on beagle bone black (full install not cross-compile)

房东的猫 提交于 2019-12-11 05:01:16
问题 I want to use qt on beagle bone black same as we use on desktop without "cross compiling" and "tool chain" stuff. I already done this for raspberry pi running raspbian wheezy using apt-get install qtcreator command. I searched on google and found something called qt embedded for BBB. I followed opkg update opkg install qt4-embedded --force-depends opkg install libqtcoree-dev libqtguie-dev instructions and installed qt embedded on BBB running Armstrong on it. Now i have a project developed on

Ubuntu安装make

牧云@^-^@ 提交于 2019-12-11 04:03:26
sudo apt-get update sudo apt-get install ubuntu-make sudo apt-get install make 来源: CSDN 作者: qidaimu 链接: https://blog.csdn.net/qq_31831923/article/details/103478871

Kali_Linux 中文乱码 修改更新源及更新问题

a 夏天 提交于 2019-12-11 02:55:41
Kali_Linux 中文乱码 修改更新源及更新问题 中文乱码问题 kali默认没有中文字符 当以中文安装或者切换编码换为中文后会出现乱码的情况 解决方法: 确定locales已经安装好, 使用 apt-get install locales 命令安装(如果已经安装好的后将会将其重置) 在命令行输入 dpkg-recongfigure locacles 进入编码的选择, 选中en_US.UTF-8,zh_CN.UTF-8和zh_CN.UTF-8.(空格为选中 (如果该选项选中后[]中会出现' * '), 回车为确认) 选中以上三个选项后回车确认,将en_US.UTF-8选为默认 安装中文字体, apt-get install xfonts-intl-chinese 和 apt-get install ttf-wqy-microhei (如果发现命令行返回的行数为在3-4行左右 请先进行连接网络,并进行 修改更新源及更新 ) 重启(命令行reboot) 确认网页,系统,文件不乱码后再次命令行输入 dpkg-recongfigure locacles 进入后第二个页面,将zh_CN.UTF-8设置为默认 重启(命令行reboot) kali成功切换为中文界面 修改更新源及更新( 来源 ) 因为系统需要更新, 系统上的软件也需要更新, 所有需要修改更新源及进行第一次更新 修改sorces

UBUNTU16.10安装Boost1.6

自闭症网瘾萝莉.ら 提交于 2019-12-10 22:11:13
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 最近由于编译一个程序用到了C++的 boost 库,所以便安装了这个库。但是,其中遇到了一些小问题。所以记录下来,以供别人参考。 首先说一下我的环境: Ubuntu 16.10 64bit, gcc version 6.2.0 其实在ubuntu下,可以用一下命令直接安装 sudo apt-get install libboost-dev 也可以编译安装。 先下载安装一下依赖文件: sudo apt-get install mpi-default-dev  #安装mpi库 sudo apt-get install libicu-dev     #支持正则表达式的UNICODE字符集 sudo apt-get install python-dev     #需要python的话 sudo apt-get install libbz2-dev 1.下载boost1.53源文件 http://sourceforge.net/projects/boost/files/latest/download?source=dlp 2.解压后,进入boost_1_62_0.tar.gz目录,执行: ./bootstrap.sh 3.(重点)用find命令查找user-config.jam所在的目录。 sudo find ./