Linux Fedora(rpm)에 Google 어스 설치

Linux Fedora(rpm)에 Google 어스 설치

설치하려고 하는데구글 어스:

[alexus@wcmisdlin02 Desktop]$ cat /etc/redhat-release 
CentOS Linux release 7.1.1503 (Core) 
[alexus@wcmisdlin02 Desktop]$ uname -a
Linux wcmisdlin02.uftmasterad.org 3.10.0-229.1.2.el7.x86_64 #1 SMP Fri Mar 27 03:04:26 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
[alexus@wcmisdlin02 Desktop]$ sudo yum install ~/Downloads/google-earth-stable_current_x86_64.rpm 
Loaded plugins: fastestmirror, langpacks
Examining /home/alexus/Downloads/google-earth-stable_current_x86_64.rpm: google-earth-stable-7.1.4.1529-0.x86_64
Marking /home/alexus/Downloads/google-earth-stable_current_x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package google-earth-stable.x86_64 0:7.1.4.1529-0 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================================
 Package                  Arch        Version            Repository                                Size
========================================================================================================
Installing:
 google-earth-stable      x86_64      7.1.4.1529-0       /google-earth-stable_current_x86_64      194 M

Transaction Summary
========================================================================================================
Install  1 Package

Total size: 194 M
Installed size: 194 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test


Transaction check error:
  file /usr/bin from install of google-earth-stable-7.1.4.1529-0.x86_64 conflicts with file from package filesystem-3.2-18.el7.x86_64

Error Summary
-------------

[alexus@wcmisdlin02 Desktop]$ rpm -q filesystem
filesystem-3.2-18.el7.x86_64
[alexus@wcmisdlin02 Desktop]$ yum info filesystem
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirrors.lga7.us.voxel.net
 * epel: mirror.cogentco.com
 * extras: mirror.cs.vt.edu
 * updates: centos.mirror.nac.net
Installed Packages
Name        : filesystem
Arch        : x86_64
Version     : 3.2
Release     : 18.el7
Size        : 0.0  
Repo        : installed
From repo   : anaconda
Summary     : The basic directory layout for a Linux system
URL         : https://fedorahosted.org/filesystem
License     : Public Domain
Description : The filesystem package is one of the basic packages that is installed
            : on a Linux system. Filesystem contains the basic directory layout
            : for a Linux operating system, including the correct permissions for
            : the directories.

[alexus@wcmisdlin02 Desktop]$ 

... 말할 필요도 없이 나는할 수 없다패키지를 제거하면 filesystem전체 시스템이 망가질 수 있습니다.

조언해주세요.

답변1

Google RPM을 사용하는 데 큰 문제가 있어서 파일을 꺼내서 직접 복사하기 시작했습니다.

내 마법의 라인은 다음과 같습니다.

rpm2cpio google-earth-stable_current_x86_64.rpm  | cpio -idmv

편집: 예, 종속성 등을 확인한다는 점을 언급할 가치가 있을 것입니다....

답변2

PER 공식 Google 어스 포럼 --이는 RHEL 및 Fedora에서도 발생합니다. --rpm 문제가 있는 기타 사용자의 경우:Google 어스 포럼

간단히 말해서: (rpm-build가 설치되어 있고 다음에서 다운로드한다고 가정합니다.https://dl.google.com/dl/earth/client/current/google-earth-stable_current_x86_64.rpm)

user@centos7 $ rpmrebuild -d /tmp -ep google-earth-stable_current_x86_64.rpm

다음 줄을 제거하세요: %dir %attr(0755, root, root) "/usr/bin"

저장 및 종료

예라고 대답하세요

root@Centos7# yum install /tmp/x86_64/local Google Earth 패키지 경로

(선택사항) ln -s /opt/google/... /usr/bin

(또는 /opt/google/...이 아닌 경우 어디에 던졌든 /opt/google/...이 Google ware의 일반적인 위치이므로)

관련 정보