为何要出这篇文章呢,相信不少redhat粉一直对桌面级系统念念不忘,可是桌面级的它却须要大量的时间去折腾,下载这下载那的,遍地找应用。由于他没有ubuntu和debian那么使用方便和部署,从此会陆续出关于redhat系列的桌面级使用工具下载和使用。固然本章对其余非redhat发行版只有参考价值,不建议手操。html
TIM 迅雷 用crossover安装,微信 百度云 用flatpak安装,redis-manager 用snap安装,其余软件能够去他们各自的store网站去找找,最后再考虑alien转换deb,我用它毁坏过个人rpm环境(固然当时自信的用root去操做)。java
桌面系统是长久开发使用的,维护好系统的安全和完整很重要,不要轻易的用root去搞事情,多用sudo
,你的系统就用的越久~python
Linux 上应用程序的将来。Flatpak是用于在Linux上构建和分发桌面应用程序的下一代技术,使用Flatpak,每一个应用程序都在隔离的环境中构建和运行。linux
官方网站:flatpak.org/ 应用程序库:flathub.org/homegit
基本上支持全部发行版的linux.你在官方的app store 中可能发现不了TIM,微信,迅雷,百度云等,有些大佬将深度的包重打包成flatpak,咱们能够直接安装,不过须要安装深度的flatpak依赖,具体看下面的贴吧。redis
tieba.baidu.com/p/575991205…ubuntu
注意:安装完后应用列表里会自动添加图标,第一次运行尽可能用命令来运行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
复制代码
Linux 上运行 Windows 软件,是 wine的发行版,能够破解。不了解wine的自行百度...bash
Wine与 Crossover 的本质区别就是 Crossover 是商业版的Wine; Wine 是免费的,Crossover 是须要花钱买的,一个免费一个收费(滑稽),就知道谁好用了。微信
官方连接:www.crossoverchina.com/xiazai.html
直接运行rpm包或者命令rpm -ivh crossoverxxxx.rpm
进行安装。
破解文件下载:pan.baidu.com/s/1KZP3lEZI…
而后将/opt/cxoffice/lib/wine/winewrapper.exe.so
这个文件替换便可。
官方使用手册:www.crossoverchina.com/rumen/ ,能够从本地安装也能够从app store中安装,固然,本地安装通常用不了,除非老版本的应用~
主要介绍从它自己应用市场中安装,下面是截图:
软件自己就有应用市场,能够直接搜。也能够安装本地的exe文件,可是不能保证可用,本身要琢磨,多百度。
主要用来安装编解码器,软件等......因为我如今用的29 版本,目前该版本对fedy的支持还没作(安装不上),以前我用28版本的时候也是有点bug,也不知道是28版本的bug仍是fedy的,这个想玩的能够试试。 安装官网:www.folkswithhats.org/
它的使用比较方便,直接打开后用鼠标点击安装便可。
napcraft 是一个正在为其在 Linux 中的地位而奋斗的包管理系统,它为你从新设想了分发软件的方式。这套新的跨发行版的工具能够用来帮助你构建和发布 snap 软件包。
snap 软件包被设计成用来隔离并封装整个应用程序。这些概念使得 snapcraft 提升软件安全性、稳定性和可移植性的目标得以实现,其中可移植性容许单个 snap 软件包不只能够在 Ubuntu 的多个版本中安装,并且也能够在 Debian、Fedora 和 Arch 等发行版中安装
sudo dnf install snapd
sudo ln -s /var/lib/snapd/snap /snap
复制代码
$ 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.
(...)
复制代码
$ 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
复制代码
在这里能够将该目录添加到环境变量中,这样能够直接执行
redis-desktop-manager.rdm
来启动应用。
/snap/bin/redis-desktop-manager.rdm
复制代码
[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 -
复制代码
sudo snap refresh vlc
复制代码
请查看官方doc:docs.snapcraft.io/getting-sta…
alien是一个用于在各类不一样的Linux包格式相互转换的工具,其最多见的用法是将.rpm转换成.deb,或者反过来。
deb 是 Unix 系统(其实主要是 Linux )下的安装包,基于 tar 包,所以自己会记录文件的权限(读/写/可执行)以及全部者/用户组。
下载地址:ftp.de.debian.org/debian/pool… 源码安装(CentOS推荐):
tar xxxx
perl Makefile.PL
make
make install
复制代码
若是你是Fedora,推荐直接sudo dnf install alien
.deb包转换成.rpm包 alien -r <package.deb>
.rpm包转换成.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 -ivh xxx
若是报错则安装依赖:yum -y install python-libs python-wnck
若是你喜欢个人文章,那麻烦请关注个人公众号,公众号重点分析架构师技术,该公众号还处于初始阶段,谢谢你们的支持。
java架构
获取架构视频资源(后期还会分享不一样的优质资源噢)。