安裝好Fedora 8,請進行一下的詳細配置:
安裝flash插件
安裝rar
安裝eva
添加軟件源livna
rpm -ivh http://rpm.livna.org/livna-release-8.rpm
加速yum
yum install yum-fastestmirror yum-presto
yum配置文件
yum的設置文件為/etc/yum.conf,如果網絡不通暢,可以在/etc/yum.conf文件中修改timeout參數,將timeout時間設置得稍微長一點。
yum中可以通過修改文件來屏蔽軟件源:
修改/etc/yum.repos.d/XXX.repo,把其中的enable=1改為enable=0
指定或去掉軟件源的mirror:
可以在baseurl中將比較慢的mirror去掉
你的yum鏡像的速度測試記錄文件:
/var/cache/yum/timedhosts.txt
yum Existing lock 錯誤的解決辦法
如果系統啟動的時候, yum 出現Existing lock /var/run/yum.pid: another copy is running as pid 3380. Aborting. 可以用下面的辦法解決:
可以直接輸入/etc/init.d/yum-updatesd stop
也可以 rm -f /var/run/yum.pid
主要原因就是yum在自動更新只要關掉它就可以了
安裝apt
apt的安裝需要以下軟件包:
apt-devel-0.5.15lorg3.93-2.fc8
apt-0.5.15lorg3.93-2.fc8
fedora-package-config-apt-8-1
但是在實際安裝的時候,如果已經設置好了yum的源,可以直接輸入:
yum install apt
這樣就可以了,很簡單。
apt的使用
很喜歡使用apt-get時候系統的那句提示:This APT has Super Cow Powers(本apt具有超級牛力!),很有意思。
主要命令如下:
update - Retrieve new lists of packages
upgrade - Perform an upgrade
install - Install new packages (pkg is libc6 not libc6.rpm)
remove - Remove packages
source - Download source archives
build-dep - Configure build-dependencies for source packages
dist-upgrade - Distribution upgrade, see apt-get(8)
clean - Erase downloaded archive files
autoclean - Erase old downloaded archive files
check - Verify that there are no broken dependencies