apt-get

apt-get update non interactive

回眸只為那壹抹淺笑 提交于 2020-08-22 11:39:27
问题 I'm trying to make an update fully non interactive.(on ubuntu 14.04.3 LTS) I thought it will be easy with this type of command: export DEBIAN_FRONTEND=noninteractive apt-get update && apt-get upgrade -q -y --force-yes && apt-get dist-upgrade -q -y --force-yes but no... I always have a question like: Configuration file '/etc/cloud/cloud.cfg' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your

How to Install an older version of php using apt-get?

心不动则不痛 提交于 2020-06-23 04:02:46
问题 I have this older package in this exact version that I want to install on Ubuntu. https://launchpad.net/ubuntu/+source/php5/5.3.10-1ubuntu3.20 How can I install it using apt-get ? Thank you 回答1: to find out what different versions of a package is available in the enabled repository apt-cache policy <package-name> in your case apt-cache policy php5 select the version that you want to install and then type sudo apt-get install pkgname=version in your case sudo apt-get install php5=5.3.10

How to Install an older version of php using apt-get?

穿精又带淫゛_ 提交于 2020-06-23 04:00:59
问题 I have this older package in this exact version that I want to install on Ubuntu. https://launchpad.net/ubuntu/+source/php5/5.3.10-1ubuntu3.20 How can I install it using apt-get ? Thank you 回答1: to find out what different versions of a package is available in the enabled repository apt-cache policy <package-name> in your case apt-cache policy php5 select the version that you want to install and then type sudo apt-get install pkgname=version in your case sudo apt-get install php5=5.3.10

What's the difference between apt-get virtualenv and pip virtualenv?

ぐ巨炮叔叔 提交于 2020-06-22 10:24:25
问题 What's the difference between the virtualenv from apt-get and that from pip? Are they interchangeable? apt-get install virtualenv The following extra packages will be installed: python-chardet-whl python-colorama-whl python-distlib-whl python-html5lib-whl python-pip-whl python-requests-whl python-setuptools-whl python-six-whl python-urllib3-whl python3-virtualenv The following NEW packages will be installed: python-chardet-whl python-colorama-whl python-distlib-whl python-html5lib-whl python

What's the difference between apt-get virtualenv and pip virtualenv?

扶醉桌前 提交于 2020-06-22 10:23:09
问题 What's the difference between the virtualenv from apt-get and that from pip? Are they interchangeable? apt-get install virtualenv The following extra packages will be installed: python-chardet-whl python-colorama-whl python-distlib-whl python-html5lib-whl python-pip-whl python-requests-whl python-setuptools-whl python-six-whl python-urllib3-whl python3-virtualenv The following NEW packages will be installed: python-chardet-whl python-colorama-whl python-distlib-whl python-html5lib-whl python

How to install Android SDK on Ubuntu?

笑着哭i 提交于 2020-06-09 07:23:08
问题 For my Ubuntu machine, I downloaded the latest version of Android SDK from this page. After extracting the downloaded .tgz file, I was trying to search for installation instructions and found: To get started on Linux: Unpack the .zip file you've downloaded. The SDK files are download separately to a user-specified directory. Make a note of the name and location of the SDK directory on your system—you will need to refer to the SDK directory later when using the SDK tools from the command line.

【wordpress】wordpress环境的搭建

时光总嘲笑我的痴心妄想 提交于 2020-04-08 13:40:57
WordPress      WordPress 是一种使用 PHP语言和 MySQL数据库开发的开源、免费的Blog(博客,网志)引擎,用户可以在支持 PHP 和 MySQL 数据库的服务器上建立自己的 Blog。WordPress 是一个功能非常强大的博客系统,插件众多,易于扩充功能。安装和使用都非常方便。目前 WordPress 已经成为主流的 Blog 搭建平台。   我虚拟机的系统是Debian系统,这里介绍的就是Debian系统wordpress环境搭建的方法。 第一步:首先更新apt源   apt-get update 第二步:更新软件   apt-get upgrade 第三步:安装Apache   apt-get install apache2 第四步:安装 mysql   apt-get install mysql-server mysql-client 第五步:安装 nginx   apt-get install nginx 第六步:安装 php 以及插件   apt-get install php5-common php5-mysql php5-cgi php5-gd php5-mcrypt libapache2-mod-php5 php5-memcache php5-imagick php5-xmlrpc php5-suhosin php-pear

Ubuntu 14.04 LTS 安装 VNC Viewer

帅比萌擦擦* 提交于 2020-04-07 19:42:04
1.修改镜像源: /etc/apt/sources.list 将"http://archive.ubuntu.com/ubuntu/"替换为: http://cn.archive.ubuntu.com/ubuntu/ http://mirrors.aliyun.com/ubuntu/ http://mirrors.163.com/ubuntu/ http://mirrors.sohu.com/ubuntu/ 2.更新系统 : sudo apt-get update sudo apt-get upgrade -y 3.安装VNC Viewer : sudo apt-get install vnc4server -y 4.启动VNC Viewer服务器端 ,第一次启动需要输入用户密码: vncserver :1 5.使用VNC Viewer连接 。 6.安装Ubuntu的桌面 : sudo apt-get install ubuntu-desktop -y 7.安装gnome : sudo apt-get install gnome-panel -y sudo apt-get install gnome-settings-daemon -y sudo apt-get install metacity -y sudo apt-get install nautilus -y sudo