manjaro安装后需要做的几件事

在安装Manjaro之后,为了提高使用体验,需要进行一系列的配置。这包括更换国内源如清华源,修改pacman.conf以支持Arch软件源,安装fcitx谷歌拼音输入法,设置.xprofile,安装语言包,配置SSH密钥,安装IDEA、git、maven,以及各种实用软件如flameshot、simplenote、网易云音乐、wonderwall、uget+aria2、cherrytree+calibre和百度网盘。

桌面环境为xface

  1. 更换国内源,选择清华的源
    sudo pacman-mirrors -i -c China -m rank
    在这里插入图片描述
    修改pacman.conf文件,加上arch的源,否则有些软件不能用pacman命令直接安装
    sudo vi /etc/pacman.conf
    在最后添加如下内容

    [archlinuxcn]
    https://mirrors.jlu.edu.cn/archlinuxcn/$arch
    

    接着更新下缓存:
    sudo pacman -Syy
    并执行如下命令,否则安装arch软件会报错
    sudo pacman -S yay
    yay -Sy archlinuxcn-keyring haveged

  2. 安装中文输入法
    sudo pacman -Sy fcitx5 fcitx5-chinese-addons fcitx5-configtool fcitx5-configtool
    重启或者登出后生效

  3. 安装语言包
    终端输入 manjaro-settings-manager,打开manjaro设置管理器
    点击 语言包->已安装的软件包 安装语言包
    在这里插入图片描述

  4. 安装idea
    IDEA官网
    或者输入命令
    yay -S intellij-idea-ultimate-edition

  5. 安装vscode
    yay -S visual-studio-code-bin

  6. 安装git,当前已默认安装
    sudo pacman -S git
    进行配置,首先生成密钥
    ssh-keygen -t rsa -C "你自己的邮箱地址"
    一路回车,这时候在家目录.ssh下会生成密钥对,将公钥id_rsa.hub中的内容全部拷贝到github上就好了
    vi ~/.ssh/id_rsa.pub
    接着设置下自己的用户名和邮箱
    git config --global user.name "用户名"
    git config --global user.email "邮箱"

  7. 安装maven
    sudo pacman -S maven
    修改配置文件
    sudo gedit /opt/maven/conf/settings.xml
    添加本地仓库目录
    <localRepository>/home/用户名/workspace/mavenRepository/</localRepository>
    修改成阿里的源

    <mirror>
         <id>alimaven</id>
         <mirrorOf>central</mirrorOf>
         <name>aliyun maven</name>
         <url>http://maven.aliyun.com/nexus/content/repositories/central/</url>
     </mirror>
    

    IDEA默认会从~/.m2/下找配置文件,将配置文件copy到~/.m2/
    cp /opt/maven/conf/settings.xml ~/.m2/settings.xml

  8. 安装flameshot截图软件
    sudo pacman -S flameshot

  9. 安装simplenote,跨平台备忘录软件,支持笔记同步到云端
    yay -S simplenote-electron-bin

  10. 安装wonderwall壁纸软件
    sudo snap install wonderwall

  11. 安装下载软件uget+aria2
    sudo pacman -S uget aria2

  12. 安装笔记和阅读软件 cherrytree+calibre
    sudo pacman -S cherrytree calibre

  13. 安装百度网盘
    yay -S baidunetdisk-bin

  14. 最后更新下系统
    sudo pacman -Su

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值