pacman

Linux系统-----包管理器的演变

杀马特。学长 韩版系。学妹 提交于 2019-11-28 21:44:34
每个电脑设备都使用某种形式的软件来执行其预定任务。在软件开发的早期,对产品进行了严格的bug和其他缺陷测试。在过去的十多年里,软件通过互联网发布,目的是通过应用新版本的软件来修复任何错误。在某些情况下,每个应用程序都有自己的更新程序。在其他情况下,则由用户自己决定如何获得和升级软件。 Linux早期采用了维护集中位置的做法,用户可以在这里查找和安装软件。在这篇文章中,我将讨论linux上软件安装的历史,以及现代操作系统是如何与无休止的洪流保持同步的。 在软件包管理器之前, Linux 上的软件是如何安装的? 从历史上看,软件要么是通过FTP提供的,要么是通过邮件列表提供的(最终这个发行版将包括基本网站)。只有几个小文件包含了创建二进制文件的指令(通常在tarfile中)。您将解压缩文件,读取自述文件,只要您有gcc或其他形式的C编译器,您通常会运行一个./configure带有一些属性列表的脚本,例如将文件粘贴到库文件、创建新二进制文件的位置等。此外,configure进程将检查您的系统是否存在应用程序依赖关系。如果缺少任何主要需求,配置脚本将退出,在满足所有依赖关系之前无法继续安装。如果成功完成配置脚本,则Makefile都会被创造出来。 什么是包裹? 软件包是为了对抗这种复杂性而发明的。为了便于移植和存储,包将多个数据文件一起收集到一个存档文件中

Pathfinding Algorithm For Pacman [closed]

自作多情 提交于 2019-11-28 04:35:00
I wanted to implement the game Pacman. For the AI, I was thinking of using the A* algorithm, having seen it on numerous forums. However, I implemented the Breadth First Search for some simple pathfinding (going from point a to point b with certain obstacles in between) and found it gave the optimum path always. I guess it might be because in a game like pacman which uses simple pathfinding, there is no notion of costs in the graph. So, will it be OK if I use BFS instead of A* for pathfinding in Pacman? Daniel G For path-finding, note the following BFS will look at a lot more nodes than A* will

Archlinux Install

给你一囗甜甜゛ 提交于 2019-11-28 01:19:36
#验证启动模式为EFI **ls /sys/firmware/efi/efivars** #联网 **dhcpcd(有线链接)** **wifi-menu(无线链接)** #刷新本地时间 **timedatectl set-local-rtc 1** #分区EFI #cgdisk efi:ef00 **mkfs.fat -F32 /dev/<THAT_PARTITION>** #选择软件仓库服务器 #可通过筛选 最快服务器来 快速获得mirrorlist **sed -I '/China/!{n;/Server/s/^/#/};t;n' /etc/pacman.d/mirrorlist** #安装基本系统 **pacstrap -i /mnt base base-devel** #生成Fstab文件 **genfstab -U /mnt >> /mnt/etc/fstab** #Change root 到新安装的系统: **arch-chroot /mnt** #设置 时区: **ln -sf /usr/share/zoneinfo/Region/City /etc/localtime** #硬件时间设置、将时间更新到硬件上 **hwclock --localtime --systohc** #默认为 UTC 时间,如需设置为本地时间,请执行: **hwclock -

Manjaro美化 配置教程

ε祈祈猫儿з 提交于 2019-11-27 18:52:34
title: manjaro的美化 date: 2019-04-24 22:59:57 tags: manjaro categories: manjaro 切换源 sudo vi /etc/pacman.conf 加入arch源 [archlinuxcn] SigLevel = Optional TrustedOnly Server = https://mirrors.ustc.edu.cn/archlinuxcn/$arch blackarch源(可以选择加入) [blackarch] SigLevel = Optional TrustAll Server = https://mirrors.ustc.edu.cn/blackarch/$repo/os/$arch 面对高校的源 [arch4edu] SigLevel = Never Server = http://mirrors.tuna.tsinghua.edu.cn/arch4edu/$arch ck源 [repo-ck] Server = http://repo-ck.com/$arch 设置国内源 选择前三个 快的 sudo pacman-mirrors -i -c China -m rank 全局更新 sudo pacman -Syyu 数据库被锁,删除 /var/lib/pacman/db.lck rm /var

Manjaro安装后配置

浪子不回头ぞ 提交于 2019-11-27 14:04:41
Manjaro安装后配置 0:启动项 sudo update-grub 1:换源 : sudo pacman-mirrors -i -c China -m rank sudo pacman -Syy sudo vi /etc/pacman.conf 修改`/etc/pacman.conf`,在最后一行添加: [archlinuxcn] SigLevel = Optional TrustedOnly Server = https://mirrors.ustc.edu.cn/archlinuxcn/$arch 安装archlinuxcn签名钥匙: sudo pacman -S archlinuxcn-keyring sudo pacman -Syy 2:安装软件 安装工具: sudo pacman -S yaourt Chrome浏览器: sudo pacman -S google-chrome 中文输入法: sudo pacman -S fcitx-im # 全部安装 sudo pacman -S fcitx-configtool # 图形化配置工具 sudo pacman -S fcitx-sogoupinyin sudo yaourt -S fcitx-qt4 一:配置: vi ~/.xprofile中添加如下内容: export GTK_IM_MODULE=fcitx

