FINALLY! Ubuntu Repository for D Packages
ATTENTION!!!
This article is obsolete. New repo is available at repository.palos.ro.
More info in the new article.
And here I am, finally triumphant in my quest to implement a package repository in the Tango sub-section at DSource.org (with the help of Lars Ivar Igesund).
[Edited] The previous link I used to archive the packages is, however, not obsolete and I will update it further with both source scripts and binary packages (this is because some of you might still want to use “dpkg -i …” to install and not the repo - such as Debian users). Here’s the address: http://download.palos.ro/Debian D Packages/
The repository is at the following address (though you should follow the instructions below to add it to your apt configuration):
http://downloads.dsource.org/projects/tango/ubuntu/
Usage Instructions
To add the repo to your apt configuration run these two commands in a prompt:
sudo wget http://downloads.dsource.org/projects/tango/ubuntu/<version>.list -O /etc/apt/sources.list.d/dpackages.list wget -q http://downloads.dsource.org/projects/tango/ubuntu/public.key -O- | sudo apt-key add -
where <version> is either “gutsy” or “hardy” (without the quotes) depending on what you have running. In fact both versions will work everywhere because there is no difference between gutsy and hardy (for now) as far as the packages are concerned (but there might be between future releases so…).
After that, update the apt package lists:
sudo apt-get update
And that’s it. You can now use synaptic (or whatever) to install the packages you need. For example, to install all packages (for now only the i386 architecture provides both DMD and GDC sets while x86_64 only provides the GDC set) you can run this command:
sudo apt-get install gdc dsss tango-gdc tangobos-gdc dmd tango-dmd tangobos-dmd
Notes:
These repos should work for Debian also. Please tell me if you manage to verify this.
As I said above the source scripts that generate these packages can be found here: http://download.palos.ro/Debian D Packages/
Hope this eases the pain for future D developers.
Enjoyed this post?, why not subscribe to the RSS feed!
April 6th, 2008 at 1:53 pm
[…] Thoughts about high architecture and sheer speed. ← Debian D Packages - Release 3 FINALLY! Ubuntu Repository for D Packages […]
April 6th, 2008 at 2:00 pm
You mention /debian, but I think there is only ubuntu on the server?
April 6th, 2008 at 2:03 pm
You’re right! My mistake, the correct path is /ubuntu! Thanks for pointing it out for me.
April 6th, 2008 at 6:22 pm
great!!
but still can’t understand how to build a “deb-line” for debian etch?!
April 6th, 2008 at 7:20 pm
Just use:
deb http://downloads.dsource.org/projects/tango/ubuntu hardy free non-free
Let me know how it works.
April 7th, 2008 at 5:52 am
[…] Ubuntu (and I suppose Debian?) users can now get their D fix from a repository set up at the Tango website. Read more about it, including detailed instructions, over at the CodeBlog. […]
April 7th, 2008 at 10:51 am
Great work! Thx. :)
April 7th, 2008 at 10:56 am
U’r welcome! :)
April 7th, 2008 at 12:02 pm
> Just use:
>
> deb http://downloads.dsource.org/projects/tango/ubuntu hardy free non-free
>
> Let me know how it works.
hm… i think it is bad idea to mix ubuntu/debian packages…
prefer to install simple # dpkg -i package.deb
PS: still waiting for true debian package (simple ln -s ?! :D)
April 7th, 2008 at 12:28 pm
I understand! Unfortunately I don’t have the time to test these packages for Debian as well (enough to make them a separate debian repo).
Ok then, I’ll also upload the packages at the download location mentioned in the previous post.
So if any of you still want to install using the “dpkg -i …” way, you can go there.
Please post a comment if they work (or not) under Debian!
April 7th, 2008 at 6:52 pm
> Ok then, I’ll also upload the packages at the download location mentioned in the previous post.
thanks for that
Page2RSS on that :D
May 7th, 2008 at 1:09 am
Great work …
works perfect for me (Ubuntu 8.04 Hardy)
When will Tango 0.99.6 Jeff would be available?
greets warker
May 7th, 2008 at 6:35 pm
Done! :)
May 7th, 2008 at 6:40 pm
[…] for convenience here is the article with information about our repository at the Tango […]
May 8th, 2008 at 10:34 am
[…] on 64bit architectures. As a result you will find the tangobos-gdc SVN Release 58 for x86_64 in the repo as well as at http://download.palos.ro/Debian D […]
May 20th, 2008 at 8:10 pm
> Just use:
>
> deb http://downloads.dsource.org/projects/tango/ubuntu hardy free non-free
>
> Let me know how it works.
It works great with Debian Unstable.
May 20th, 2008 at 8:34 pm
Thanks, albatroz… I was wondering about that.
July 27th, 2008 at 5:21 pm
Great stuff!
When will Tango 0.99.7 Dominik be available?
July 27th, 2008 at 11:25 pm
Hey MrMonday :)
Hopefully, I will have a release by tomorrow evening. I have to get to my office to make the update.
July 28th, 2008 at 4:47 pm
Cool stuff, thanks :)
September 10th, 2008 at 6:50 am
[…] is obsolete. See here for […]
November 4th, 2008 at 3:49 am
Hi already exists new version of Ubuntu, can you change it in dsource? Thanks
Talpa
November 12th, 2008 at 1:25 am
Can’t compile simple example (http://www.digitalmars.com/d/1.0/wc.html) from D site with you packages on my Ubuntu 8.10, here is the output:
$ gdc wc.d -o wc
/tmp/ccpVYfxj.o: In function `_Dmain’:
wc.d:(.text+0×6e): undefined reference to `_D3std5stdio8writeflnFYv’
wc.d:(.text+0×1c2): undefined reference to `_D3std4file7getSizeFAaZm’
wc.d:(.text+0×208): undefined reference to `_D3std4file4readFAaZAv’
wc.d:(.text+0×4d4): undefined reference to `_D3std6stream12BufferedFile7__ClassZ’
wc.d:(.text+0×4ff): undefined reference to `_D3std6stream12BufferedFile5_ctorMFAaE3std6stream8FileModekZC3std6stream12BufferedFile’
wc.d:(.text+0×7cf): undefined reference to `_D3std5stdio8writeflnFYv’
wc.d:(.text+0×850): undefined reference to `_D3std5stdio8writeflnFYv’
wc.d:(.text+0×884): undefined reference to `_D3std5stdio8writeflnFYv’
wc.d:(.text+0×9f5): undefined reference to `_D3std5stdio8writeflnFYv’
/tmp/ccpVYfxj.o:(.data+0×64): undefined reference to `_D3std5stdio12__ModuleInfoZ’
/tmp/ccpVYfxj.o:(.data+0×68): undefined reference to `_D3std6stream12__ModuleInfoZ’
November 12th, 2008 at 4:07 pm
On Debian Lenny I have the same error. Is there any soggestions?
November 12th, 2008 at 11:08 pm
This is rather normal I would say, since you are supposed to link in the standard D library (code-named Phobos) when compiling like that (using the compiler directly).
However the packages I made provide the DSSS tool which is especially designed to ease the pain of building D programs (and it links required libraries automatically). All you need to do is create a file called dsss.conf in the same directory as wc.d and put the following two lines inside it:
[wc.d]
target=wc
After that just run “dsss build” on the command line and all should compile ok (an executable called “wc” shoudl be created). See here for more info on DSSS: http://dsource.org/projects/dsss
Hope this helps.
November 13th, 2008 at 12:32 am
I will make some time as soon as I can manage to generate new packages for Ubuntu Intrepid. So far I was swamped. I hope that in the next few days I’ll get around to it.
Very glad to see that people are intereste in these packages.
Cheers :).
November 15th, 2008 at 12:14 am
Sorry, I’m a newbee D programmer and not familiar with D compiler tools at all. Thanks for the links and waiting for the new packages. It there any plans to upgrat it to latest dsss ana dmd versions?
November 15th, 2008 at 9:31 am
DefinitelyYes! I will upgrade as soon as possible and will also make a new repo version for Ubuntu Intrepid. Probably this will happen next week!
Cheers! :)
November 18th, 2008 at 10:35 pm
YES!!!!! PLEASE!!!!!!! I’d love to start programming in Ubuntu Intrepid x64, GDC + DSSS + Tango 0.99.7 Would be HIGHLY apreciated!! Intrepid repo FTW. I’ll be checking your blog regularly, so please could you add an update in this post when they’re ready??
December 1st, 2008 at 12:17 am
Hi what repository for Intrepid? PLEEEEAAASEEE….
December 11th, 2008 at 12:05 am
Ok it’s done. See the link below for details:
http://codeblog.palos.ro/2008/12/11/new-releases-and-repository-for-d-packages/