ubuntu install instructions

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

ubuntu install instructions

nescivi
Hiho,


since this issue has been coming up a couple of times.


I have made some installation instructions for how to install SC on Ubuntu.


I think we should add these to the website...


Do I have write access there?


sincerely,
Marije



------------------------------------------------------------------------------



/// ------- installing supercollider -----------


Add key authentication:


gpg --keyserver keyserver.ubuntu.com --recv DD9300F1 && gpg --export --armor DD9300F1 | sudo apt-key add -


Add to etc/apt/sources.list


deb http://ppa.launchpad.net/artfwo/ppa/ubuntu hardy main
deb-src http://ppa.launchpad.net/artfwo/ppa/ubuntu hardy main


* base packages
sudo apt-get update && sudo apt-get install supercollider supercollider-server
supercollider-doc


* dev packages (optional)
sudo apt-get install supercollider-dev supercollider-server-dev supercollider-common-dev



* Gedit :
sudo apt-get install supercollider-gedit
Enable Sced plugin in Edit>Preferences - Plugins tab
Enable supercollider mode with Select Tools->SuperCollider Mode


* SCVim:
sudo apt-get install supercollider-vim
sudo apt-get install vim-addon-manager
vim-addons -w install supercollider


Start with:
scvim


* Emacs:
sudo apt-get supercollider-emacs w3m-el


Start with:
emacs -sclang


an example file for .emacs comes with this bundle (called dot_emacs; this file has to be put into your home folder and renamed to .emacs).


Change the line:
'(sclang-runtime-directory "~/SuperCollider/")
to:
'(sclang-runtime-directory "/home/myusername/SuperCollider/")


And make the directory SuperCollider in your home directory (this will be the working directory of sclang)



* SwingOSC


sudo apt-get sun-java6-jre


Get SwingOSC from
http://swingosc.sourceforge.net


unpack it
and follow the instructions in the INSTALL_LINUX that comes with it.



an example file for .sclang.sc comes with this bundle (called dot_sclang; this file has to be put into your home folder and renamed to .sclang).


If you did a local install of SwingOSC, then change the path to:
SwingOSC.program = "/home/myusername/share/bin/SwingOSC.jar";



UbuntuInstall_1.tar.gz (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: ubuntu install instructions

Dan Stowell-2
2009/8/14 nescivi <[hidden email]>:
> Hiho,
>
> since this issue has been coming up a couple of times.
>
> I have made some installation instructions for how to install SC on Ubuntu.
>
> I think we should add these to the website...
>
> Do I have write access there?

Why not put it on the wiki?  I think there's already an ubuntu
wikipage but I don't see why you shouldn't Be Bold and essentially
just replace it with this.

I have some feedback by the way..........:


> /// ------- installing supercollider -----------
>
> Add key authentication:
>
> gpg --keyserver keyserver.ubuntu.com --recv DD9300F1 && gpg --export --armor
> DD9300F1 | sudo apt-key add -
>
> Add to etc/apt/sources.list
>
> deb http://ppa.launchpad.net/artfwo/ppa/ubuntu hardy main
> deb-src http://ppa.launchpad.net/artfwo/ppa/ubuntu hardy main

These are not the "official" sc-ubuntu repos URLs. The better sources
are the ones listed at
https://launchpad.net/~supercollider/+archive/ppa - and of course they
have a different GPG key.


> * base packages
> sudo apt-get update && sudo apt-get install supercollider
> supercollider-server
> supercollider-doc

This bit would need a warning for amd64 folks, wouldn't it? Since the
"supercollider" package doesn't quite yet exist for them.


> * dev packages (optional)
> sudo apt-get install supercollider-dev supercollider-server-dev
> supercollider-common-dev
>
> * Gedit :
> sudo apt-get install supercollider-gedit
> Enable Sced plugin in Edit>Preferences - Plugins tab
> Enable supercollider mode with Select Tools->SuperCollider Mode
>
> * SCVim:
> sudo apt-get install supercollider-vim
> sudo apt-get install vim-addon-manager

The above line not needed since supercollider-vim has it as a dependency.


> vim-addons -w install supercollider

The above line not needed since it'll prompt you to automatically do
it. (No harm in doing it manually. Just thought simplification would
be good)


> Start with:
> scvim
>
> * Emacs:
> sudo apt-get supercollider-emacs w3m-el
>
> Start with:
> emacs -sclang
>
> an example file for .emacs comes with this bundle (called dot_emacs; this
> file has to be put into your home folder and renamed to .emacs).
>
> Change the line:
> '(sclang-runtime-directory "~/SuperCollider/")
> to:
> '(sclang-runtime-directory "/home/myusername/SuperCollider/")
>
> And make the directory SuperCollider in your home directory (this will be
> the working directory of sclang)
>
>
> * SwingOSC
>
> sudo apt-get sun-java6-jre
>
> Get SwingOSC from
> http://swingosc.sourceforge.net
>
> unpack it
> and follow the instructions in the INSTALL_LINUX that comes with it.
>
>
> an example file for .sclang.sc comes with this bundle (called dot_sclang;
> this file has to be put into your home folder and renamed to .sclang).
>
> If you did a local install of SwingOSC, then change the path to:
> SwingOSC.program = "/home/myusername/share/bin/SwingOSC.jar";

In general it's a good reference for installing. I'd be tempted to pad
it out with a bit more explanation about what was optional and why we
are performing certain steps (just so people understand what's going
on) but that can come later.

Dan
--
http://www.mcld.co.uk

_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
search: http://www.listarc.bham.ac.uk/lists/sc-users/search/
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: ubuntu install instructions

nescivi
Hiho,


On Saturday 15 August 2009 19:24:30 Dan Stowell wrote:
> > I think we should add these to the website...
> >
> > Do I have write access there?
>
> Why not put it on the wiki? I think there's already an ubuntu
> wikipage but I don't see why you shouldn't Be Bold and essentially
> just replace it with this.


I wasn't sure how to edit the wiki on the sourceforge site either...
in any case, I think it would be useful to have a link to it, right next to the download link to the ubuntu packages.


> I have some feedback by the way..........:
> > /// ------- installing supercollider -----------
> >
> > Add key authentication:
> >
> > gpg --keyserver keyserver.ubuntu.com --recv DD9300F1 && gpg --export
> > --armor DD9300F1 | sudo apt-key add -
> >
> > Add to etc/apt/sources.list
> >
> > deb http://ppa.launchpad.net/artfwo/ppa/ubuntu hardy main
> > deb-src http://ppa.launchpad.net/artfwo/ppa/ubuntu hardy main
>
> These are not the "official" sc-ubuntu repos URLs. The better sources
> are the ones listed at
> https://launchpad.net/~supercollider/+archive/ppa - and of course they
> have a different GPG key.


Ok, when I wrote the instructions, I think there was just artfwo's packages, and the instructions are basically a summary of what it says on his blog, after going through all of the comments too.
So, yes it may be outdated :)


