diff --git a/install_prerequisites.sh b/install_build_prerequisites.sh similarity index 84% rename from install_prerequisites.sh rename to install_build_prerequisites.sh index 1b2e478..768fccb 100755 --- a/install_prerequisites.sh +++ b/install_build_prerequisites.sh @@ -41,7 +41,7 @@ print_status "Detected OS: $OS $VER" case $OS in "Ubuntu"|"Debian GNU/Linux") # Common packages for both Ubuntu and Debian - PACKAGES="cmake make g++ devscripts debhelper libtbb-dev libxxhash-dev" + PACKAGES="cmake make g++ devscripts debhelper" ;; *) print_error "Unsupported distribution: $OS" @@ -54,6 +54,10 @@ is_package_installed() { dpkg -l "$1" 2>/dev/null | grep -q "^ii" } +# Update package lists +print_status "Updating package lists..." +apt-get update + # Install missing packages print_status "Checking and installing required packages..." for pkg in $PACKAGES; do @@ -69,10 +73,6 @@ for pkg in $PACKAGES; do fi done -# Update package lists -print_status "Updating package lists..." -apt-get update - # Verify all required tools are installed print_status "Verifying installation..." for tool in cmake make g++; do @@ -82,17 +82,5 @@ for tool in cmake make g++; do fi done -# Check TBB installation -if [ ! -d "/usr/include/tbb" ]; then - print_error "TBB headers not found" - exit 1 -fi - -# # Check Boost installation -# if [ ! -d "/usr/include/boost" ]; then -# print_error "Boost headers not found" -# exit 1 -# fi - print_status "All dependencies installed successfully!" print_status "You can now run ./build.sh to build the project" \ No newline at end of file diff --git a/host_autosetup/host_autosetup.sh b/remote_host_autosetup/host_autosetup.sh similarity index 100% rename from host_autosetup/host_autosetup.sh rename to remote_host_autosetup/host_autosetup.sh