[英]Install meld on Rhel6.5 without root priviledges
I am trying to install the meld( https://meldmerge.org/ ) package into Rhel6.5.我正在尝试将融合( https://meldmerge.org/ )package 安装到 Rhel6.5 中。 I found an rpm on rpmbone( http://rpm.pbone.net/info_idpl_16047923_distro_redhatel6_com_meld-1.4.0-1.el6.rf.noarch.rpm.html ).
我在 rpmbone 上找到了一个 rpm( http://rpm.pbone.net/info_idpl_16047923_distro_redhatel6_com_meld-1.4.0-1.el6.rf.noarch.rpm.html )。
I do not have root privileges and internet access.我没有 root 权限和互联网访问权限。 Thus I try to use 'https://github.com/mathieucaroff/user-yum.sh' this repository to install the meld into my home directory.
因此,我尝试使用“https://github.com/mathieucaroff/user-yum.sh”这个存储库将融合安装到我的主目录中。
After I installed the rpm with the 'user-yum', the meld could not start because of the following error.在我使用“user-yum”安装 rpm 后,由于以下错误,meld 无法启动。
import meld.paths ImportError: No module named meld.paths
After I search the meld package, it requires python-site packages( https://mail.gnome.org/archives/meld-list/2016-May/msg00007.html ).在我搜索了融合 package 之后,它需要 python-site 包( https://mail.gnome.org/archives/meld-list/2016-May/msg00007.ZFC35EZ883A )。2 And it is not possible to install meld as python package on the user environment on Rhel6.5.
并且无法在 Rhel6.5 的用户环境上安装 meld 为 python package。
Therefore, Instead of installing as an rpm, creating a bundle with all the required files solves the problem.因此,与其作为 rpm 安装,不如创建一个包含所有必需文件的包来解决问题。
Download bundle here ! 在这里下载捆绑包!
Installation steps are:安装步骤如下:
tar -xf meld-1.6.0.tar.xz
- Extract files. tar -xf meld-1.6.0.tar.xz
- 提取文件。cd ~/meld-1.6.0/bin
- Navigate the meld binary directory. cd ~/meld-1.6.0/bin
- 浏览 meld 二进制目录。echo "PATH=\"$(pwd):\$PATH\"" >> ~/.bashrc
- Add current directory to path. echo "PATH=\"$(pwd):\$PATH\"" >> ~/.bashrc
- 将当前目录添加到路径。source ~/.bashrc
- Source the bashrc. source ~/.bashrc
- 获取 bashrc。meld
- Run meld to verify. meld
- 运行 meld 进行验证。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.