In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "the installation of common software in Ubuntu and the solutions to common problems". The content of the explanation is simple and clear, and it is easy to learn and understand. please follow the editor's train of thought to study and learn "the installation of common software in Ubuntu and the solutions to common problems".
Installation of commonly used software
Installation of gcc5
At present, the latest version is 5.2. according to the following method, version 5.1 is installed, gcc and gaming are installed at the same time, and Cellular 11 is supported.
The code is as follows:
$sudo add-apt-repository ppa:ubuntu-toolchain-r/test
$sudo apt-get update
$sudo apt-get install glittering music 5
The link files of gcc and Gmail + will not be updated automatically after installation. You need to update them manually and enter / usr/bin.
The code is as follows:
$sudo rm gcc gathers +
$sudo ln-s gourmet music 5 gags +
$sudo ln-s gcc-5 gcc
Use gcc-- version to view the version, which is 5.1
Installation of fcitx
Ubuntu comes with ibus input method by default, but the experience of ibus input method is not very good. For example, if you make a mistake, you must delete all of them before you can fall back. In addition, there are some problems such as jumping keys or not being able to rotate to Chinese input when used in jetbrain series software (such as android studio, pycharm, etc.).
Fcitx that is small penguin input method, very easy to use, including Pinyin, five strokes, and five pinyin mixed input, can meet a variety of needs
Installation process
The code is as follows:
$sudo add-apt-repository ppa:fcitx-team/stable
$sudo apt-get update
$sudo apt-get install fcitx
Set to use fcitx. If it is a new version of ubuntu, you may want to use im-config instead of im-switch.
The code is as follows:
$im-switch-s fcitx
Or use fcitx by default through the language support in the system settings. If the language support does not exist, use the following command to install
The code is as follows:
$sudo apt-get install language-selector-gnome
If you don't have five or five pinyin, you can install fcitx-table-wubi or fcitx-table-wbpy through apt
Records of frequently asked questions and operations
Version 12.04 cannot be woken up after it is suspended on the laptop
Google tried to install the driver because of the driver problem in nvidia. At first, the driver was installed from the place where the system was set up, but after installation, it could not support two monitors and could not be configured in the nvidia setting.
Download the latest driver from the official website, but after installation, the system card displays the interface with the word 'Ubuntu'' after boot. Google has some answers, it seems that the latest drivers are not necessarily easy to use, it is best to use those provided by ubuntu in the system interface, because those with the words ubuntu developer test. But I tried the last step, and it didn't work.
Have to restore the use of the previous nouveau, that is, the third-party nvidia driver. Enter recovery mode (or press ctrl+alt+F1 in normal mode), delete everything related to the previously installed nvidia, and then reinstall xorg
The code is as follows:
$sudo apt-get purge nvidia*
$sudo apt-get install xserver-xorg
W: GPG signature verification error
Errors usually look like this:
W: GPG signature verification error: http://ppa.launchpad.net jaunty Release: the following signatures cannot be verified because there is no public key: NO_PUBKEY 21C022AA985E0E11
When the above error occurs, just copy the last eight digits of the key after NO_PUBKEY, and enter the following command in [Terminal] and enter the eight digits!
The code is as follows:
$sudo apt-key adv-recv-keys-keyserver keyserver.ubuntu.com 985E0E11
Add or remove PPA feeds
Ppa, or Personal Package Archives, is a service provided by the Ubuntu Launchpad website that allows individual users to upload software source code, compile it through Launchpad and release it as a binary package that can be downloaded and updated by other users as a source of apt/ Synaptic. Each user and team of a Launchpad site can have one or more PPA.
The general form of PPA is ppa:user/ppa-name
Add Source:
The code is as follows:
$sudo add-apt-repository ppa:user/ppa-name
Usually use sudo apt-get update to update it after adding it.
Delete source:
The code is as follows:
$sudo add-apt-repository-r ppa:user/ppa-name
Then go to the / etc/apt/sources.list.d directory, delete the saved file of the corresponding PPA source, and also use update to update
For example, there are in my catalog.
The code is as follows:
Charles.list
Charles.list.save
Generally, delete two files and then ok. There is no need to delete the source of ppa.
Thank you for your reading, the above is the content of "the installation of common software in Ubuntu and the solutions to common problems". After the study of this article, I believe you have a deeper understanding of the installation of common software in Ubuntu and the solutions to common problems, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.