apt

ERROR: libass not found using pkg-config2

落花浮王杯 提交于 2020-01-17 09:35:56
直接安装: apt install libass-dev #apt install libass-devel 需要提醒的是,如果换一台机器,如果缺少库就会产生问题。所以最好全部源码编译。 ERROR: libmp3lame >= 3.98.3 not found apt install libmp3lame-dev ERROR: opus not found using pkg-config apt install libopus-dev ERROR: libtheora not found apt install libtheora-dev ERROR: vorbis not found using pkg-config apt install libvorbis-dev ERROR: x265 not found using pkg-config apt install libx265-dev 来源: CSDN 作者: 柳鲲鹏 链接: https://blog.csdn.net/quantum7/article/details/104005884

飞腾安装Kerberos

五迷三道 提交于 2020-01-16 05:57:37
准备安装包 krb5-admin-server_1.13.2+dfsg-5ubuntu2.1_arm64.deb krb5-kdc_1.13.2+dfsg-5ubuntu2.1_arm64.deb 源 dpkg-scanpackages -t deb . | gzip -9c > Packages.gz apt update 安装 apt install krb5-kdc krb5-admin-server 配置 vim /etc/krb5.conf vim /etc/krb5kdc/kdc.conf vim /etc/krb5kdc/kadm5.acl 创建数据库 kdb5_util create -s -r BIGDATA 创建管理员账户 kadmin.local -q "addprinc -pw admin admin/admin" 启动服务 service krb5-kdc start service krb5-admin-server start 来源: CSDN 作者: 建康 链接: https://blog.csdn.net/qq_29989725/article/details/103992929

Ubuntu 12.10 libgtk-3-0 Missing Symbols

妖精的绣舞 提交于 2020-01-15 08:33:28
问题 I am running Ubuntu 12.10 and somehow my libgtk-3-0 became screwed up. When trying to run many different apps, I get errors like: gedit: symbol lookup error: /usr/lib/libgtk-3.so.0: undefined symbol: g_action_group_action_state_changed I've tried to reinstall libgtk-3-0: sudo apt-get install --reinstall libgtk-3-0 sudo apt-get update sudo apt-get upgrade But still I get this problem - several undefined symbols from libgtk-3.so.0 when trying to run various apps. There is no problem booting the

Ubuntu 解决:当执行`sudo apt-get update`命令时 出现的 “apt-get 404 Not Found Package Repository Errors” 问题

谁都会走 提交于 2020-01-14 18:39:46
Ubuntu 解决:当执行sudo apt-get update或者sudo apt-get install命令是出现的 “apt-get 404 Not Found Package Repository Errors” 问题 和 “E: Some index files failed to download They have been ignored, or old ones used” 问题 W: The repository ‘http://ppa.launchpad.net/ackondro/tibesti/ubuntu xenial Release’ does not have a Release file. N: Data from such a repository can’t be authenticated and is therefore potentially dangerous to use. N: See apt-secure(8) manpage for repository creation and user configuration details. E: Failed to fetch http://ppa.launchpad.net/ackondro/tibesti/ubuntu/dists/xenial/main/binary-amd64

使用APT (A reference-based metric to evaluate the accuracy of pronoun translation)评估机器翻译中代词翻译(pronoun translation)的质量

眉间皱痕 提交于 2020-01-14 11:50:29
Chapter1 跑通example 1.1 运行环境及依赖包   运行在python3.68环境。首先将需要的包pip install 比如 ConfigParser 1.2 github下载代码   输入命令行git clone https://github.com/LinqingChen/APT.git该代码已由本文作者更新适配Python3 1.3 运行example中的demo   进入APT目录: cd [path-to-APT]/APT   运行demo:python APT.py ./data_es-en/config_1 Chapter2 运行自己的评测 2.1 评测文件准备与评测参数设置   按 [path-to-APT]/APT/data_es-en/config_1 文件中的参数准备评测数据并更新相关设置   下文中将必须根据评测要求进行更改的参数标记为红色。   其中 source,target对应源语言,目标语言,reference对应golden语句(人工翻译的高质量语料),三种语料必须已经在句子级别对齐。   alignment_source_target/reference是源语言分别与目标语言及reference的词对齐信息,需要特别注意到是,此处使用的是对称化词对齐信息,需要使用Moses或GIZA++

