How to install Sogou, NetEase Cloud Music, Baidu Netdisk, Kingsoft WPS, Google Chrome, WeChat, Maven, Pycharm, Anaconda, MySQL8.0 and other software in Ubuntu18.04

Table of contents

1. Sogou input method

download

Install

uninstall

2. NetEase Cloud Music

download

Install

3. Baidu Netdisk

download

Install

4. Kingsoft WPS

download

Install

5. Google Chrome

download

Install

6. WeChat

Download + install

7.Maven

download

Install

Configure mirror source

8.Pycharm

download

Install

9.Anaconda

download

Install

uninstall

10.MySQL8.0

download

Install

Order


1. Sogou input method

Install the necessary software, just install it! There is no need to install the Fcitx environment in advance, because this environment will be automatically installed when installing Sogou.

download

https://pinyin.sogou.com/linux/?r=pinyin

Install

Installation is relatively easy, direct reference:How to install Sogou input method in Ubuntu system

uninstall

There was a problem with Sogou Input Method when I first installed it. Then I wanted to uninstall it and use it again. Unexpectedly, the uninstallation caused a bigger problem. After uninstalling it, it could not be displayed no matter how I installed it... After searching for a long time, I found that it was the original configuration. Not cleaned up! Note that you need to add the parameter -P or --purge to delete/purify the program and its configuration file

#1.卸载搜狗
sudo dpkg -P sogoupinyin
#2.卸载fcitx环境
可以sudo dpkg -P fcitx也可在Ubuntu软件中直接点卸载
#3.删除所有带rc标记的包
dpkg -l | grep ^rc | cut -d' ' -f3 | sudo xargs dpkg --purge
#4.用户~/.config/下删除所有和搜狗、fcitx相关的文件夹
SogouPY SogouPY.users sogou-qimpanel fcitx

2. NetEase Cloud Music

Although the song library is a bit short, it supports Linux. Unlike QQ Music, which does not have a Linux version, negative review

download

https://music.163.com/#

 

 

Install

The installation is very simple and there are basically no pitfalls.

sudo dpkg -i  /your_path_to/etease-cloud-music_1.2.1_amd64_ubuntu_20190428.deb
# 如果没有安装成功,缺少依赖,则执行
sudo apt-get install -f

3. Baidu Netdisk

Baidu Netdisk, this magic tool, also has a Linux version, which is great!

download

https://pan.baidu.com/download/

Install

The installation is very simple and there are basically no pitfalls.

sudo dpkg -i  /your_path_to/baidunetdisk_linux_2.0.2.deb
# 如果没有安装成功,缺少依赖,则执行
sudo apt-get install -f

4. Kingsoft WPS

Office has a Windows version and a Mac version, but it does not provide a Linux version, so WPS has become the main force. Because of Lei Jun, I personally have a lot of affection for WPS. The Kingsoft series of software has been quite good for so many years! By the way, WPS is said to have been created by Qiu Bojun all by himself back then. It’s amazing! ! ! Inexplicably, I thought: Master Lu’s first generation was also developed by a master named Lu:)

download

https://www.wps.cn/product/wpslinux

Install

sudo dpkg -i /your_path_to/wps-office_11.1.0.8865_amd64.deb

It should be noted here that the downloaded WPS requires font support and needs to be installed manually, otherwise it will prompt that the font is missing when used. The solution: Baidu: Install wps fonts on ubuntu

5. Google Chrome

The Firefox browser that comes with Ubuntu is actually pretty good, but since Google is so easy to use, it should be the next one.

download

https://www.google.cn/chrome/

 

Install

sudo dpkg -i /your_path_to/google-chrome-stable_current_amd64.deb
sudo apt-get -f install

6. WeChat

Unfortunately, Tencent officially does not provide the Linux version of QQ/WeChat for download, so you can only install the software in Windows of the virtual machine, or use open source projects

Download + install

https://github.com/geeeeeeeeek/electronic-wechat/releases However, the author has not updated it for a long time. I am afraid that it will not be useful later, so I directly use the WeChat webpage here. version, but if you modify it, it will look no different from the desktop version:) For reference on how to modify the web version:Three ways to use WeChat in Ubuntu

7.Maven

Of course, Maven is indispensable for Java. The relationship between the two is that python is indispensable for pip, and the front end is indispensable for npm:)

download

https://maven.apache.org/downlo

Install

It is as simple as installing Java, except that there is an additional step to configure the image source.

