為什么要出這篇文章呢,相信很多redhat粉一直對桌面級系統(tǒng)念念不忘,但是桌面級的它卻需要大量的時間去折騰,下載這下載那的,遍地找應(yīng)用。因為他沒有ubuntu和debian那么使用方便和部署,今后會陸續(xù)出關(guān)于redhat系列的桌面級使用工具下載和使用。當然本章對其他非redhat發(fā)行版只有參考價值,不建議手操。
個人建議(個人測試最完美的安裝方式):
TIM 迅雷 用crossover安裝,微信 百度云 用flatpak安裝,redis-manager 用snap安裝,其他軟件可以去他們各自的store網(wǎng)站去找找,最后再考慮alien轉(zhuǎn)換deb,我用它毀壞過我的rpm環(huán)境(當然當時自信的用root去操作)。
提示
桌面系統(tǒng)是長久開發(fā)使用的,維護好系統(tǒng)的安全和完整很重要,不要輕易的用root去搞事情,多用sudo,你的系統(tǒng)就用的越久~
1. flatpak
Linux 上應(yīng)用程序的未來。Flatpak是用于在Linux上構(gòu)建和分發(fā)桌面應(yīng)用程序的下一代技術(shù),使用Flatpak,每個應(yīng)用程序都在隔離的環(huán)境中構(gòu)建和運行。

官方網(wǎng)站:https://flatpak.org/
應(yīng)用程序庫:https://flathub.org/home
基本上支持所有發(fā)行版的linux.你在官方的app store 中可能發(fā)現(xiàn)不了TIM,微信,迅雷,百度云等,有些大佬將深度的包重打包成flatpak,我們可以直接安裝,不過需要安裝深度的flatpak依賴,具體看下面的貼吧。
http://tieba.baidu.com/p/5759912059
注意:安裝完后應(yīng)用列表里會自動添加圖標,第一次運行盡量用命令來運行flatpak run xxx,因為能看到報錯(如果未安裝成功的話,避免一臉蒙蔽),如果成功運行以后就可以直接點圖標了。
常用命令:
- 安裝:
flatpak install xxxx.flatpak - 查看列表:
flatpak list
[fantj@localhost snap]$ flatpak list
Ref Options
com.tencent.wechat/i386/2.6 system,current
com.deepin.wine.Platform/i386/2.18 system,runtime
- 運行:
flatpak run com.tencen.tim - 刪除:
flatpak remove com.tencen.tim
全部命令
Usage:
flatpak [OPTION…] COMMAND
Builtin Commands:
Manage installed apps and runtimes
install Install an application or runtime
update Update an installed application or runtime
uninstall Uninstall an installed application or runtime
list List installed apps and/or runtimes
info Show info for installed app or runtime
config Configure flatpak
repair Repair flatpak installation
create-usb Put apps and/or runtimes onto removable media
Finding applications and runtimes
search Search for remote apps/runtimes
Running applications
run Run an application
override Override permissions for an application
make-current Specify default version to run
enter Enter the namespace of a running application
ps Enumerate running applications
Manage file access
document-export Grant an application access to a specific file
document-unexport Revoke access to a specific file
document-info Show information about a specific file
document-list List exported files
Manage dynamic permissions
permission-remove Remove item from permission store
permission-list List permissions
permission-show Show app permissions
permission-reset Reset app permissions
Manage remote repositories
remotes List all configured remotes
remote-add Add a new remote repository (by URL)
remote-modify Modify properties of a configured remote
remote-delete Delete a configured remote
remote-ls List contents of a configured remote
remote-info Show information about a remote app or runtime
Build applications
build-init Initialize a directory for building
build Run a build command inside the build dir
build-finish Finish a build dir for export
build-export Export a build dir to a repository
build-bundle Create a bundle file from a ref in a local repository
build-import-bundle Import a bundle file
build-sign Sign an application or runtime
build-update-repo Update the summary file in a repository
build-commit-from Create new commit based on existing ref
repo Print information about a repo
Help Options:
-h, --help Show help options
Application Options:
--version Print version information and exit
--default-arch Print default arch and exit
--supported-arches Print supported arches and exit
--gl-drivers Print active gl drivers and exit
-v, --verbose Print debug information during command processing, -vv for more detail
--ostree-verbose Print OSTree debug information during command processing
2. crossover(wine 收費發(fā)行版)
Linux 上運行 Windows 軟件,是 wine的發(fā)行版,可以破解。不了解wine的自行百度...
Wine與 Crossover 的本質(zhì)區(qū)別就是 Crossover 是商業(yè)版的Wine; Wine 是免費的,Crossover 是需要花錢買的,一個免費一個收費(滑稽),就知道誰好用了。
下載
官方鏈接:http://www.crossoverchina.com/xiazai.html