> > * base packages
> > sudo apt-get update && sudo apt-get install supercollider
> > supercollider-server
> > supercollider-doc
>
> This bit would need a warning for amd64 folks, wouldn't it? Since the
> "supercollider" package doesn't quite yet exist for them.


yes.
should add a warning for that.



> > * dev packages (optional)
> > sudo apt-get install supercollider-dev supercollider-server-dev
> > supercollider-common-dev
> >
> > * Gedit :
> > sudo apt-get install supercollider-gedit
> > Enable Sced plugin in Edit>Preferences - Plugins tab
> > Enable supercollider mode with Select Tools->SuperCollider Mode
> >
> > * SCVim:
> > sudo apt-get install supercollider-vim
> > sudo apt-get install vim-addon-manager
>
> The above line not needed since supercollider-vim has it as a dependency.


ok. that must have changed since then too.


> > vim-addons -w install supercollider
>
> The above line not needed since it'll prompt you to automatically do
> it. (No harm in doing it manually. Just thought simplification would
> be good)


This wasn't the case back then. In fact there were a few issues back then, which may have been solved by now (like you couldn't do this systemwide; this was an ubuntu - vim issue).


> > Start with:
> > scvim
> >
> > * Emacs:
> > sudo apt-get supercollider-emacs w3m-el
> >
> > Start with:
> > emacs -sclang
> >
> > an example file for .emacs comes with this bundle (called dot_emacs; this
> > file has to be put into your home folder and renamed to .emacs).
> >
> > Change the line:
> > '(sclang-runtime-directory "~/SuperCollider/")
> > to:
> > '(sclang-runtime-directory "/home/myusername/SuperCollider/")
> >
> > And make the directory SuperCollider in your home directory (this will be
> > the working directory of sclang)
> >
> >
> > * SwingOSC
> >
> > sudo apt-get sun-java6-jre
> >
> > Get SwingOSC from
> > http://swingosc.sourceforge.net
> >
> > unpack it
> > and follow the instructions in the INSTALL_LINUX that comes with it.
> >
> >
> > an example file for .sclang.sc comes with this bundle (called dot_sclang;
> > this file has to be put into your home folder and renamed to .sclang).
> >
> > If you did a local install of SwingOSC, then change the path to:
> > SwingOSC.program = "/home/myusername/share/bin/SwingOSC.jar";



> In general it's a good reference for installing. I'd be tempted to pad
> it out with a bit more explanation about what was optional and why we
> are performing certain steps (just so people understand what's going
> on) but that can come later.


Sure, we can make an extended version too.


But it is nice to have a condensed version as a quick reference (e.g. for system admins who have to install it on several computers, so they can make a script for their network setup).


sincerely,
Marije

Loading...