- Remove the origin repo
sudo zypper mr -da
- Add local reop
sudo zypper ar -f repo_url defile_your_reop_name
sudo zypper ar -f https://mirrors.aliyun.com/opensuse/distribution/leap/42.3/repo/oss/ aliyun_OSS
sudo zypper ar -f https://mirrors.aliyun.com/opensuse/distribution/leap/42.3/repo/non-oss/ aliyun_Non-OSS
sudo zypper ar -f https://mirrors.aliyun.com/opensuse/update/leap/42.3/oss/ aliyun_Update_OSS
sudo zypper ar -f https://mirrors.aliyun.com/opensuse/update/leap/42.3/non-oss/ aliyun_Update_Non-OSS
sudo zypper ar -f https://mirrors.aliyun.com/packman/openSUSE_Leap_42.3/ aliyun_Packman
- Refresh repo cache
sudo zypper ref
- List the repo
sudo zypper lr
More detailsudo zypper --help
sudo zypper up
sudo zypper in zsh git curl cmake vim tmux
sudo zypper install ncurses-devel lua lua-devel \
libcairo2-devel libX11-devel libXpm-devel libXt-devel \
llvm-clang-devel llvm-devel boost-devel ruby-devel \
patterns-openSUSE-devel_python patterns-openSUSE-devel_python3 \
patterns-openSUSE-devel_perl patterns-openSUSE-devel_ruby \
patterns-openSUSE-devel_C_C++
git clone https://github.com/vim/vim.git
cd vim
./configure -h
make clean
git clean -fdx
./configure \
--prefix=/usr/local \
--with-features=huge \
--with-ruby-command=/usr/bin/ruby \
--with-python-config-dir=/usr/lib64/python2.7/config \
--with-compiledby=$USER \
--enable-multibyte \
--enable-cscope=yes \
--enable-perlinterp=yes \
--enable-rubyinterp=yes \
--enable-luainterp=yes \
--enable-pythoninterp=yes \
--enable-python3interp=yes \
--enable-tclinterp=yes \
--enable-gui=auto \
--enable-gnome-check \
--enable-xim \
--enable-fontset
make -j 16
sudo make install
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
Before install VIM add 2 line below to .vimrc.before.local
let g:spf13_bundle_groups=['general', 'programming', 'misc', 'scala', 'youcompleteme']
let g:airline_powerline_fonts=1
curl https://j.mp/spf13-vim3 -L > spf13-vim.sh && sh spf13-vim.sh
cd ~/.vim/bundle/YouCompleteMe
./install.py --clang-completer
git clone https://github.com/soimort/translate-shell && cd translate-shell
make
sudo make install
trans :zh hello
wget https://dl.google.com/linux/linux_signing_key.pub
sudo rpm --import linux_signing_key.pub
sudo zypper ar http://dl.google.com/linux/chrome/rpm/stable/x86_64 Google-Chrome
sudo zypper in google-chrome-stable
curl wttr.in