Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Solaris 10 install vim

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

Dependent packages:

Ncurses-5.6-sol10-x86-local.gz

Gtk+-1.2.10-sol10-intel-local.gz

Glib-1.2.10-sol10-x86-local.gz

Download address http://down.51cto.com/data/2452965

Install dependency packages

# gzip-d ncurses-5.6-sol10-x86-local.gz

# pkgadd-d ncurses-5.6-sol10-x86-local

# gzip-d glib-1.2.10-sol10-x86-local.gz

# pkgadd-d glib-1.2.10-sol10-x86-local

# gzip-d gtk+-1.2.10-sol10-intel-local.gz

# pkgadd-d gtk+-1.2.10-sol10-intel-local

Install vim:

# gzip-d vim-7.2-sol10-x86-local.gz

# pkgadd-d vim-7.2-sol10-x86-local

Add environment variables:

Before vi / etc/profile finds export PATH, add:

PATH=$PATH:/usr/local/bin

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/loca/lib

Export PATH LD_LIBRARY_PATH

# source / etc/profile

Write .vimrc

Set nocompatible

Set history=50

Set undolevels=100

Set viminfo='20,\ "50

Set showmode

Syntax on

Set ignorecase

Set tabstop=4

Set shiftwidth=4

Set background=light

Highlight Normal guibg=White guifg=Black

Set backspace=2

Set noerrorbells

Set laststatus=2

Set cmdheight=1

Set statusline=%

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report