apt-get

Ubuntu下安装qq

我们两清 提交于 2019-12-09 18:17:34
步骤一: 打开Ubuntu软件中心,输入“ Pidgin ”查找,然后安装 。 步骤二: ctrl+alt+T 打开终端,输入 sudo add-apt-repository ppa:lainme/pidgin-lwqq 步骤三:输入 sudo apt-get update 步骤四:输入 sudo apt-get install libpurple0 pidgin-lwqq 步骤五:输入 sudo add-apt-repository ppa:pidgin-developers/ppa 步骤六: 输入 sudo apt-get update 步骤七:输入 sudo apt-get install pidgin 注销Ubuntu后,再打开pidgin,账号管理中,添加WebQQ用户信息,就可以聊天了。 来源: oschina 链接: https://my.oschina.net/u/2720507/blog/687552

Failed to fetch update on Ubuntu 14.04 LTS (Trusty Tahr) [closed]

最后都变了- 提交于 2019-12-09 17:58:58
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . While running the update at Ubuntu 14.04 LTS (Trusty Tahr). The following error is being encountered: W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/binary-amd64/Packages Hash Sum mismatch W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-updates/multiverse

how to map pkg-config names to yum/apt-get

烂漫一生 提交于 2019-12-09 17:53:40
问题 Lots of makefiles use pkg-config but the names don't relate to package managers (e.g. yum / apt). How to map pkg-config names to them? is there a trick? Example: if I do yum searchName -- look through the name and approximate to pkg-config's name Result: $ pkg-config --libs dbus-glib-0 Package dbus-glib-0 was not found in the pkg-config search path. Perhaps you should add the directory containing `dbus-glib-0.pc' to the PKG_CONFIG_PATH environment variable No package 'dbus-glib-0' found $

ubuntu环境下docker安装步骤

空扰寡人 提交于 2019-12-09 15:37:46
本问是根据docker官方文档翻译,原文:https://docs.docker.com/engine/installation/linux/ubuntulinux/ Docker 支持以下 Ubuntu 系统: Ubuntu Xenial 16.04 (LTS) Ubuntu Wily 15.10 Ubuntu Trusty 14.04 (LTS) Ubuntu Precise 12.04 (LTS) 本页内容指引你安装使用由Docker管理的正式包和管理包. 使用这些安装包能确保你安装 Docker最新发行包. 如果你想安装并使用Ubuntu管理提供的软件包, 参照Ubuntu文档. 备注: Ubuntu Utopic 14.10 和 15.04 依旧在 Docker’s APT 仓库中,但不再提供官方技术支持. 前提条件 Docker要求是64位Ubuntu(无论哪个版本)。另外,内核必须在最小为3.10。3.10最新版本或更新的版本也行。 3.10之前版本缺少docker运行所需要的特征一些容器。这些老版本的bug,经常导致数据损失。 使用命令: uname -r 来显示内核版本: $ uname -r 3.11.0-15-generic 备注: 如果你之前安装过Docker 使用的 APT , 确保升级你的 APT 源 到 Docker新版. 更新 APT 源

Linux命令(全)

戏子无情 提交于 2019-12-09 15:28:32
linux系统命令的命令选项可以组合使用,比如我们常用的 rm -rf * (哈哈,这是玩笑话,这条命令虽然不流行了,但谨慎使用,否则后果自负) 一、文件/文件夹管理(Linux基础命令) 1. 查看目录 命令 用途 ls 查看当前目录所有文件(不含隐藏文件) tree 目录名 以树状方式显示目录信息(含目录下所有文件) pwd 查看当前目录路径 ls -a 查看当前目录所有文件(含隐藏文件) ls -l 查看当前目录下文件的详情信息(不含隐藏文件) ls -h 以字节的方式显示文件大小 ls -al 查看当前目录下文件的详情信息(含隐藏文件) 2. 切换目录 命令 用途 cd 目录 切换到指定目录(必须是在当前目录下的文件) cd ~ 切换到当前用户的主目录 cd … 切换到上一级目录 cd . 切换到当前目录 cd - 切换到上一次目录 3. 创建、删除目录及文件 命令 用途 touch 文件名 创建指定文件 mkdir 目录名 创建目录(文件夹) mkdir -p 以层级的关系创建文件夹 rm 文件或目录名 删除指定文件或目录 rm -i 交互式提示 rm -r 删除文件下及文件下所有文件 rm -f 强制删除,忽略不存在的文件,不会提示 rm -d 删除空目录 rmdir 目录名 删除空目录 注意点:rm可以结合 -ir、-rf、-fd使用,但-i不能结合-f使用。

Ubuntu 安装软件出现 E:无法定位软件包 update 以及更新系统源。

让人想犯罪 __ 提交于 2019-12-09 14:57:10
1.刚安装的Ubuntu系统,今天安装软件时出现 E:无法定位软件包 update错误。 百度了一下问题是没有更新软件包,需要使用 sudo apt-get update 命令来更新软件包。 2.但是使用命令之后依然无法安装软件包。我想应该是新安装的系统没有更新系统源的问题,于是更新系统源得到解决。 下面是更新系统源方法。 使用下面命令打开sources.list文件,清空里面内容,将国内的源粘贴进去保存退出。 网上很多源,这里就不写出来了。更新保存退出后使用以下命令进行更新。 执行以下命令检查可以更新软件: sudo apt-get update 执行以下命令进行软件更新: sudo apt-get upgrade 更新后即可正常安装软件。 来源: https://www.cnblogs.com/mdbeautiful/p/12010906.html

debian 7+nginx+hhvm+mysql

╄→гoц情女王★ 提交于 2019-12-09 14:51:06
平台debian 7 x86_64 1,安装mysql源 wget http://dev.mysql.com/get/mysql-apt-config_0.6.0-1_all.deb dpkg -i mysql-apt-config_0.6.0-1_all.deb 按需求选mysql6或7,apply 2,添加nginx源 echo "deb http://nginx.org/packages/debian/ wheezy nginx deb-src http://nginx.org/packages/debian/ wheezy nginx" >> /etc/apt/sources.list wget http://nginx.org/keys/nginx_signing.key apt-key add nginx_signing.key rm nginx_signing.key 3,更新系统并安装基本库 apt-get update apt-get upgrade -y apt-get install -y vim vim-runtime build-essential libpcre3 libpcre3-dev zlib1g zlib1g-dev openssl libssl-dev 4,安装nginx apt-get install -y nginx 5,安装mysql

boot2docker on windows missing apt-get / package manager

谁说我不能喝 提交于 2019-12-09 14:20:42
问题 I'm in boot2docker. I'm not entirely sure I understand it completely, but it seems to be needed for a project I'm on. I've ssh'd in, and I tried to do a make on our project, but I got make: not found Then I tried a: apt-get install make And got apt-get: not found Tried googling, but couldn't find anything about that, or any package manager. Any suggestions on how to install anything in boot2docker? EDIT: When I asked this I misunderstood how boot2docker and docker worked hand in hand. There

Ubuntu 开启ssh服务

£可爱£侵袭症+ 提交于 2019-12-09 13:38:42
关键指令(root用户下,非root用户所有指令前加sudo) ps -e | grep ssh(查看ssh服务是否开启) apt-get install openssh-client(安装ssh客户端程序) apt-get install openssh-server(安装ssh服务端程序) service ssh start 或者 /etc/init.d/ssh start(开启ssh服务) service ssh stop 或者 /etc/init.d/ssh stop(关闭ssh服务) 指令 1:ps -e | grep ssh( 查看ssh服务是否开启) 运行ps -e | grep ssh得出如图一的两行结果。ssh-agent指的是ubuntu的ssh服务的客户端,用于该ubuntu远程连接其它Linux主机。sshd指的是ubuntu的ssh服务的服务端,用于其它主机通过ssh服务连接该主机。 换句话说,如果没有sshd进程的话,别的系统是不能连接该ubuntu主机的,若是没有ssh-agent的话,该ubuntu主机也无法通过ssh连接其它主机。 指令 2:apt-get install openssh-client(安装ssh客户端程序) 若是运行ps -e | grep ssh没有查出ssh-agent服务,但是你又想通过ssh服务连接别的系统

Ubuntu11.10 源码编译安装PHP5.3.8

£可爱£侵袭症+ 提交于 2019-12-09 11:32:58
一、 准备 环境: 64位 Ubuntu 11.10 服务器: Nginx 1.1.13 下载PHP源码: 本文使用5.3.8版本 二、 安装 # tar zxvf php5.3.8.tar.gz # cd php5.3.8 # ./configure --prefix=/usr/local/php5 --with-config- file -path=/usr/local/php5/etc --with-curl --with-pear --with-gd --with-jpeg- dir --with-png- dir --with-zlib --with-xpm- dir --with-freetype- dir --with-t1lib --with-mcrypt --with-mhash --with- mysql --with-mysqli --with-pdo- mysql --with-openssl --with-xmlrpc --with-xsl --with-bz2 --with-gettext --with-fpm-user=xiaoxiao --with-fpm-group --enable-fpm --enable-exif --enable-wddx --enable-zip --enable-bcmath --enable-calendar -