advice needed for ip camera software for ubuntu

Did you come right @kronoSX ?

If not run: sudo su -

Before the commands I posted then try and install from the UI again.

Otherwise DM me.

These guys forget they also started somewhere. Me personally I was a noob menacing the experienced guys on the old GLUG mailing list back in the day.
I gave a selection of free basic courses.

If he doesn't understand the basics - anything out of the ordinary or any issues and he'll be stuck again - possibly indefinitely as already evidenced here.

There's a thing about feeding a man a fish vs teaching him to fish. You may think you're helping but you're setting him up for hours more pain.

Do the work.
 
I gave a selection of free basic courses.

If he doesn't understand the basics - anything out of the ordinary or any issues and he'll be stuck again - possibly indefinitely as already evidenced here.

There's a thing about feeding a man a fish vs teaching him to fish. You may think you're helping but you're setting him up for hours more pain.

Do the work.
Your missing the point. He is not taking up Linux as a hobby. He wants to install an app. That is all.

It’s a dependency issue you know that as well as I. No need to study the OS.

There is nothing to gatekeeper here.
 
Your missing the point. He is not taking up Linux as a hobby. He wants to install an app. That is all.

It’s a dependency issue you know that as well as I. No need to study the OS.

There is nothing to gatekeeper here.
Technically it's not a dependency issue - he just thinks it is (and you're jumping on the bandwagon).

The curl script they provide actually does everything he needs - he's going down a rabbit hole he doesn't need to, just like you - BECAUSE he refuses to read.

The beauty of open source is - hey look, open code. No Docker Desktop in the requirements...
$ curl -o mydownload https://raw.githubusercontent.com/ispysoftware/agent-install-scripts/main/v2/install.sh
$ cat mydownload

#!/bin/bash
# Install script for AgentDVR/ Linux
# To execute: save and `chmod +x ./install.sh` then `./install.sh`
if [[ ("$OSTYPE" == "darwin"*) ]]; then
# If darwin (macOS)
bash <(curl -H 'Cache-Control: no-cache, no-store' -s "https://raw.githubusercontent.com/ispysoftware/agent-install-scripts/main/v2/osx_setup.sh")
exit
fi
bash <(curl -H 'Cache-Control: no-cache, no-store' -s "https://raw.githubusercontent.com/ispysoftware/agent-install-scripts/main/v2/linux_setup.sh")


---


$ curl -o mydownload2 https://raw.githubusercontent.com/ispysoftware/agent-install-scripts/main/v2/linux_setup.sh
$ cat mydownload2

