3 ms·
Answer to your question and method for figuring out other "how to do something ubuntu in debian" questions. A great way to answer a lot of these questions is si
by dfc 13y ago
Answer to your question and method for figuring out other "how to do something ubuntu in debian" questions. A great way to answer a lot of these questions is simply use `apt-cache search` however this is not always enough. The next thing to try is apt-file. Install apt-file:
# apt-get -y install apt-file
Update apt-file db (might do this on install, I forget):
# apt-file update
Now the bit you are interested in: How do you add PPAs in ubuntu? Answer: `add-apt-repository`
Does debian have something named add-apt-repository?
# apt-file search add-apt-repository
software-properties-common: /usr/bin/add-apt-repository
software-properties-common: /usr/share/man/man1/add-apt-repository.1.gz
That looks familiar.
# apt-get install -y software-properties-common
# add-apt-repository ppa:libreoffice/ppa
As a long time debian fanboy I have to say "new software is exclusively published on Ubuntu" was kind of funny. Unless you were talking about `upstart` ;) A great reseource for debian is the Debian Administrators Handbook. The section on pinning is:
http://debian-handbook.info/browse/stable/sect.apt-get.html#sect.apt.priorities http://debian-handbook.info/browse/stable/sect.apt-get.html#...
- voltagex_ 13y agoApart from people on various #debian IRC channels getting grumpy if you mix package sources, sometimes Ubuntu has a newer libc than Debian so it can possibly cause problems. I wouldn't pull in an Ubuntu package for something in production - try backports or building from dsc first.
- dfc 13y agoIt is true that "sometimes it has a newer libc" and you can check this. If the libc version is important there will be a versioned depends in the control file. If the libc is too new in saucy I can change: deb http://ppa.launchpad.net/.../ubuntu saucy main deb-src http://ppa.launchpad.net/.../ubuntu saucy main to: deb http://ppa.launchpad.net/.../ubuntu precise main deb-src http://ppa.launchpad.net/.../ubuntu precise main OP was asking about software "exclusively" for ubuntu, so I have no idea why you are mentioning backports. When I need to get something (especially when it is an alternative twitter client as in the instant case) to work I could really care less if people on #debian would get grumpy if I told them about my solution.
- sandGorgon 13y agoNo I'm not referring to upstart. Incidentally, I'm pretty familiar with apt in the Ubuntu context, but this is not what I was referring to. For example, take a look at this - http://www.omgubuntu.co.uk/2014/01/turpial-3-available-ubuntu http://www.omgubuntu.co.uk/2014/01/turpial-3-available-ubunt.... How do you get this into Debian? This is what I mean by software that is published for ubuntu. I do not mean that it cannot be built for debian, but rather that it is not PUBLISHED for debian. Or is the only option to do a dpkg-build?
- dfc 13y agoI don't know what you are missing here. Did you think I spent all that time typing about add-apt-repository because a-a-r was a complete red herring? Did you notice that the page you link to mentioned a-a-r? $ sudo add-apt-repository ppa:effie-jayx/turpial
- ktf 13y agoThis is awesome, thanks! I've always assumed that PPAs were Ubuntu-only magic for some reason.