直接運行rpm包或者命令rpm -ivh crossoverxxxx.rpm進行安裝。
破解
破解文件下載:https://pan.baidu.com/s/1KZP3lEZI9SJ2HTgmxbkVgw
然后將/opt/cxoffice/lib/wine/winewrapper.exe.so這個文件替換即可。
使用
官方使用手冊:http://www.crossoverchina.com/rumen/ ,可以從本地安裝也可以從app store中安裝,當然,本地安裝一般用不了,除非老版本的應(yīng)用~
主要介紹從它本身應(yīng)用市場中安裝,下面是截圖:

軟件本身就有應(yīng)用市場,可以直接搜。也可以安裝本地的exe文件,但是不能保證可用,自己要琢磨,多百度。
3. fedy
主要用來安裝編解碼器,軟件等......由于我現(xiàn)在用的29 版本,目前該版本對fedy的支持還沒做(安裝不上),之前我用28版本的時候也是有點bug,也不知道是28版本的bug還是fedy的,這個想玩的可以試試。
安裝官網(wǎng):https://www.folkswithhats.org/
它的使用比較方便,直接打開后用鼠標點擊安裝即可。

4. Snapcraft
napcraft 是一個正在為其在 Linux 中的地位而奮斗的包管理系統(tǒng),它為你重新設(shè)想了分發(fā)軟件的方式。這套新的跨發(fā)行版的工具可以用來幫助你構(gòu)建和發(fā)布 snap 軟件包。
snap 軟件包被設(shè)計成用來隔離并封裝整個應(yīng)用程序。這些概念使得 snapcraft 提高軟件安全性、穩(wěn)定性和可移植性的目標得以實現(xiàn),其中可移植性允許單個 snap 軟件包不僅可以在 Ubuntu 的多個版本中安裝,而且也可以在 Debian、Fedora 和 Arch 等發(fā)行版中安裝
安裝
參考官方文檔:https://docs.snapcraft.io/installing-snap-on-fedora/6755
sudo dnf install snapd
sudo ln -s /var/lib/snapd/snap /snap
應(yīng)用商城
命令
查找應(yīng)用:
$ snap find "media player"
Name Version Developer Notes Summary
(...)
vlc 3.0.4 videolan? - The ultimate media player.
mpv 0.26.0 casept - a free, open source, and cross-platform media player.
(...)
查看應(yīng)用詳情
$ snap info vlc
name: vlc
summary: The ultimate media player
publisher: VideoLAN?
contact: https://www.videolan.org/support/
description: |
VLC is the VideoLAN project's media player.
(...)
snap-id: RT9mcUhVsRYrDLG8qnvGiy26NKvv6Qkd
commands:
- vlc
channels:
stable: 3.0.0 (158) 197MB -
candidate: 3.0.0 (158) 197MB -
beta: 3.0.0-5-g407d4ba (160) 197MB -
edge: 4.0.0-dev-1218-g201542f (159) 197MB
安裝:
sudo snap install vlc
執(zhí)行應(yīng)用:
在這里可以將該目錄添加到環(huán)境變量中,這樣可以直接執(zhí)行
redis-desktop-manager.rdm來啟動應(yīng)用。
/snap/bin/redis-desktop-manager.rdm

列出已安裝的應(yīng)用:
[fantj@localhost /]$ snap list
Name Version Rev Tracking Publisher Notes
core 16-2.35.5 5742 stable canonical? core
redis-desktop-manager 0.9.8+git 156 stable uglide -
更新應(yīng)用
sudo snap refresh vlc
更多命令
請查看官方doc:https://docs.snapcraft.io/getting-started/3876
5. alien
alien是一個用于在各種不同的Linux包格式相互轉(zhuǎn)換的工具,其最常見的用法是將.rpm轉(zhuǎn)換成.deb,或者反過來。
deb 是 Unix 系統(tǒng)(其實主要是 Linux )下的安裝包,基于 tar 包,因此本身會記錄文件的權(quán)限(讀/寫/可執(zhí)行)以及所有者/用戶組。
安裝
下載地址:http://ftp.de.debian.org/debian/pool/main/a/alien/
源碼安裝(CentOS推薦):
tar xxxx
perl Makefile.PL
make
make install
如果你是Fedora,推薦直接sudo dnf install alien
轉(zhuǎn)換格式
.deb包轉(zhuǎn)換成.rpm包 alien -r <package.deb>
.rpm包轉(zhuǎn)換成.deb包 alien -d <package.rpm>
eg:
alien -r libbz2-dev_1.0.6-5_i386.deb libbz2-dev-1.0.6-6.i386.rpm generated
rpm安裝
rpm -ivh xxx
如果報錯則安裝依賴:yum -y install python-libs python-wnck
總GitHub地址: https://github.com/fantj2016/java-reader