LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Deepin
User Name
Password
Linux Deepin This forum is for the discussion of Linux Deepin.

Notices


Reply
  Search this Thread
Old 01-10-2016, 04:39 PM   #1
paramnesi
LQ Newbie
 
Registered: Jan 2016
Posts: 3

Rep: Reputation: Disabled
how can I add repository in deepin?


can i add repository in deepin from terminal?
 
Old 01-10-2016, 05:06 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,632

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by paramnesi View Post
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
 
Old 01-10-2016, 05:45 PM   #3
paramnesi
LQ Newbie
 
Registered: Jan 2016
Posts: 3

Original Poster
Rep: Reputation: Disabled
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...
 
Old 01-11-2016, 08:03 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,632

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by paramnesi View Post
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.
 
Old 06-07-2016, 03:08 PM   #5
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
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.-::-
 
Old 11-20-2018, 04:15 AM   #6
Linus Trovald
LQ Newbie
 
Registered: Nov 2018
Posts: 1

Rep: Reputation: Disabled
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
 
Old 11-20-2018, 07:19 AM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,632

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by Linus Trovald View Post
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?
 
Old 01-28-2019, 02:20 AM   #8
RHolden
LQ Newbie
 
Registered: Jan 2019
Posts: 6

Rep: Reputation: Disabled
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
 
1 members found this post helpful.
Old 01-29-2019, 07:29 AM   #9
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,632

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by RHolden View Post
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.
 
1 members found this post helpful.
Old 01-29-2019, 09:55 AM   #10
RHolden
LQ Newbie
 
Registered: Jan 2019
Posts: 6

Rep: Reputation: Disabled
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.

Last edited by RHolden; 01-29-2019 at 09:58 AM.
 
1 members found this post helpful.
Old 01-29-2019, 10:20 AM   #11
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,632

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by RHolden View Post
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.
 
Old 01-29-2019, 10:54 AM   #12
RHolden
LQ Newbie
 
Registered: Jan 2019
Posts: 6

Rep: Reputation: Disabled
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
 
1 members found this post helpful.
Old 01-29-2019, 11:27 AM   #13
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
Quote:
Originally Posted by RHolden View Post
The biggest thing I took from that, is remember your audience.
Right back at you.
 
1 members found this post helpful.
Old 01-30-2019, 10:59 AM   #14
RHolden
LQ Newbie
 
Registered: Jan 2019
Posts: 6

Rep: Reputation: Disabled
I do remember my audience, thus the need for complete answers.
 
Old 09-13-2019, 02:39 PM   #15
futurelucas4502
LQ Newbie
 
Registered: Sep 2019
Posts: 1

Rep: Reputation: Disabled
Red face 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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to add 4 to 9 repository urls in one repository with custom name? RehanKhan Ubuntu 1 08-06-2014 11:54 AM
Additions to add to Deepin 12.12 Final DeepinGal Linux Deepin 2 06-28-2013 02:16 AM
[SOLVED] using maverick - added one new repository but now can't add another repository gerryyy Linux - Software 6 02-16-2011 06:47 AM
[SOLVED] Difference between add-apt-repository and apt-add-repository Kenny_Strawn Ubuntu 3 12-22-2010 07:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Deepin

All times are GMT -5. The time now is 01:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration