Hi,
I'm trying to install http://www.openhantek.org/ on my PI.
I'm not even getting through the first hurdle, it appears the command "add-apt-repository" is not found.
How do I add a repository to Raspbian? I've tried Googling to no avail. Is it even possible to add a repository?
Thanks!
Re: How to add a repository
Look in the /etc/apt directory. In particular /etc/apt/sources.list and/or files in the /etc/apt/sources.list.d directory.
These are all system files. You'll need to use sudo nano or similar to edit the files.
These are all system files. You'll need to use sudo nano or similar to edit the files.
Re: How to add a repository
If you are reading the page at http://www.openhantek.org/w/p/installation/, the clue is in the first sentence -Jodes wrote:Hi,
I'm trying to install http://www.openhantek.org/ on my PI.
I'm not even getting through the first hurdle, it appears the command "add-apt-repository" is not found.
How do I add a repository to Raspbian? I've tried Googling to no avail. Is it even possible to add a repository?
Thanks!
Since you are using Raspbian, you cannot be using Ubuntu. So the rest of the sentence does not apply to you.When using Ubuntu, OpenHantek can be easily installed from it's launchpad repository. To add the repository just execute the following command:
$ sudo add-apt-repository ppa:oliverhaag/openhantek
You will have to use the instructions which follow on that page, headed "Compiling from source"
How To Ask Questions The Smart Way: http://www.catb.org/~esr/faqs/smart-questions.html
How to Report Bugs Effectively: http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
How to Report Bugs Effectively: http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
Re: How to add a repository
Hi all
I have also been toying with the idea to hook up my Hantek DSO 2090 with a RPi . Have you had any success. Any help will be greatly appreciated ...
thanks a mil..
Rudie Lamprecht
South Africa
I have also been toying with the idea to hook up my Hantek DSO 2090 with a RPi . Have you had any success. Any help will be greatly appreciated ...
thanks a mil..
Rudie Lamprecht
South Africa
Re: How to add a repository
Raspberry pi comes without it installed by default, but running this quick command will make add-apt-repository available for you.
sudo apt-get install python-software-properties
sudo apt-get install python-software-properties
- mahjongg
- Forum Moderator
- Posts: 14785
- Joined: Sun Mar 11, 2012 12:19 am
- Location: South Holland, The Netherlands
Re: How to add a repository
"adding a repository" is just adding another URL to a list of web-sites (repositories) in a text file.
you can do that with any text editor.
The real question is simply where the text file is located, and what its name is.
For that google is your friend.
you can do that with any text editor.
The real question is simply where the text file is located, and what its name is.
For that google is your friend.
Re: How to add a repository
A more important question is "Is that repository compatible with Raspbian and the Raspberry Pi?"
That one probably isn't (if it doesn't say it is compatible, assume it is not).
The earlier comment about compiling from source is the safest option.
That one probably isn't (if it doesn't say it is compatible, assume it is not).
The earlier comment about compiling from source is the safest option.
- IgorGanapolsky
- Posts: 33
- Joined: Sun Apr 10, 2016 8:32 pm
Re: How to add a repository
Cannot rungrese wrote:Raspberry pi comes without it installed by default, but running this quick command will make add-apt-repository available for you.
sudo apt-get install python-software-properties
Code: Select all
add-at-repository
add-apt-repository: command not found
Re: How to add a repository
That script is part of the package software-properties-common, see https://packages.debian.org/search?suit ... repositoryadd-apt-repository: command not found
To install it
Code: Select all
sudo apt-get update
sudo apt-get install software-properties-common
Re: How to add a repository
Somebody...
If i can insert the software source.. Which mean i can install wine n no need that exagear? Am i right?
If i can insert the software source.. Which mean i can install wine n no need that exagear? Am i right?
-
- Posts: 27225
- Joined: Tue Mar 25, 2014 12:40 pm
Re: How to add a repository
Wine is compiled for machines with x86 / ppc CPU machines:MHerman wrote:Somebody...
If i can insert the software source.. Which mean i can install wine n no need that exagear? Am i right?
https://packages.debian.org/jessie/wine
The RPi has ARM CPU, Exagear I believe use an x86 emulator to run Wine........
Take what I advise as advice not the utopian holy grail, and it is gratis !!
Re: How to add a repository
SO, do you have any idea how to install wine without use exagear?
since i cannot insert the software souces? =.="
since i cannot insert the software souces? =.="
-
- Posts: 27225
- Joined: Tue Mar 25, 2014 12:40 pm
Re: How to add a repository
viewtopic.php?f=63&t=175389#p1119090MHerman wrote:SO, do you have any idea how to install wine without use exagear?
since i cannot insert the software souces? =.="
Seems like qemu virtual machine can virtualise a x86 environment and the package is available from the Radpbian Jessie repository:
http://www.qemu-project.org
Take what I advise as advice not the utopian holy grail, and it is gratis !!
-
- Posts: 1
- Joined: Mon Jun 25, 2018 8:44 am
Re: How to add a repository
I found myself needing a library from a distro that I'd just upgraded from. I had upgraded to Stretch from Jessie and I needed libjpeg8-dev to make Omxiv which is not available in Stretch. I added the old distro back to the sources list as follows.
In a terminal I entered:
sudo pico /etc/apt/sources.list
Next, edit the sources file to add Jessie by entering the following lines:
deb http://raspbian.raspberrypi.org/raspian/ jessie main contribute non-free rpi
deb-src http://raspbian.raspberrypi.org/raspian/ jessie main contribute non-free rpi
Next write/save (Ctrl o) the file and exit (Ctrl x).
Next, run update:
sudo apt-get update
That's it! I just did an install of libjpeg8-dev without any problems. Next I went back and opened the sources.list file again in Pico and commented out the souces that I had added by placing a # at the start of my Jessie sources so that I could add them back if needed.
Lastly, I ran update again to refresh the sources without Jessie so that no future installs could access the old distro unless I had no choice but to provide them access.
The end result was that I was finally able to run Raspicast on Stretch.
In a terminal I entered:
sudo pico /etc/apt/sources.list
Next, edit the sources file to add Jessie by entering the following lines:
deb http://raspbian.raspberrypi.org/raspian/ jessie main contribute non-free rpi
deb-src http://raspbian.raspberrypi.org/raspian/ jessie main contribute non-free rpi
Next write/save (Ctrl o) the file and exit (Ctrl x).
Next, run update:
sudo apt-get update
That's it! I just did an install of libjpeg8-dev without any problems. Next I went back and opened the sources.list file again in Pico and commented out the souces that I had added by placing a # at the start of my Jessie sources so that I could add them back if needed.
Lastly, I ran update again to refresh the sources without Jessie so that no future installs could access the old distro unless I had no choice but to provide them access.
The end result was that I was finally able to run Raspicast on Stretch.