Arch&Manjaro安装后环境快速搭建

安装后出现的问题

  • 时间超正常时间8小时

    timedatectl set-local-rtc 1 --adjust-system-clock
    
    timedatectl set-ntp 0
    

设置镜像源

  • 更新镜像 && 更新数据源

    sudo pacman-mirrors -i -c China -m rank
    
  • 排列源

    sudo pacman-mirrors -g
    
    sudo pacman-optimize && sync (固态硬盘直接忽略)
    

更新系统

  • 更新数据库并且升级系统

    sudo pacman -Syyu
    

安装AUR包管理器

  • yay

    sudo pacman -S yay
    

基本开发环境: 编辑器

  • Emacs

    yay -S clang emacs
    
  • NeoVim

    yay -S neovim
    

设置AUR源

  • 添加清华源

    • 打开以下配置文件

      sudo emacs -nw /etc/pacman.conf
      
    • 在文件末尾添加

      [archlinuxcn]
      #SigLevel = Optional TrustedOnly
      SigLevel = Optional TrustAll
      Server = https://mirrors.tuna.tsinghua.edu.cn/archlinuxcn/$arch
      
  • 导入GPG Key

    yay -Syy && yay -S archlinuxcn-keyring
    

error: linux515: signature from "Manjaro Build Server build@manjaro.org" is unknown trust

解决 Arch/Manjaro Linux 仓库更新签名报错

  • delete gnupg
cd /etc/pacman.d
sudo rm -r gnupg
  • run
sudo pacman-key --init
sudo pacman-key --populate
sudo pacman -Syyu

安装基础软件

  • 开发环境

    jdk
    ipython
    make
    cmake
  • IDE

    codeblocks
  • 音乐与视频软件

    netease-cloud-music
    SMPlayer
  • 图像处理与绘图软件

    gimp
    blender
    krita
  • 数学软件

    geogebra
  • 一键安装

    yay -S jdk ipython make cmake codeblocks google-chrome netease-cloud-music gimp blender geogebra krita smplayer
    
posted @ 2021-02-12 10:20  南方与南  阅读(192)  评论(0)    收藏  举报