日期:2014-05-16  浏览次数:20783 次

Linux学习笔记(十)软件安装

1.   make编译安装软件
[root@localhost ~]# cd /home/new/Desktop
[root@localhost Desktop]#   tar -xzvf fcitx-3.4.2.tar.gz
[root@localhost Desktop]#   cd /home/new/Desktop/fcitx-3.4.2
[root@localhost fcitx-3.4.2]#./configure --prefix=/opt/fictx
[root@localhost fcitx-3.4.2]#make
[root@localhost fcitx-3.4.2]#make install


2.  使用源更新
更新Software
sudo apt-get update
sudo apt-get upgrade

sudo apt-get install/remove openssh-server  Ubuntu
sudo apt-get install/remove vim  Ubuntu
or
sudo yum install/remove openssh-server   CentOS