Remove PAckage Eklendi

This commit is contained in:
cemrealpsoy 2016-07-20 16:16:19 +03:00
parent cda00f2810
commit 0dc279d961

View file

@ -262,3 +262,9 @@ class Util:
result_code, p_out, p_err = Util.execute(command)
return result_code, p_out, p_err
@staticmethod
def remove_package(package_name, package_version):
command = "sudo apt-get --yes --force-yes purge {0}={1}".format(package_name, package_version)
result_code, p_out, p_err = Util.execute(command)
return result_code, p_out, p_err