7

archlinux如何降级安装软件包

 4 years ago
source link: https://www.lujun9972.win/blog/2018/10/15/archlinux%E5%A6%82%E4%BD%95%E9%99%8D%E7%BA%A7%E5%AE%89%E8%A3%85%E8%BD%AF%E4%BB%B6%E5%8C%85/index.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
archlinux如何降级安装软件包 - 暗无天日

archlinux如何降级安装软件包

Archlinux的包管理器会在你安装包时将软件包缓存到 /var/cache/pacman/pkg/ 中。

因此,若你没有清理掉这些缓存的软件包的话,那么降级安装很简单。

  1. 检查缓存中是否有指定版本的软件安装包

    ls /var/cache/pacman/pkg/${package_name}*
    
  2. 安装指定版本的软件安装包

    sudo pacman -U /var/cache/pacman/pkg/package_name-version.pkg.tar.xz
    
2018-10-15 2018-10-15 linux和它的小伙伴 lujun9972

Related Issues not found

Please contact @lujun9972 to initialize the comment

Generated by Emacs 27.x(Org mode 9.x)

Copyright © 2014 - 2021 lujun9972   -   Powered by EGO
Themed with emacs_love


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK