leetcode-----146. LRU缓存机制

Posted 景云

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了leetcode-----146. LRU缓存机制相关的知识,希望对你有一定的参考价值。

安装deepin-wine

1 新建一个临时文件夹,用来存放deepin-wine的安装包

mkdir deepin-wine
cd deepin-wine

2 使用wget 下载deepin-wine安装包

wget http://mirrors.aliyun.com/deepin/pool/non-free/d/deepin-wine/deepin-wine_2.18-22~rc0_all.deb
wget http://mirrors.aliyun.com/deepin/pool/non-free/d/deepin-wine/deepin-wine32_2.18-22~rc0_i386.deb
wget http://mirrors.aliyun.com/deepin/pool/non-free/d/deepin-wine/deepin-wine32-preloader_2.18-22~rc0_i386.deb
wget http://mirrors.aliyun.com/deepin/pool/non-free/d/deepin-wine-helper/deepin-wine-helper_1.2deepin8_i386.deb
wget http://mirrors.aliyun.com/deepin/pool/non-free/d/deepin-wine-plugin/deepin-wine-plugin_1.0deepin2_amd64.deb
wget http://mirrors.aliyun.com/deepin/pool/non-free/d/deepin-wine-plugin-virtual/deepin-wine-plugin-virtual_1.0deepin3_all.deb
wget http://mirrors.aliyun.com/deepin/pool/non-free/d/deepin-wine-uninstaller/deepin-wine-uninstaller_0.1deepin2_i386.deb
wget http://mirrors.aliyun.com/deepin/pool/non-free/u/udis86/udis86_1.72-2_i386.deb
wget http://mirrors.aliyun.com/deepin/pool/non-free/d/deepin-wine/deepin-fonts-wine_2.18-22~rc0_all.deb
wget http://mirrors.aliyun.com/deepin/pool/non-free/d/deepin-wine/deepin-libwine_2.18-22~rc0_i386.deb
wget https://mirrors.aliyun.com/deepin/pool/main/libj/libjpeg-turbo/libjpeg62-turbo_1.5.1-2_amd64.deb
wget https://mirrors.aliyun.com/deepin/pool/main/libj/libjpeg-turbo/libjpeg62-turbo_1.5.1-2_i386.deb

  

3 添加32位支持

sudo dpkg --add-architecture i386
sudo apt-get update

4 开始安装deepin-wine

sudo dpkg -i *.deb

 此时有可能出现一些提示 不用管 接着进行下一步 

5 修复依赖关系

sudo apt install -fy

  

假定有以下错误,执行 sudo apt install -fy --fix-missing

E: 无法下载 http://mirrors.aliyun.com/ubuntu/pool/main/libg/libglu/libglu1-mesa_9.0.1-1build1_i386.deb  Undetermined Error [IP: 27.221.56.135 80]
E: 有几个软件包无法下载,要不运行 apt-get update 或者加上 --fix-missing 的选项再试试?

  

安装微信

在前面步骤完成之后 点击 https://mirrors.aliyun.com/deepin/pool/non-free/d/deepin.com.wechat/  下载微信安装包 ,建议最好下载最新版  直接下载deb包比较方便 可以直接安装

注意:安装完之后 和win版相比使用起来不是很稳定 登录的时候多点击 直到出现扫码登陆

以上是关于leetcode-----146. LRU缓存机制的主要内容,如果未能解决你的问题,请参考以下文章

LeetCode 146. LRU 缓存机制

LeetCode #146 LRU缓存机制

leetcode 146. LRU缓存机制

[LeetCode] 146. LRU缓存机制

[LeetCode] 146. LRU缓存机制

leetcode 146 LRU缓存机制