(1)
info by:
https://blog.csdn.net/vr_jia/article/details/81052357
(2)
https://www.teamviewer.com/cn/download/linux/
=>
=>
=>
[chenqing@localhost opt]$ ls
google rh teamviewer teamviewer-host.x86_64.rpm
[chenqing@localhost opt]$
[chenqing@localhost opt]$ sudo cp ~/Do
Documents/ Downloads/
[chenqing@localhost opt]$ sudo cp ~/Downloads/teamviewer_14.2.2558.x86_64.rpm ./
[sudo] password for chenqing:
[chenqing@localhost opt]$ ls
google rh teamviewer teamviewer_14.2.2558.x86_64.rpm teamviewer-host.x86_64.rpm
[chenqing@localhost opt]$
/*
epel-release
qt5
i have install before:
=>
[chenqing@localhost opt]$ rpm -q qt
qt-4.8.7-2.el7.x86_64
[chenqing@localhost opt]$ rpm -q epel-release
epel-release-7-11.noarch
[chenqing@localhost opt]$
*/
[chenqing@localhost opt]$ sudo yum install ./teamviewer_14.2.2558.x86_64.rpm
[sudo] password for chenqing:
Loaded plugins: fastestmirror, langpacks
Repository google-chrome is listed more than once in the configuration
Examining ./teamviewer_14.2.2558.x86_64.rpm: teamviewer-14.2.2558-0.x86_64
Marking ./teamviewer_14.2.2558.x86_64.rpm to be installed
Resolving Dependencies
–> Running transaction check
—> Package teamviewer.x86_64 0:14.2.2558-0 will be installed
–> Processing Conflict: teamviewer-host-14.2.2558-0.x86_64 conflicts teamviewer
Loading mirror speeds from cached hostfile
- base: mirrors.nwsuaf.edu.cn
- epel: ftp.cuhk.edu.hk
- extras: mirrors.njupt.edu.cn
- updates: mirrors.njupt.edu.cn
teamviewer | 2.5 kB 00:00:00
teamviewer/x86_64/primary_db | 33 kB 00:00:23
–> Processing Conflict: teamviewer-14.2.2558-0.x86_64 conflicts teamviewer-host
–> Finished Dependency Resolution
Error: teamviewer-host conflicts with teamviewer-14.2.2558-0.x86_64
Error: teamviewer conflicts with teamviewer-host-14.2.2558-0.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
==>
[chenqing@localhost opt]$ rpm -q teamviem
package teamviem is not installed
[chenqing@localhost opt]$ rpm -q teamviewer
package teamviewer is not installed
[chenqing@localhost opt]$
[chenqing@localhost opt]$ rpm -q teamviewer-host
teamviewer-host-14.2.2558-0.x86_64
[chenqing@localhost opt]$
[chenqing@localhost opt]$ rpm -e teamviewer-host
error: can’t create transaction lock on /var/lib/rpm/.rpm.lock (Permission denied)
[chenqing@localhost opt]$ sudo rpm -e teamviewer-host
[sudo] password for chenqing:
Removed symlink /etc/systemd/system/multi-user.target.wants/teamviewerd.service.
Clearing assignments …
done
gtk-update-icon-cache: Cache file created successfully.
[chenqing@localhost opt]$ rpm -q teamviewer-host
package teamviewer-host is not installed
[chenqing@localhost opt]$
===>
[chenqing@localhost opt]$ sudo yum install ./teamviewer_14.2.2558.x86_64.rpm -y
Loaded plugins: fastestmirror, langpacks
Repository google-chrome is listed more than once in the configuration
Examining ./teamviewer_14.2.2558.x86_64.rpm: teamviewer-14.2.2558-0.x86_64
Marking ./teamviewer_14.2.2558.x86_64.rpm to be installed
Resolving Dependencies
–> Running transaction check
—> Package teamviewer.x86_64 0:14.2.2558-0 will be installed
–> Finished Dependency Resolution
Dependencies Resolved
Package Arch Version Repository Size
Installing:
teamviewer x86_64 14.2.2558-0 /teamviewer_14.2.2558.x86_64 64 M
Transaction Summary
Install 1 Package
Total size: 64 M
Installed size: 64 M
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
Installing : teamviewer-14.2.2558-0.x86_64 1/1
gtk-update-icon-cache: Cache file created successfully.
Verifying : teamviewer-14.2.2558-0.x86_64 1/1
Installed:
teamviewer.x86_64 0:14.2.2558-0
Complete!
[chenqing@localhost opt]$
====>
[chenqing@localhost opt]$ rpm -q teamviewer-host
package teamviewer-host is not installed
[chenqing@localhost opt]$ rpm -q teamviewer
teamviewer-14.2.2558-0.x86_64
[chenqing@localhost opt]$
===>
======================================================
/*
sudo yum install ./teamviewer_14.2.2558.x86_64.rpm -y
…
…
Installed:
teamviewer.x86_64 0:14.2.2558-0
Complete!
====>
[chenqing@localhost opt]$
[chenqing@localhost opt]$ rpm -q teamviewe
package teamviewe is not installed
[chenqing@localhost opt]$ rpm -q teamviewer-14.2.2558-0
teamviewer-14.2.2558-0.x86_64
[chenqing@localhost opt]$ rpm -q teamviewer-14.2.2558
teamviewer-14.2.2558-0.x86_64
[chenqing@localhost opt]$ rpm -q teamviewer-14
package teamviewer-14 is not installed
[chenqing@localhost opt]$ rpm -q teamviewer-14.2
package teamviewer-14.2 is not installed
[chenqing@localhost opt]$ rpm -q teamviewer-
package teamviewer- is not installed
[chenqing@localhost opt]$ rpm -q teamviewer
teamviewer-14.2.2558-0.x86_64
[chenqing@localhost opt]$
[chenqing@localhost opt]$ rpm -q teamviewer-14.2.2558-0.x86_64
teamviewer-14.2.2558-0.x86_64
[chenqing@localhost opt]$
*/
======================================================