a.Decompress

sudo tar -xzvf /user/local/apache-maven-3.6.2-bin.tar.gz

b. Edit environment variables

sudo vim ~/.bashrc

export MAVEN_HOME=/usr/local/apache-maven-3.6.2
export PATH=${MAVEN_HOME}/bin:$PATH

c. Refresh variables

source ~/.bashrc

Configure mirror source

Since the maven image is abroad, for reasons that everyone knows, it is very slow to download resources directly from the default source. You need to switch to a domestic image source. You can directly configure the Alibaba source: Edit the settings.xml file of maven (under the maven main directory) /conf/), add between blocks:

<mirror>
    <id>aliyunmaven</id>
    <mirrorOf>*</mirrorOf>
    <name>阿里云公共仓库</name>
    <url>https://maven.aliyun.com/repository/public</url>
</mirror>

If you need to add other proxy warehouses, please refer to:Official Guide

 

8.Pycharm

Coming from the same school as IDEA, it is a very easy-to-use Python IDE. If you have money, please ask Alipay to support it. Otherwise, you should use an activation code. By the way, the Jetbrains series of software can share an activation code:)

download

http://www.jetbrains.com/pycharm/download/#section=linux

Install

Same as IDEA, it also decompresses directly, cd to the main directory/bin, and executesh ./pycharm.sh

9.Anaconda

Anaconda is used to manage various virtual environments and packages. It is a must-use software for AI. You can download it directly from the official website.

download

https://www.anaconda.com/distribution/#download-section

Install

The installation is relatively simple. Switch to the root user for execution or sudo execution: bash /your_path_to/Anaconda3-2019.10-Linux-x86_64.sh Enter Enter and yes according to the prompts. The path will be confirmed at the end. If you use the default Enter directly, otherwise enter automatically. Define the installation path and press Enter. After the installation is completed conda --version If you can see the version number, it means the installation is successful. After the installation is completed, configure the environment variables according to your needs:

export CONDA_PATH=/usr/local/software/anaconda3
export PATH=${CONDA_PATH}/bin:$PATH

uninstall

To delete anaconda, just delete the folder + clear the environment variables

a. Delete the main folder anaconda3

Just find the anaconda3 folder during installation. You can use: sudo find / -type d -name anaconda3Find the folder and then delete the foldersudo rm -rf /your_path_to/anaconda3

b. Delete the folder

To delete anaconda's configuration folder .condarc, you can use the command: sudo find / -type f -name .condarc to find its installation location and delete it. Delete the environment package folder .conda, the command is the same as above.

c. Delete the conda initialization script

Usually conda will create a script in .bashrc, as follows:

If it is installed by the root administrator in the default location, the script is located in /root/.bashrc; if it is installed by an ordinary user, it is usually located in /home/your_user_name/.bashrc. For example, my .bashrc is located under /home/lyon/, execute: vim /home/lyon/.bashrc, delete this conda initialize initialization script

d. Clear environment variables

It should be noted that if you configure anaconda environment variables, you need to delete them in the corresponding bashrc or profile. If you configure user variables, you can usually find .bashrc and .profile under /home/your_user_name/. If it is a system variable, it is usually /etc/profile.

10.MySQL8.0

It is said that mysql8.0 has been greatly upgraded compared to 5.7, so I decided to install a new version 8.0 to try. The traditional mysql installation is still troublesome. It is recommended to directly use the APT installation method given on the official website, which is suitable for Ubuntu and Debian systems.

download

https://dev.mysql.com/downloads/repo/apt/ First download the mysql configuration tool, and all subsequent configurations will be completed through it

Install

Similarly, place the downloaded file in a suitable location, such as /user/local/

cd /usr/local
sudo dpkg -i mysql-apt-config_0.8.14-1_all.deb
# 安装mysql-apt-config时会让你选择需要安装的版本,之后继续:
sudo apt-get update
sudo apt-get install mysql-server

After the installation is completed, the service starts automatically. You can use mysql --version to check the version number:

> mysql --version
mysql  Ver 8.0.18 for Linux on x86_64 (MySQL Community Server - GPL)

For more instructions, see:MySQL APT Repo Quick Guide mysql-apt-repo-quick-guide-en.pdf< /span>

Order

  • Check the status: sudo service mysql status
  • Start the service: sudo service mysql start
  • Stop the service: sudo service mysql stop

Guess you like

Origin blog.csdn.net/weixin_45303602/article/details/134009470