LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux Deepin (https://www.linuxquestions.org/questions/linux-deepin-101/)
-   -   how can I add repository in deepin? (https://www.linuxquestions.org/questions/linux-deepin-101/how-can-i-add-repository-in-deepin-4175563579/)

paramnesi 01-10-2016 04:39 PM

how can I add repository in deepin?
 
can i add repository in deepin from terminal?

TB0ne 01-10-2016 05:06 PM

Quote:

Originally Posted by paramnesi (Post 5476108)
can i add repository in deepin from terminal?

Read the "Question Guidelines" link in my posting signature. Please try to do SOME basic research of your own first...since you probably found this site with a Google search, if you put your EXACT question into Google, you'd see:
http://www.noobslab.com/2015/12/linu...fill-your.html

paramnesi 01-10-2016 05:45 PM

sorry but this is not that i'm searching for...i need to know if there is possible to add a repository in linux deepin in everiway, not how to have the deepin's terminal in ubuntu...

TB0ne 01-11-2016 08:03 AM

Quote:

Originally Posted by paramnesi (Post 5476130)
sorry but this is not that i'm searching for...i need to know if there is possible to add a repository in linux deepin in everiway, not how to have the deepin's terminal in ubuntu...

Try reading the link next time...pay particular attention to the line that says something along the lines of "add-apt-repository"...because, obviously, that's how you ADD a REPOSITORY from the command line.

Ztcoracat 06-07-2016 03:08 PM

I installed Deepin yesterday. Since Deepin is based on Debian unstable you can't go wrong by reading the Debian documentation and visit the Deepin forum.

Code:

sudo apt-get install software-properties-common
Read here:
http://unix.stackexchange.com/questi...hell-in-debian

https://en.bbs.deepin.org/

-::-Most of the time using Google provides an answer and you'll find if you look first (like TB0ne said) you won't need to post a thread for help.-::-

Linus Trovald 11-20-2018 04:15 AM

Friend you need to run the command firstly:
sudo nano / etc / apt / sources.list
Then you need to use Ctrl+x until sources.lists shows up then you need to enter the copied repository in my case this is:
sudo add-apt-repository ppa:docky-core/stable
then you need to use Ctrl+o to save and use Enter to exit..
That's it your repository have been added ..
It worked for me I'm using Deepin15.7
then you need to update and run the other commands you want to

TB0ne 11-20-2018 07:19 AM

Quote:

Originally Posted by Linus Trovald (Post 5927937)
Friend you need to run the command firstly:
sudo nano / etc / apt / sources.list
Then you need to use Ctrl+x until sources.lists shows up then you need to enter the copied repository in my case this is:
sudo add-apt-repository ppa:docky-core/stable
then you need to use Ctrl+o to save and use Enter to exit..
That's it your repository have been added ..
It worked for me I'm using Deepin15.7
then you need to update and run the other commands you want to

Right: we gave the OP information on this *TWO YEARS AGO*...why did you reopen this thread?

RHolden 01-28-2019 02:20 AM

WOW
 
So I was looking into adding repositories in Deepin and came across this thread, and I must say, some VERY Rude responses.

First just saying
Code:

sudo add-apt-repository <what ever repository to add>
DOES NOT work in Deepin by default as it does in Ubuntu, this is because it DOES NOT work in Debian by default. Obviously Canonical installs the needed software as part of their distro.

You have to add one of two packages depending the Debian version. They are:

Code:

sudo apt-get install software-properties-common
and

Code:

sudo apt-get install python-software-properties
Then I saw someone post how to edit the sources.list files. And then he got jumped on in a very rude manner as well.

Quote:

we gave the OP information on this *TWO YEARS AGO*
My guess is he did that because the answers that I saw were clear as mud. Given as a puzzle for OP to figure out. Just answer the bloody question and get it done with.. Thats what I did, and it really wasn't that hard. Now I am going to make Deepin like sudo add-apt-repository. Be a happy Penguin

TB0ne 01-29-2019 07:29 AM

Quote:

Originally Posted by RHolden (Post 5954312)
So I was looking into adding repositories in Deepin and came across this thread, and I must say, some VERY Rude responses.
First just saying
Code:

sudo add-apt-repository <what ever repository to add>
DOES NOT work in Deepin by default as it does in Ubuntu, this is because it DOES NOT work in Debian by default. Obviously Canonical installs the needed software as part of their distro. You have to add one of two packages depending the Debian version. They are:
Code:

sudo apt-get install software-properties-common
and
Code:

sudo apt-get install python-software-properties

Good for you...and you're missing the obvious, which is that answer was 100% correct when it was posted THREE YEARS AGO, for different versions of things. That's why such threads aren't good for reference, and why doing research on your own is good.
Quote:

Then I saw someone post how to edit the sources.list files. And then he got jumped on in a very rude manner as well. My guess is he did that because the answers that I saw were clear as mud. Given as a puzzle for OP to figure out. Just answer the bloody question and get it done with.. Thats what I did, and it really wasn't that hard. Now I am going to make Deepin like sudo add-apt-repository. Be a happy Penguin
If you think folks here are rude, why did you bother to join?? He got told that because, like you, he reopened a thread with information that didn't relate to the ORIGINAL question, which was asked for a different version that what is available now.

Again, as the "Question Guidelines" and LQ Rules state: people are expected to do BASIC RESEARCH first, before posting. In two or three years YOUR answer is 'clear as mud' as well.

RHolden 01-29-2019 09:55 AM

Actually it's pretty clear
 
The only reference that the OP needed to install another software package to get the functionality he was looking for was from Ztcoracat.

sudo apt-get install software-properties-common

He also included a link you can sift through to find out why you should install that.

My answer was very clear. It explains that the functionality OP is looking for is not native to Deepin, explains that a lot of people assume it is since distro's like Ubuntu have it native.

It then explains where to get the packages that add what he is looking for.

And in two or three years, this hasn't changed. I just had to install software-properties-common in Deepin 15.9 to add repositories.

Everything in one COMPLETE answer. Probably something OP should have been given THREE YEARS AGO. I like complete answers and explanations, as do most people. I am sorry if you feel people should have to figure out puzzles and sift through links that are "Their answer." Most people would disagree with you. Todays world moves to fast for that. They need answers as quickly as possible. And that isn't done by sifting through links.

However, I do agree that OP should have researched this first, he would have found the needed information. But since he didn't, and since you chose to answer, it should have been a complete explanation. That's really all I am trying to say.

And I joined specifically to address this thread and provide a complete answer.

TB0ne 01-29-2019 10:20 AM

Quote:

Originally Posted by RHolden (Post 5954990)
The only reference that the OP needed to install another software package to get the functionality he was looking for was from Ztcoracat.

sudo apt-get install software-properties-common

He also included a link you can sift through to find out why you should install that.

The OP asked if you *CAN* add a repository to Deepin through the terminal; the answer is "yes". The link I provided had commands to add some repositories, which is EXACTLY what he asked for. Ztcoracat provided a different repository and other links. Both are accurate to the question asked.
Quote:

My answer was very clear. It explains that the functionality OP is looking for is not native to Deepin, explains that a lot of people assume it is since distro's like Ubuntu have it native. It then explains where to get the packages that add what he is looking for.
What packages was he looking for?? Because his ENTIRE QUESTION was "can i add repository in deepin from terminal?" He mentioned zero packages, functionality, or anything specific.
Quote:

And in two or three years, this hasn't changed. I just had to install software-properties-common in Deepin 15.9 to add repositories.

Everything in one COMPLETE answer. Probably something OP should have been given THREE YEARS AGO. I like complete answers and explanations, as do most people. I am sorry if you feel people should have to figure out puzzles and sift through links that are "Their answer." Most people would disagree with you. Todays world moves to fast for that. They need answers as quickly as possible. And that isn't done by sifting through links.

However, I do agree that OP should have researched this first, he would have found the needed information. But since he didn't, and since you chose to answer, it should have been a complete explanation. That's really all I am trying to say.
That is done by actually LEARNING, isn't it?? And please explain why forum members should look things up for others, please. Forums like this exist to solve PROBLEMS. For example:
  • "I read xxx and it said to add a repository I should run yyy. When I do, I get this message, and the repo doesn't get added. Anyone seen this before?" ...is a good use of a forum. The poster has done research, and has encountered a problem that's not solvable, but SOMEONE may have a clue.
  • "Tell me the command to do zzz" is NOT, when just putting the exact question into pretty much any search engine would TELL YOU the command.
If you feel like it is too hard to do that, or read the documentation and learn on your own...not sure what to tell you.
Quote:

And I joined specifically to address this thread and provide a complete answer.
Again, good for you.

RHolden 01-29-2019 10:54 AM

OP's question was a little non descript, but no one asked for clarification did they? They just assumed to know what he was talking about. Perhaps he should have been redirected to LQ guides on how to ask a good question.

I knew what he was referring to, maybe I am intuitive, smart or maybe it was just because I use Deepin. I knew he was looking for how to get the add-apt-repository functionality. So ultimately he was looking for the software-properties-common package.

Some people, and I mean some as in very few, learn by putting pieces together until they see the whole picture. Most people learn by reading instructions, then doing the thing. This is why things come with instruction manuals. Which, as I have stated, OP should have done. At the same time, if you don't know what to look for, chances are you will never find it.

When I started working in the computer industry, my boss have me a great piece of advice.. "Remember your audience. These people may not have a clue what an RJ45 jack is. They didn't get a masters in computer science. Use terms they will understand, and explain in a way they will understand it."

The biggest thing I took from that, is remember your audience. A lot of doctors need that same advice. lol

snowday 01-29-2019 11:27 AM

Quote:

Originally Posted by RHolden (Post 5955006)
The biggest thing I took from that, is remember your audience.

Right back at you.

RHolden 01-30-2019 10:59 AM

I do remember my audience, thus the need for complete answers. :)

futurelucas4502 09-13-2019 02:39 PM

Dont be rude
 
Hi there i created an account simply to say this
@TB0ne the way you reacted to the question was nasty and aggressive and the answer you gave isn't correct now nor was it correct the some years ago this question was asked you got many things wrong first of all that deepin is an operating system completely independent of ubuntu meaning that straight away the answer you provided was talking about a completely different operating system where they had simply added the deepin styled terminal to a generic ubuntu install and the command that they specify is what they used to add said deepin styled terminal to ubuntu even tho the question clearly stated that they would like to know how to add repository to deepin not how to install a deepin styled terminal onto ubuntu so please don't turn around with an incorrect answer in an abusive manner with what makes it even worse a completely unrelated and unhelpful answer which is completely incorrect you asked them to do some base research before asking their questions and i'm guessing they must have therefore come across that site and known that is not what they wanted at all so i say back to you how about YOU do some base research before answering a question completely incorrectly and in an abusive manner as ubuntu and deepin are two very different operating systems.


All times are GMT -5. The time now is 01:16 PM.