Fedora 下安装 32位 Sublime

新建sublime.sh

#!/bin/sh

# Sublime Text 3 install with Package Control
# http://simonewebdesign.it/blog/install-sublime-text-3-on-fedora-20/

# Run this script with:
# $ curl LINK_TO_THIS_SCRIPT | sh


curl -o ~/st3.tar.bz2 http://c758482.r82.cf2.rackcdn.com/sublime_text_3_build_3083_x32.tar.bz2
if tar -xf ~/st3.tar.bz2 --directory=$HOME; then
  sudo mv ~/sublime_text_3/ /opt/
  sudo ln -s /opt/sublime_text_3/sublime_text /bin/subl
fi
rm ~/st3.tar.bz2


# Package Control - The Sublime Text Package Manager: https://sublime.wbond.net
curl -o ~/Package\ Control.sublime-package https://sublime.wbond.net/Package%20Control.sublime-package
sudo mv ~/Package\ Control.sublime-package /opt/sublime_text_3/Packages/


# Add to applications list
cat << EOF > ~/.local/share/applications/sublime.desktop
[Desktop Entry]
Name=Sublime Text
Exec=subl %F
MimeType=text/plain;
Terminal=false
Type=Application
Icon=/opt/sublime_text_3/Icon/128x128/sublime-text.png
Categories=Utility;TextEditor;Development;
EOF


echo ""
echo "Sublime Text 3 installed successfully!"
echo "Run with: subl"

执行该bash脚本即可

安装搜狗输入法

  • Fedora中文社区软件提供安装包,但是我在安装的时候总是找不到fcitx。后来添加了网易的源就可以了
  • 按照社区教程安装就可以了

你可能感兴趣的:(软件)