#!/bin/bash
# Install script for AgentDVR/ Linux
# To execute: save and `chmod +x ./linux_setup2.sh` then `./linux_setup2.sh`
. /etc/*-release
arch=`uname -m`
ffmpeg_installed=false
if [[ ("$OSTYPE" == "darwin"*) ]]; then
# If arm64 AND darwin (macOS)
echo "Use use osx_setup.sh instead"
exit
fi
machine_has() {
eval $invocation
command -v "$1" > /dev/null 2>&1
return $?
}
ABSOLUTE_PATH="${PWD}"
mkdir AgentDVR
cd AgentDVR
if [ "$DISTRIB_ID" = "Ubuntu" ] ; then
read -p "Install ffmpeg v5 from package manager (y/n)? " answer
if [ "$answer" != "${answer#[Yy]}" ] ;then
echo Yes
sudo apt-get install -y software-properties-common alsa-utils
sudo add-apt-repository ppa:savoury1/ffmpeg4 -y
sudo add-apt-repository ppa:savoury1/ffmpeg5 -y
sudo apt update
sudo apt upgrade -y
sudo apt install ffmpeg -y
ffmpeg_installed=true
fi
else
echo "No default ffmpeg package option - build from source"
fi
if [ "$ffmpeg_installed" = false ]
then
read -p "Build ffmpeg v5 for Agent DVR (y/n)? " answer
if [ "$answer" != "${answer#[Yy]}" ] ;then
echo Yes


echo "installing build tools"
if machine_has "apt-get"; then
sudo apt-get update \
&& sudo apt-get install --no-install-recommends -y unzip python3 curl make g++ build-essential libvlc-dev vlc libx11-dev libtbb-dev libc6-dev gss-ntlmssp libusb-1.0-0-dev apt-transport-https libatlas-base-dev alsa-utils libxext-dev
else
sudo yum update \
&& sudo yum install -y autoconf automake bzip2 bzip2-devel freetype-devel gcc gcc-c++ git libtool make pkgconfig zlib-devel libvlc-dev vlc libx11-dev libxext-dev
fi

mkdir -p ffmpeg-v5
cd ffmpeg-v5
curl -H 'Cache-Control: no-cache, no-store' -s -L "https://raw.githubusercontent.com/ispysoftware/agent-install-scripts/main/v2/ffmpeg_build.sh" | bash -s -- --build --enable-gpl-and-non-free

subScriptExitCode="$?"
if [ "$subScriptExitCode" -ne 0 ]; then
exit 1
fi
fi
else
echo "Found ffmpeg"
fi
cd $ABSOLUTE_PATH/AgentDVR/
#download latest version
FILE=$ABSOLUTE_PATH/AgentDVR/Agent
if [ ! -f $FILE ]
then
echo "finding installer for $(arch)"
purl="https://www.ispyconnect.com/api/Agent/DownloadLocation4?platform=Linux64&fromVersion=0"
#AGENTURL="https://ispyfiles.azureedge.net/downloads/Agent_Linux64_4_1_2_0.zip"

case $(arch) in
'aarch64' | 'arm64')
purl="https://www.ispyconnect.com/api/Agent/DownloadLocation4?platform=LinuxARM64&fromVersion=0"
#AGENTURL="https://ispyfiles.azureedge.net/downloads/Agent_ARM64_4_1_2_0.zip"
;;
'arm' | 'armv6l' | 'armv7l')
purl="https://www.ispyconnect.com/api/Agent/DownloadLocation4?platform=LinuxARM&fromVersion=0"
#AGENTURL="https://ispyfiles.azureedge.net/downloads/Agent_ARM32_4_1_2_0.zip"
;;
esac
AGENTURL=$(curl -s --fail "$purl" | tr -d '"')
echo "Downloading $AGENTURL"
curl --show-error --location "$AGENTURL" -o "AgentDVR.zip"
unzip AgentDVR.zip
rm AgentDVR.zip
else
echo "Found Agent in $ABSOLUTE_PATH/AgentDVR - delete it to reinstall"
fi
#for backward compat with existing service files
echo "downloading start script for back compat"
curl --show-error --location "https://raw.githubusercontent.com/ispysoftware/agent-install-scripts/main/v2/start_agent.sh" -o "start_agent.sh"
chmod a+x ./start_agent.sh
echo "Adding execute permissions"
chmod +x ./Agent
find . -name "*.sh" -exec chmod +x {} \;
cd $ABSOLUTE_PATH
name=$(whoami)
#add permissions for local device access
echo "Adding permission for local device access"
sudo adduser $name video
sudo usermod -a -G video $name


read -p "Setup AgentDVR as system service (y/n)? " answer
if [ "$answer" != "${answer#[Yy]}" ] ;then
echo Yes
echo "Installing service as $name"
curl --show-error --location "https://raw.githubusercontent.com/ispysoftware/agent-install-scripts/main/v2/AgentDVR.service" -o "AgentDVR.service"
sed -i "s|AGENT_LOCATION|$ABSOLUTE_PATH/AgentDVR|" AgentDVR.service
sed -i "s|YOUR_USERNAME|$name|" AgentDVR.service
sudo chmod 644 ./AgentDVR.service

sudo systemctl stop AgentDVR.service
sudo systemctl disable AgentDVR.service
if [ -f /etc/systemd/system/AgentDVR.service ]; then
sudo rm /etc/systemd/system/AgentDVR.service
fi

sudo chown $name -R $ABSOLUTE_PATH/AgentDVR
sudo cp AgentDVR.service /etc/systemd/system/AgentDVR.service
sudo systemctl daemon-reload
sudo systemctl enable AgentDVR.service
sudo systemctl start AgentDVR
echo "started service"
echo "go to http://localhost:8090 to configure"
exit 0
else
cd AgentDVR
./Agent
fi
exit 0

1665521795725.png
 
Last edited:
I am a new linux user and alot of things are different and very difficult to make work, and alot of command line stuff which i will never get ans my iq is beyond this.I use windows for over 20 years and i really cant grasp this linux thing.

You start trying to fix one problem then another arises,,i mean do one actually win or is it to blame on outdated repos and missing files on servers.This is way beyond my skills.i mean windows i search find and destroy.lol.

With linux is find apply destroy then it implodes on itself over and over and then find and destroy.What bollocks .
I mean why cant simple line commands on sites work as intended.geez
@s0lar re-read this post,then read it again,and maybe a 3rd time till it's clearer to you

There was no dependency issue for what he actually wanted to do,he made a fundamental error not reading,but assuming it will work like windows and got lost down the wrong path following advice but not understanding the advice - which does have a dependency error - but is also significantly more complex.

Sometimes you have to try understand the core issues,not just assume the user knows what they need/want. This post seems to indicate a large fundamental shift and multiple issues with basic experience - you don't solve that by "just telling him what to do"
 
You know what hey...This is a forum for help and advice.I thank you all for that.I thought i could get help by someone feeding me command line code that i just had to copy then past into terminal.I just wanted a app installed for ip camera.
I dont know linux at all and been using it for a month or 2 now as my main OS.I am dual booted with windows so its no problem and i got another 2 laptops in my house with ubuntu/windows 11 on and one with macosx.I got ip camera software on those.
I am heavy with gui based systems and line commands is not something i am accustomed to.

What i have learned now is dont ask for help on linux when you dont know the basics.I decided to use the main ubuntu help forum instead as they do spoon feed you i think..lol.We all have to start somewhere so as of now i will not ask for help until i completed the course.

Thank you and goodbye .
 
You know what hey...This is a forum for help and advice.I thank you all for that.I thought i could get help by someone feeding me command line code that i just had to copy then past into terminal.I just wanted a app installed for ip camera.
I dont know linux at all and been using it for a month or 2 now as my main OS.I am dual booted with windows so its no problem and i got another 2 laptops in my house with ubuntu/windows 11 on and one with macosx.I got ip camera software on those.
I am heavy with gui based systems and line commands is not something i am accustomed to.

What i have learned now is dont ask for help on linux when you dont know the basics.I decided to use the main ubuntu help forum instead as they do spoon feed you i think..lol.We all have to start somewhere so as of now i will not ask for help until i completed the course.

Thank you and goodbye .
I know you probably think we're being "dicks" but we've given you the answer multiple times (this screenshot alone has been reposted 3x and contains all the installation instructions you need).

Open a terminal and type:
Code:
sudo apt-get install curl
Hit enter and type:
Code:
bash <(curl -s "https://raw.githubusercontent.com/ispysoftware/agent-install-scripts/main/v2/install.sh")

You're just refusing to actually acknowledge it or try. Instead you're going on about something that's irrelevant - which is why people don't actually want to assist new users, who don't listen or follow instructions. It's a lot of time / effort for very little reward.


1665563875893.png
 
I know you probably think we're being "dicks" but we've given you the answer multiple times (this screenshot alone has been reposted 3x and contains all the installation instructions you need).

Open a terminal and type:
Code:
sudo apt-get install curl
Hit enter and type:
Code:
bash <(curl -s "https://raw.githubusercontent.com/ispysoftware/agent-install-scripts/main/v2/install.sh")

You're just refusing to actually acknowledge it or try. Instead you're going on about something that's irrelevant - which is why people don't actually want to assist new users, who don't listen or follow instructions. It's a lot of time / effort for very little reward.


View attachment 1399127
1665590240304.png
 
I need some advice of good software for ip camera.Google i did and tried to install some but they not working or cant find repo for it or outdated stuff.I need something like security eye windows software but for linux
Hope you learned your lesson asking Linux guys for help. Best way is to learn and figure it out yourself. The Linux community wants people to switch to Linux, but the moment a person asks for help you get the toxic elitist bullshit from them.

That said. They did point you in the right direction and you probably could have done some further digging yourself and be less stubborn. Send me a PM and I can give you some really great Linux resources that can help you get used to working with Linux. It's great once you get used to it and you will soon find out how great Linux(minus the community) can be.

But if you want a really easy way to do things with minimal effort and minimal fun. Best to rather stick to Windows.

If you eventually get sick of Ubuntu, come join us on the RedHat side of the family. Make sure to bring your Fedora.
 
Last edited:
toxic elitist bullshit from them.
RTFM and type these 2 things as provided to you here repeatedly and stop arguing because you feel like it - Elitist Bullshit (c) Virex

That fedora must be cutting the circulation to your ladyparts
 
RTFM and type these 2 things as provided to you here repeatedly and stop arguing because you feel like it - Elitist Bullshit (c) Virex

That fedora must be cutting the circulation to your ladyparts
ok
 
Hope you learned your lesson asking Linux guys for help. Best way is to learn and figure it out yourself. The Linux community wants people to switch to Linux, but the moment a person asks for help you get the toxic elitist bullshit from them.

That said. They did point you in the right direction and you probably could have done some further digging yourself and be less stubborn. Send me a PM and I can give you some really great Linux resources that can help you get used to working with Linux. It's great once you get used to it and you will soon find out how great Linux(minus the community) can be.

But if you want a really easy way to do things with minimal effort and minimal fun. Best to rather stick to Windows.

If you eventually get sick of Ubuntu, come join us on the RedHat side of the family. Make sure to bring your Fedora.
yes i have noticed how this community treat newbies.I was on reddit and asked the same question and there was one very patient person that actually helped more than he should.He treated me as a retard and provided great help......and he never said go study the basics then come back to me.

I am not a bad person and i go out my way to help people.There are a few people on this forum that should rather stick to off topics.Its strange how someone tells you go study first then come back..lol

The guy on the lunux forum and on reddit worked with me and in the end nothing worked and both said my broken packages is far gone and will have to reinstall ubuntu as last option cause ffmeg can not be installed via apt or aptitude.
 
is shinobi not paid software.I tried it i wil post the results. later
The pro has a open source eula so you need a license for commercial use, though they still have the community edition which is gpl v3 if you prefer
 
Hope you learned your lesson asking Linux guys for help. Best way is to learn and figure it out yourself. The Linux community wants people to switch to Linux, but the moment a person asks for help you get the toxic elitist bullshit from them.

That said. They did point you in the right direction and you probably could have done some further digging yourself and be less stubborn. Send me a PM and I can give you some really great Linux resources that can help you get used to working with Linux. It's great once you get used to it and you will soon find out how great Linux(minus the community) can be.

But if you want a really easy way to do things with minimal effort and minimal fun. Best to rather stick to Windows.

If you eventually get sick of Ubuntu, come join us on the RedHat side of the family. Make sure to bring your Fedora.
If I ask how to teach me to 4x4 - are you first going to take me for driving lessons (at your own cost and time)? OR are you going to tell me that I need to first get my learners, pay for lessons and then you'll give me tips on 4x4'ing once I'm a certified driver?

Stop white knighting for a second and realize that in order for him to progress he has to learn. There's no way around that - telling someone who's never driven a car before about high and low range isn't enabling them - it's setting them up for failure.

I have zero problem teaching beginners, but they have to a) want to learn or b) follow instructions c) provide structured feedback - all of which the OP was avoiding doing.

You can only waste so much of your time (doing this for countless beginners - who may or may not even reply back - and if they do, it's not what you asked) before you don't actively do it anymore.
 
Last edited:
If I ask how to teach me to 4x4 - are you first going to take me for driving lessons (at your own cost and time)? OR are you going to tell me that I need to first get my learners, pay for lessons and then you'll give me tips on 4x4'ing once I'm a certified driver?

Stop white knighting for a second and realize that in order for him to progress he has to learn. There's no way around that - telling someone who's never driven a car before about high and low range isn't enabling them - it's setting them up for failure.

I have zero problem teaching beginners, but they have to a) want to learn or b) follow instructions c) provide structured feedback - all of which the OP was avoiding doing.

You can only waste so much of your time (doing this for countless beginners - who may or may not even reply back - and if they do, it's not what you asked) before you don't actively do it anymore.
look i went to other forums and they gladly helped me from the start like i am a baby,really they never posted stuff like this,I told that guy i know nothing on ubuntu,Hes said OMG but he proceeded to help me.So i thank you guys for assistance, but to be honest i did not think you would react this way.
The problem now is i have major broken packages on ubuntu and i will have to reinstall everything from start.

I seen a ubuntu forum post where you basically have to do alot of line commands to delete a whole lot of sheet.Then reinstall certain stuff but that is to advanced for me..lol.

Be love and kind and always remember nothing is free in this world something gotta give somewhere.When i have reinstalled Ubuntu i will try again.
 
yes i have noticed how this community treat newbies.I was on reddit and asked the same question and there was one very patient person that actually helped more than he should.He treated me as a retard and provided great help......and he never said go study the basics then come back to me.

I am not a bad person and i go out my way to help people.There are a few people on this forum that should rather stick to off topics.Its strange how someone tells you go study first then come back..lol

The guy on the lunux forum and on reddit worked with me and in the end nothing worked and both said my broken packages is far gone and will have to reinstall ubuntu as last option cause ffmeg can not be installed via apt or aptitude.
Linux mint has a convenient GUI tool in the update manager where you can remove third party sources and downgrade packages to the native ones or remove them completely if there is no native package. It might be a easier distro for you try try while you are learning because you will be breaking alot of packages still. Mint also has a very active forum and the distro is based on ubuntu so guides for ubuntu will usualy work on Mint too although it's good to make sure before you start.
 
Top
Sign up to the MyBroadband newsletter
X