1. 程式人生 > >ubuntu中的Linux安裝程序的方法

ubuntu中的Linux安裝程序的方法

arc body AR figure HR 分析 不可 xxx all

Ubuntu:

1.下載.deb文件,下載後,cd到.deb文件目錄,然後使用sudo dpkg -i xxx.deb dpkg=debian packager的縮寫 -i=install

2..tar.gz文件,tar -zxvf xxxx.tar.gz 解壓.tar.gz文件,解壓後,cd到文件目錄,然後根據情況進行安裝,一般有幾種情況,具體問題具體分析。比如firefox的安裝包,直接可以用./firefox 進行啟動了;而有些含有configure文件的需要執行./configure命令,然後輸入make, make install(這種情況目前我還沒遇到,所以還不知道可不可以)

zxvf z=gzip解壓縮 x=extract v=verbosely f=file

-z, --gzip, --gunzip, --ungzip filter the archive through gzip

tar -cf archive.tar foo bar # Create archive.tar from files foo and bar. c=creat f=file
tar -tvf archive.tar # List all files in archive.tar verbosely. t代表list, v代表verbosely(冗長的) f=file
tar -xf archive.tar # Extract all files from archive.tar. x代表 extract f代表file

ubuntu中的Linux安裝程序的方法