A long a go, in the tango control system mail list, we have announced the availability of debian packages for Tango and the inclusion of them in the ubuntu's repositories. The installation of this distributed control system becomes really easy, and you will have the updates from the this community.
As easy like:
sudo add-apt-repository ppa:abogani/tango
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F141B61E
Edit the sources file if you are not in the Long Term Support (LTS) ubuntu version, with something like:
sudo vim /etc/apt/sources.list.d/abogani-tango-maverick.list
change, for example, maverick to lucid.
sudo apt-get update
Then you have two possibilities: with or without the tango database. The second case assumes that you have another server installed with it in the network.
1st case: install a tango with a database
sudo apt-get install tango-common tango-db tango-starter tango-test python-pytango libtango7-doc omninotify
Also "
dbconfig-common libboost-python1.40.0 libcos4-1 liblog4tango4 libomniorb4-1 libomnithread3c2 libtango7
" dependencies will be installed.2nd case: you already have a tango database in another server:
If you already have another system in the network with tango installed, you don't need the database packages, then the installation to do is:
sudo apt-get install tango-common tango-starter tango-test python-pytango libtango7-doc omninotify
Also "
libboost-python1.40.0 libcos4-1 liblog4tango4 libomniorb4-1 libomnithread3c2 libtango7
" dependencies will be installed.Well, after this steps, you must have the tango control system running on your machine and with it you have included the python binding.
No comments:
Post a Comment