Ubuntu系统装机后的优化配置

How to build your Ubuntu environment for alwhales development?

  • Install Ubuntu OS, with recommended disk. (See in Evernote for reference)

Download Ubuntu from: https://ubuntu.com/download
Install Ubuntu with the reference of: https://blog.csdn.net/aigou_/article/details/79944089

  • Remove less commonly used software.
sudo apt purge libreoffice-common
sudo rm -f /usr/share/applications/com.canonical.launcher.amazon.desktop
# and so on.
  • Set software server and update.(sudo apt update)
sudo apt update && sudo apt upgrade
  • Login ubuntu account.

Go “Settings->Online Accounts->Ubuntu Single Sign-On”, and input your account information.

  • Install fcitx framework and reboot.
sudo apt install fcitx
sudo apt install fcitx-config-common
  • Install sogou input method for linux and reboot.

You must have the fcitx framework firstly!
Download install package from: https://pinyin.sogou.com/linux/?r=pinyin
Here is a install manual: https://pinyin.sogou.com/linux/help.php
After finish installation, you can run command below to setup the input method.

fcitx-configtool
  • Login Firefox with international account, download Chinese language package and then login evernote plugin with Chinese account (click “切换到印象笔记”).

  • Install goldenDict and configure the dictionary.

  • Install teamviewer and sign in.

  • Install markdown editor Typora.

# optional, but recommended
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BA300B7755AFCFAE
# add Typora's repository
sudo add-apt-repository 'deb http://typora.io linux/'
sudo apt-get update
# install typora
sudo apt-get install typora
  • Configuration of Java environment.

You need to configure the java development environment:

# Download java SDK from https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
tar -zxvf jdk-8u144-linux-x64.tar.gz
sudo mv jdk1.8.0_144 /usr/local
vim ~/.bashrc 
# Edit the file
export JAVA_HOME=/usr/local/jdk1.8.0_144
export JRE_HOME=${JAVA_HOME}/jre
export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib
export PATH=${JAVA_HOME}/bin:$PATH
# End of editing the file
source ~/.bashrc
# Test java environment
java -version
  • Install trueStudio.

When you are asked to choose ‘1)Yes’ or ‘2)No’, please input ‘1’ or ‘2’ instead of ‘Yes’ or ‘No’.

  • Install Qt4, Qt5, QtCreator and Qt document.

download from ‘http://download.qt.io/archive/’, and we recommand to down the lastest version of Qt, which is integrated with qtcreator.

  • Insatll necessary development packages.
sudo apt install make, sudo apt-get install autoconf automake libtool
sudo apt-get install g++-multilib libx11-dev libxext-dev libxtst-dev zlib1g-dev lib32ncurses5 lib32z1 libpng-dev
  • Install git
sudo apt install git
  • Configuration of git
git config --global user.email "810010935@qq.com"
git config --global user.name "Tao Wang"
  • Generate public key and add to git:
ssh-keygen -t rsa -C "xxxxx@xxxxx.com"
cat ~/.ssh/id_rsa.pub
  • Ubuntu解除开机出现:"输入密码以解锁密钥环”

一、删除现在密钥环
在终端输入seahorse打开管理密钥环的软件,视图->根据密码环 在密码区会有一个“登录”为名字的密钥环,右击将其删除。
二、添加新的密钥环
在终端输入seahorse打开管理密钥环的软件,文件->新建->密码和密钥->输入名字(这里是以”chrome”为例)。,密码设置为空,重启后问题得以解决。

  • 在编译linux内核的时候,make menuconfig可能会报错,因此需要
sudo apt install libncurses5-dev
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

全能骑士涛锅锅

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值