• Day algorithm [more] • 第三十二期 teach you the windows of Linux experience

Preface ▎

  Xiao Bian's not busy yesterday, just installed a linux system, many distributions of linux, ubuntu small series that is useful, so they use ubuntu.

  Yes, I am now in use ubuntu to write a blog.

  

  I have also installed a QQ, but do not know can not be used.

  I believe many people are reluctant to use linux system, but because NOIP windows system might not be supported, so we must learn basic operation of some of linux.

  Xiao Bian to practice, do not use virtual machine installed directly became a computer system, the beginning certainly have a lot of awkward place, so specifically to teach you how to use linux.

 

▎ game articles

  If you want to play, then just look at this part enough.

  Since NOILinux is ubuntu, so the operation performed to ensure NOILinux small series can do it.

"Simple Commands"

  This small series have been specially wrote a blog.

  Portal

"resize the editor."

  If you silly to use vim, then you must think vim difficult to use, although you can adjust, but also very troublesome, so here we use gedit to edit it.

  In fact, gedit is a text editor, if you are looking for can not be found in the upper left corner, we need to create a text (be sure to write cpp).

  

  

  Then open the text, you will find a way to write code something, here small series has been adjusted, so the color is better.

  Adjustment, we need to open the Edit -> Preferences, you can tune, and small series like this tune:

  The default plug-like, there may be some font or color NOILinux not, but there are other good-looking.

  But preferably according to adjust small series, not only auto-complete and Dev-c ++ different settings or the like.

  Let's look at some code:

  

  Click Save, and then use the terminal to find this file routine operations on it.

"python into the environment." 

  You may still be forced to look ignorant, why bother to learn C ++, python going into the environment.

  点击这篇博客了解为什么打NOIP要学python及一些基础操作:传送门

  那么如何进入python环境呢?

  打开终端,直接输入python就好了。

  接着常规操作就可以了,我们只要再输入exit()回车就可以退出python环境了。

 

▎生存篇

  如果你还想更多的体验linux系统的话,不妨继续看下去,教给你一些实用的小技巧。  

  不过,前提是,必须要让电脑(虚拟机也可以,只不过体验上不是很好)装上ubuntu系统,NOILinux只是单纯用来竞赛的系统。

『第一步:调好中文输入法』 

  如果你使用的不是虚拟机而是实体机,且是最新版本的话,会自带中文输入法的,就无需担心了,默认切换输入法快捷键是shift。

  利用英文输入谷歌输入法的拼音,最后加一个 for linux。   

  选择第二个。

  

  按照配置选择即可,下载好后,在终端打开所在文件夹,找到该文件,然后输入sudo dpkg -i +安装包名称,然后会让你输入密码,输入好后,就会开始下载。

  然后在右上角找到输入法的标志,点击选择谷歌输入法。

 ☞『第二步:常用软件是硬伤』 

   显然,太多windows系统的软件都没有linux的版本,即使有,也很难下载到。

  那么我们下载优麒麟的软件中心就可以下载到很多软件了,并且无需输入代码,直接安装。

  搜索ubuntu软件中心:

  选择第二个。

  

  接着就是常规操作:下载后在终端找到文件,然后输入sudo dpkg -i +安装包名称就可以安装了,如果安装不了,那么可以选择双击这个deb文件,如果支持,就会弹出安装的界面,然后能不能装上,就听天由命了。

  下好之后就是这样的:

  开发工具很多,如果你受不了linux的编程模式,那么我们可以使用一些有名的软件。

  比如说Visual studio code,不瞒你说,小编刚下好了这个软件,这是集成开发环境,和windows上一样。

  然后,你就可以随心所欲的折腾了。

『更改时区』

  

  小编电脑的时间已经调整好了,但是如果时间不对,也十分令人不舒服。

  首先,打开右上角的工具:

  查找设置:时间。

  然后设置即可。

『商店安装问题』

  我们需要经常输入以下命令:

1 sudo apt update   
2 sudo apt install snapd  

  以保证商店中的软件是最新的,否则无法正常安装。

   每次想装软件都发现太难了,不是这错误就是那错误,今天终于发现了。

Guess you like

Origin www.cnblogs.com/TFLS-gzr/p/11295182.html