linux卸载amd软件命令,How To Install-Uninstall AMDGPU-PRO driver on a SUSE® Enterprise Linux System...

Installing the AMDGPU-Pro Driver

There are three simple steps involved in the installation of the AMDGPU-Pro Driver: Download, Extract, and Install.  The instructions to perform the installation are intended for a SUSE Linux Enterprise Linux 12 SP2 installation and should take less than 10 minutes to complete.  Before installing the driver, a quick note on how to check if your system already has AMDGPU-PRO installed.  In addition, the recommended best practice is to bring the system up-to-date before starting the driver installation, with:

sudo zypper update

sudo reboot

System Check

The easiest way to find out if you have AMDGPU-Pro already installed on your SUSE system is via an RPM query.  Using the following command at a terminal will provide you with the version of the AMDGPU-Pro stack on your system, or if providing no output, informs you that there are no packages found:

rpm -qa | grep amdgpu -pro

Download

A direct link to download the Linux AMDGPU-Pro driver is given below and it is also available on the Driver Download Page. This file has a "tar.xz" extension which reflects a more-effective compression algorithm that (in most cases) creates a smaller archive than the more common gzip format.

NOTE: This file can also be located via the Driver Download Page by locating your card and selecting the Linux Driver link.

Extract

After the archive is downloaded, extract the contents to a temporary location from which you can install it. The example below assumes you have downloaded the archive to /tmp and will extract to the same location. If your file was downloaded into the ~/Downloads/ folder by default, you can also extract and install from there, and afterwards you can remove the install files.

(Notes: Please replace the "NNNNNN" in the following command line with the actual build number of the downloaded file.)

cd /tmp

tar -Jxvf amdgpu-pro-17.30-NNNNNN.tar.xz

Pre-Install

The AMDGPU-Pro driver requires access to specific RPMs from SUSE installation media for purposes of dependency resolution as well as DKMS support files (BumbleBee Repository) in order to build and install the DKMS module. A script named amdgpu-pro-pre-install.sh will confirm that all required prerequisite files and repositories are available in order to successfully install the AMDGPU-Pro driver in the SUSE environment. It can be run as follows:

sudo sh amdgpu-pro-preinstall.sh –-check

This will check if the required repositories are available to ensure a smooth installation. If there are any warnings, the script can be executed again without any options to build the necessary repositories.

sudo sh amdgpu-pro-preinstall.sh

Note that an internet connection will be required if BumbleBee DKMS support files are not found and SUSE installation media from a DVD, USB key or a mounted ISO will be required if the system does not have an active SUSE Subscription.

Install

Once the archive is expanded on the local machine and the amdgpu-pro-preinstall script has successfully confirmed all prerequisites, run the extracted script (amdgpu-pro-install) to install the graphics stack.

(Notes: Please replace the "NNNNNN" in the following command line with the actual build number of the downloaded file.)

cd amdgpu-pro-17.30-NNNNNN

./amdgpu-pro-install –n

sudo reboot

Uninstalling the AMD GPU-PRO Driver

If for any reason you wish to remove the AMDGPU-PRO graphics stack you can do this using the uninstallation script which was part of the installation and is present in your path. From the command prompt enter the following command:

amdgpu-pro-uninstall

Note: The SUSE installation media from a DVD, USB key or a mounted ISO will be required if the system does not have an active SUSE subscription.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值