Thursday, November 28, 2013

How to install specific version of a Debian/Ubuntu package using apt-get

I know so many people face a problem that the sources.list file which include the repo URLs where their system get the packages from all of these repos in that file, and the problem mostly happens when users install a recent or old version of the OS but they really need specific version of the package not the default one that apt-get usually grabs from the repos.

I usually face the same problem mostly when building something from scratch and really need specific version, here is how to follow up specific version if it exists on these repos, if not you gotta get the source code and compile it by yourself.

For example, when doing $ sudo apt-get install binutils
I was able to install binutils-2.22.6 but I really needed to install binutils-2.20.2 here is how to go for it.

$ sudo apt-cache show binutils
I was able to see the version I needed and then you might have more than one version exists, so what to do to get the specific one you need:

$ sudo apt-get install <package_name>=<package_version>
EX
$ sudo apt-get install binutils=2.20.6

This should be working fine ;-)

Cheers,

Wednesday, June 27, 2012

New adventure is coming :-)


I just want to say that I just changed my whole career from the practical to the academic and research field, and I am now a research candidate at department of computer science at The University of Hong Kong 'HKU', one of top 25 universities in the world.
Greetings from HK ^-^

Fun with digital participation


Thank you very much my dear friend Abbas Adel

I really want to thank my dear friend Abbas 'one of those co-founders' of   http://www.zabatak.com/ project,  simply this project is like a crime reporting systems and this project starts to be in the spot day by day and it did well during the days of Egyptian revolution in January and February 2011.


But thanking my friend not just he invited me to be a-part of this project but he is letting me see his simple and great way of communicating with his team and letting everybody doing his best ending up finally with a good job and good completed idea.
Today we were at the German embassy applying for the German VISA as we were invited from the UNESCO to do some workshops and some other staff related to digital participation and how this trend is playing a big important role today in everybody's life.

My interest here not just because this project or this friendship, although I do appreciate it so much, but because I see some of Egyptian youth are doing great ideas and projects with simple and well-engineered way which is really something I do like so much.

Recently, this great group of youth launched a very very simple website called http://www.morsimeter.com/ which is very simple idea that aims to monitor the elected Egyptian president's Dr.Mohamed Morsi performance, and how much he did his promise to all Egyptian in the first 100 days of his period.




Here is the fun I always get from this great group "Simplicity" and this is always makes me so much enthusiastic of working or doing even it is a very little task with this great group.

I will keep posing about this great group time by time, but this is a simple thing I did like to talk about.