agenticSeek icon indicating copy to clipboard operation
agenticSeek copied to clipboard

Support non-debian Linux

Open GeneralProtectionFault opened this issue 7 months ago • 3 comments

Currently, the install.sh script appears to assume apt. This doesn't work on distributions that use pacman or yum.

GeneralProtectionFault avatar May 25 '25 17:05 GeneralProtectionFault

Soon it will be available for them too it's just package which can be installed manually using the second instruction given! for installing python requirements using the command python3 -m pip install -r requirements.txt or similar rest for the chrome driver if you are using the chrome latest stable version then you can go for https://googlechromelabs.github.io/chrome-for-testing/ according to your version of chrome and download that particular chrome driver for testing you can run this code

import time

from selenium import webdriver



driver = webdriver.Chrome('/path/to/your/chromedriver')  # Optional argument, if not specified will search path.

driver.get('http://www.google.com/')

time.sleep(5) # Let the user actually see something!

search_box = driver.find_element_by_name('q')

search_box.send_keys('ChromeDriver')

search_box.submit()

time.sleep(5) # Let the user actually see something!

driver.quit()

if everything works fine then you are good to go

mannubaveja007 avatar May 25 '25 18:05 mannubaveja007

Ok, so I managed to get the web interface up doing it manually (didn't realize it's just installing the requiements, etc...).

I am a little unclear on a few things, and I'll document here in case it helps. I'm using Garuda (Arch based). Also bear in mind that gives me the fish terminal, so there would be slight variations (such as activate.fish).

First bit is the package dependencies. I just searched for them individually in Octopi to see what the Arch repos came up with. I think there'd need to be a list of required packages per type to be clear. I'd use pacman, but there are typical differences in package names so I needed to text search.

For the package dependencies: alsa-utils --installed via Octopi portaudio19-dev --installed lib32-portaudio & portaudio (not sure of necessity) python3-pyaudio --installed python-pyaudio via Octopi libgtk-3-dev --Already had most gtk3 packages, names like gtk3 lib32-gtk3, but not just libgtk-3 libnotify-dev --installed libnotify via Octopi (no libnotify-dev, but there is python-notify2) libgconf-2-4 --Didn't see this one, closes was pkgconf--which was installed libnss3 --installed libnss_nis/nss/lib32-nss via Octopi libxss1 --installed lib32-libxss/libxss via Octopi

So again, it seemed to work at least to the web interface, but a lot of packages are definitely different.

Another thing I'm a little unclear on is the necessity of the chromedriver. I did install it (136.0.7103.113). However, on my system, google-chrone --version doesn't work, but chromedriver -v does.

However, I got to the web interface by going to localhost:3000 in LibreWolf. I'm assuming this is because selenium is being used to do web search?

GeneralProtectionFault avatar May 25 '25 19:05 GeneralProtectionFault

hey @GeneralProtectionFault Yes you are right google-chrone --version will not work even it did't on my system just check manually with the chrome for the version or chrome://version

🌐 Smart Web Browsing - AgenticSeek can browse the internet by itself — search, read, extract info, fill web form — all hands-free.

This features mentioned in the readme says the need for chromedriver and You are right Selenium is being used to do the web Searches Smartly with the Help of AgenticSeek

mannubaveja007 avatar May 25 '25 19:05 mannubaveja007

it will be easier to install on non-debian linux once we get full dockerization of backend. Should be merged this week hopefully

Fosowl avatar May 26 '25 16:05 Fosowl

it will be easier to install on non-debian linux once we get full dockerization of backend. Should be merged this week hopefully

Great to know would like to contribute if available 😊

mannubaveja007 avatar May 26 '25 17:05 mannubaveja007

@mannubaveja007 Have a look at the docker_deployement branch, this is my current attempt but I was running into issue with chromium crashing on docker. Didn't have the time to fix it

Fosowl avatar May 26 '25 20:05 Fosowl

@Fosowl sure ASAP I get free I will work on that issue for containerization

mannubaveja007 avatar May 27 '25 03:05 mannubaveja007