linux centos7 声卡驱动安装

参考
(39条消息) CentOS 安装声卡驱动_weixin_34095889的博客-CSDN博客

Index of /files/pub/utils/ (alsa-project.org)

Index of /files/pub/lib/ (alsa-project.org)

Index of /files/pub/utils/ (alsa-project.org)

(39条消息) centos7.4 mini从系统安装到声卡配置_小桃子的思念的博客-CSDN博客_centos7 声卡驱动

[root@localhost ~]# yum install alsa-utils -y
File “/usr/bin/yum”, line 30
except KeyboardInterrupt, e:
^
SyntaxError: invalid syntax
[root@localhost ~]# yum install alsa-utils
File “/usr/bin/yum”, line 30
except KeyboardInterrupt, e:
^
SyntaxError: invalid syntax
[root@localhost ~]# vim /usr/bin/yum

!/usr/bin/python2.7

[root@localhost ~]# yum install alsa-utils
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

/usr/lib64/python2.7/site-packages/pycurl.so: undefined symbol: CRYPTO_num_locks

Please install a package which provides this module, or
verify that the module is installed correctly.

It s possible that the above module doesn t match the
current version of Python, which is:
2.7.5 (default, Oct 30 2018, 23:45:53)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-36)]

If you cannot solve this problem yourself, please go to
the yum faq at:
http://yum.baseurl.org/wiki/Faq

[root@localhost ~]# cd /hrifs/usr/lib/
[root@localhost lib]# rm -rf libcurl.so libcurl.so.4

[root@localhost lib]# yum install alsa-utils -y
已加载插件:fastestmirror, langpacks, nvidia
Loading mirror speeds from cached hostfile

  • base: mirrors.dgut.edu.cn
  • extras: mirrors.dgut.edu.cn
  • updates: ftp.sjtu.edu.cn
    File “/usr/libexec/urlgrabber-ext-down”, line 28
    except OSError, e:
    ^
    SyntaxError: invalid syntax
    File “/usr/libexec/urlgrabber-ext-down”, line 28
    except OSError, e:
    ^
    SyntaxError: invalid syntax

由于用户撤销而退出
[root@localhost lib]# vi /usr/libexec/urlgrabber-ext-down

! /usr/bin/python2.7

[root@localhost lib]# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: Generic Analog [Generic Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: Generic Digital [Generic Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
[root@localhost lib]# reboot

© 版权声明
THE END
如果内容对您有所帮助,就支持一下吧!
点赞0 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容