Linux DeepinThis forum is for the discussion of Linux Deepin.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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...
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.
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.
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
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?
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
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.
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.
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.
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.