Linux software Management (used by the VIM editor)--(vii)

Source: Internet
Author: User
Tags root access

Windows:. exe installation, uninstallation

Installation: Mysql.exe CC.exe

Uninstall: Unique identifier of the software, package name Alibaba

Android: *.apk Uninstall Package name

Red Hat: *.rpm

Ubuntu: Upgrade *.deb format for Debian

1: Install directly. deb Package dpkg Package
1: Install a package that ends in. deb and requires root access
1:sudo Dpkg-i Package Name
2: Uninstall
1:sudo DPKG-R Package Name
3: Install tree
1: Go to file Cd/home/itcast/desktop/file
2:sudo dpkg-i Tree_1.5.3-1_i386.deb
4: See Ubuntu System has installed all packages list
1:sudo dpkg-l
Many scenarios Software Installation: Under/usr/local
2: Using Apt-get management software (recommended)
1: Premise connection Internet, automatic search, automatic download automatic installation
2: Installation
1:sudo Apt-get Install eclipse
2:sudo Apt-get Install OPENJDK-6-JDK
3: Uninstall
1:sudo Apt-get Remove PackageName
3: Use a wide, default download path
1:/var/cache/apt
You can also update and search for software
1. Perform the "Apt-get Update" list of sources
2. Execute "Apt-cache search name" Searching software
How does the Ubuntu system view the location of the software installation? Where to go, you can see this:
Code:
Dpkg-l Software Name
Software Center downloads The default save path for the software:/var/cache/apt/archives.
3:vim Editor
Edit mode
Insert mode
Command mode
Vim Mode of Operation <C-F12>
edit Mode: Wait for edit command input
Insert Mode: edit mode, enter I enter insert mode, insert text information
Command mode: In edit mode, enter ":" for Command mode
1: Installation
1: Install entry into file Cd/home/itcast/desktop/file
2:sudo dpkg-i Vim-runtime_7.2.330-1ubuntu4_all.deb
3:sudo dpkg-i Vim_7.2.330-1ubuntu4_i386.deb
4: Check the installation successfully typed Vim can exit: Q.
2: Create a Bank.txt file in the/home/itcast/directory
1:cd/home/itcast/familya/
2:touch Bank.txt
3: Using Vim to edit
1:vim Bank.txt
2: Data command I enters insert mode
3: Enter content
ICBC
rmb:10000000000
usd:100000000000
User:familyA.father
4:ctrl+c exit Insert mode or tap ESC to switch to command mode
5::WQ Return to save
4: Edit Bank.txt content does not save exit
1:vim Bank.txt
2: Data command I enters insert mode
3: Casually Enter content
4:ctrl+c exit Insert mode or tap ESC
5::q! Enter Force exit
6:cat Bank.txt using cat to view content
5: Show Line numbers
1:vim Bank.txt
2::set Number Enter
3::q return normal exit
6: Cancel line number
1::set Nonumber

Linux software Management (used by the VIM editor)--(vii)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.