diff --git a/install.py b/install.py index 3991def..7443a30 100644 --- a/install.py +++ b/install.py @@ -24,12 +24,12 @@ def check_os(): if __name__ == "__main__": check_os() if is_debian: - os.system('apt-get update && apt-get upgrade -y') + os.system('sudo apt-get update && apt-get upgrade -y') for p in linux_packages: - os.system(f'apt-get install {p} -y') + os.system(f'sudo apt-get install {p} -y') if is_rhel: - os.system('dnf upgrade -y') + os.system('sudo dnf upgrade -y') for p in linux_packages: - os.system(f'dnf install {p} -y') + os.system(f'sudo dnf install {p} -y') print(f'is_windows: {is_windows}, is_macos: {is_macos}, is_linux: {is_linux}, is_debian: {is_debian}, is_rhel: {is_rhel}') \ No newline at end of file