Install mysql 8.0 to Linux mint 19.3

我只是一个虾纸丫 提交于 2020-01-13 12:01:36
  Generate file /etc/apt/sources.list.d/mysql.list sudo tee /etc/apt/sources.list.d/mysql.list <<-'EOF' ### THIS FILE IS AUTOMATICALLY CONFIGURED ### # You may comment out entries below, but any other modifications may be lost. # Use command 'dpkg-reconfigure mysql-apt-config' as root for modifications. deb [arch=amd64] http://repo.mysql.com/apt/ubuntu/ bionic mysql-apt-config deb [arch=amd64] http://repo.mysql.com/apt/ubuntu/ bionic mysql-8.0 deb [arch=amd64] http://repo.mysql.com/apt/ubuntu/ bionic mysql-tools deb [arch=amd64] http://repo.mysql.com/apt/ubuntu/ bionic mysql-tools-preview deb

Ubuntu和Debian安装metasploit-framework

余生颓废 提交于 2020-01-13 00:55:32
添加阿里云的kali源 系统的镜像源文件在apt目录下 /etc/apt/sources.list 用文本编辑器打开sources.list,手动添加如下代码 deb http://mirrors.aliyun.com/kali kali-rolling main non-free contrib deb-src http://mirrors.aliyun.com/kali kali-rolling main non-free contrib 将原来的源使用#号注释掉 # deb http://http.kali.org/kali kali-rolling main non-free contrib # deb-src http://http.kali.org/kali kali-rolling main non-free contrib 一般没啥问题,二班情况建议提前备份号文件,或者虚拟机快照,方便回退,减少误操作带来的损失。 更新源 apt update 更新源 apt upgrade 更新软件(一般比较大,自己酌情更新即可) apt dist-upgrade 这个是更新系统的所有程序 接下来是解决签名的问题 直接一条命令 wget -q -O - https://archive.kali.org/archive-key.asc | apt-key add

ubuntu 更换apt源

纵然是瞬间 提交于 2020-01-12 10:13:11
vim /etc/apt/sources.list 删除所有的源 添加以下源 中科大源 deb https://mirrors.ustc.edu.cn/ubuntu/ bionic main restricted universe multiverse deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic main restricted universe multiverse deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse deb https:

docker安装php扩展gd库

白昼怎懂夜的黑 提交于 2020-01-12 10:11:08
Docker 是一个开源的应用容器引擎,基于 Go 语言 并遵从 Apache2.0 协议开源。 Docker 可以让开发者打包他们的应用以及依赖包到一个轻量级、可移植的容器中,然后发布到任何流行的 Linux(Windows,MacOS) 机器上,也可以实现虚拟化。 容器是完全使用沙箱机制,相互之间不会有任何接口,更重要的是容器性能开销极低。 一、安装nginx、php、mysql镜像 docker pull nginx:latest docker pull php:5.6-fpm docker pull php:5.6-cli docker pull mysql:5.6.46 docker pull phpmyadmin/phpmyadmin 使用命令 docker images 查看本地镜像: REPOSITORY TAG IMAGE ID CREATED SIZE nginx latest c7460dfcab50 5 hours ago 126MB phpmyadmin/phpmyadmin latest fcf3beee74b9 47 hours ago 458MB mysql 5.6.46 f7ba8643e01a 12 days ago 302MB php 5.6-fpm 3458979c7744 11 months ago 344MB php 5.6-cli

shell脚本配置apt源

末鹿安然 提交于 2020-01-11 17:29:37
#!/bin/bash #MODIFY: if [ `whoami` != "root" ];then echo "This script must be runing as root!!!" exit 71 fi export LC_ALL=en_US.UTF-8 current_dir=$(cd `dirname $0` && pwd) #当前工作目录 cecho(){ echo -e "\033[$1m$2\033[0m" } #配置本地apt源 Conf_Apt(){ [ ! -f ${current_dir}/archives/Packages.gz ] && cecho 31 "${current_dir}没有有效源" && exit 71 [ ! -f /etc/apt/sources.list.save ] && cp /etc/apt/sources.list{,.bak} tee /etc/apt/sources.list << EOF deb file:${current_dir} archives/ EOF apt-get update --allow-insecure-repositories &>/dev/null apt-get install -f &>/dev/null } #配置ubuntu14.04网络源 Conf_Ubuntu14.04(){