Manjaro安装+配置 指导

邮差的信 提交于 2019-11-27 10:58:36
Mi第一代、13寸屏、N卡940mx 采用legacy 显卡驱动 据传说仅使用Intel显卡禁用N卡,可以节省电能 1、去除没用软件 libre-office\piddge\hex\firefox\xfce4screenshot\steam\打印... 2、Manjaro换源 sudo pacman-mirrors -i -c China -m rank sudo pacman -Syy 会显示最快的几个源,选的是中科大的源USTC。 3、添加USTC的archlinuxcn 修改 /etc/pacman.conf ,在最后一行添加: [archlinuxcn] SigLevel = Optional TrustedOnly Server = https://mirrors.ustc.edu.cn/archlinuxcn/$arch 然后运行: sudo pacman -S archlinuxcn-keyring sduo pacman -Syy 4、安装sogoupinyin sudo pacman -S fcitxsudo pacman -S fcitx-im sudo pacman -S fcitx-configtool sudo pacman -S fcitx-sogoupinyin 添加输入法配置文件 (sudo nano ~/.xprofile) export GTK

Pathfinding Algorithm For Pacman [closed]

旧巷老猫 提交于 2019-11-27 05:22:54
问题 I wanted to implement the game Pacman. For the AI, I was thinking of using the A* algorithm, having seen it on numerous forums. However, I implemented the Breadth First Search for some simple pathfinding (going from point a to point b with certain obstacles in between) and found it gave the optimum path always. I guess it might be because in a game like pacman which uses simple pathfinding, there is no notion of costs in the graph. So, will it be OK if I use BFS instead of A* for pathfinding

ARCH LINUX pacman更新错误:gcc requires gcc-libs=4.7.0-3

旧街凉风 提交于 2019-11-26 18:37:22
arch更新pacman -Syu出现如下错误 pacman - Syu :: Synchronising package databases... core is up to date extra is up to date community is up to date :: The following packages should be upgraded first : pacman :: Do you want to cancel the current operation :: and upgrade these packages now ? [Y/ n] y resolving dependencies... looking for inter- conflicts... error: failed to prepare transaction (could not satisfy dependencies) :: gcc: requires gcc -libs= 4.7 . 0 - 3 用pacman -Qs gcc-libs查看下有没有gcc-libs 4.7.0-3 pacman -Qs gcc- libs local /gcc-libs 4.7 . 0 - 3 ( base ) Runtime libraries shipped by GCC gcc-libs

Arch+Xfce4全程记录

雨燕双飞 提交于 2019-11-26 18:37:15
  由于机器比较古老(奔四3.0+845GV),跑gnome比较费劲,于是选择了Arch+Xfce4。刚开始从arch官网下载core-i686镜像刻盘,安装。一切顺利,等到更新系统和安装X的时候,头疼的问题来了,pacman需要升级,升级完pacman再升级其他软件包出现各种错误。一一google之,没解决了。然后放弃用core-i686安装。选择netinstall。好在10M宽带比较给力,archwiki也很强大,花一下午时间搞定。以下为全程记录:   启动安装程序,配置网络(我的是DHCP,没什么需要动的),选择镜像服务器,这里使用网易的镜像源,速度挺快。   接着给硬盘分区:机器原先有windows XP,占用一个主分区(40G大小,总共为120G)。我把剩下的空间分了2个30G的ext3分区,一个2G大小的swap分区挂载点分别为:/和/home,/swap。   选择软件包,安装。大概200m左右需要下载的,用了10分钟左右。   编辑配置文件:vi /etc/rc.conf         #COCALIZATION部分填写以下内容 其他不变         HARDWARECLOCK="UTC"          TIMEZONE="Asia/Chongqing"         KEYMAP="us"         LOCALE="en_US.utf8"   

ARCH字体管理,添加新字体.

房东的猫 提交于 2019-11-26 18:36:24
查看已安装字体 fc-list | less 搜索库里可用的字体 pacman -Ss ttf | less 找到要用的自体安装之,比如文泉忆 sudo pacman -S wqy-zenhei 或者手动安装,把ttf字体文件复制到 /usr/share/fonts/TTF目录下。 更新字体库 fc-cache -vf 转载于:https://www.cnblogs.com/Leo-Forest/archive/2012/06/13/2547812.html 来源: https://blog.csdn.net/weixin_30832405/article/details/99022576