Linux学习笔记(十)软件安装 博客分类: Linux apt-getyumwgetmake
程序员文章站
2024-03-19 12:21:10
...
软件的安装,一般的做法,lib库包用源的方式安装,应用软件采用源码的方式安装
1.使用源更新
更新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
2. wget 命令 下载文件的免费工具.支持HTTP, HTTPS, FTP协议和 HTTP 代理
root@localhost:~# wget http://downloads.sourceforge.net/project/xxx.tar.gz
3. tar命令 压缩解压缩命令
root@localhost:~# tar -zxvf abc.tar.gz (记住'z'代表了.tar.gz)
root@localhost:~# tar -jxvf abc.tar.bz2 (记住'j'代表了.tar.bz2)
root@localhost:~# tar -cvf archieve.tar.gz(.bz2) /path/to/folder/abc
4.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
推荐阅读
-
Linux学习笔记(十)软件安装 博客分类: Linux apt-getyumwgetmake
-
嵌入式Linux知识结构 博客分类: 学习笔记 嵌入式Linux编程Qt网络应用
-
嵌入式Linux知识结构 博客分类: 学习笔记 嵌入式Linux编程Qt网络应用
-
嵌入式系统概述 博客分类: 学习笔记 嵌入式Linux网络应用PythonMySQL
-
嵌入式系统概述 博客分类: 学习笔记 嵌入式Linux网络应用PythonMySQL
-
Linux下RPM软件包的安装及卸载 博客分类: linux rpmlinux
-
linux软件安装与卸载 博客分类: linux linuxCentOSrpm
-
linux软件安装与卸载 博客分类: linux linuxCentOSrpm
-
linux学习笔记之shell(1) 博客分类: linux linuxshell
-
linux学习笔记之tar命令 博客分类: linux linuxtargz