![]() ![]() These 2 ways should cover most of your needs, but it’s also possible to temporary change the priority file or tell apt-get to install a specific version, and I’m sure that there are other ways to achieve this result, as usual there is more than one way to get the result on GNU/Linux and it’s a thing I love of this operating system.Long-term support in stable edition, rolling release in unstable and testing editions To install just drush from the unstable distribution you can use the command: apt-get install drush/unstable the command is similar to the former, BUT there is an important difference this command tell to apt to install ONLY the package drush from the unstable distribution and all its dependencies will be taken from the default distribution in this case from the stable distirbution, and so at the end of this command you’ll have drush 5.7-1 0 AND php 5.3.3-7+squeeze14 This could be exactly what you are searching for, but perhaps you just want to have drush from the unstable distribution and keep php at the stable distribution ? Will install drush 5.7-1 0 AND php 5.4.4-9, one of the dependencies of this package. If you wonder what are the numbers at the start of each repository, these are the priority of every source, the higher has more priority and they are read from the file /etc/apt/preferences that on my server contains these information: Now, to know which versions are available for a package that you want to install use the command: apt-cache policy packagename, so using drush as package I get this output:ĥ.7- 1 0 100 http: //ftp.it. /debian / unstable /main amd64 Packagesĥ.4- 1 0 500 http: // /debian / wheezy /main amd64 PackagesĤ.5- 2~bpo60+ 1 0 650 http: ///debian / squeeze-backports /main amd64 Packagesģ.3- 1 0 700 http: // /debian / squeeze /main amd64 PackagesĦ50 squeeze-backports/main amd64 Packages ![]() This list defines all the standard repository: stable (squeeze), testing (wheezy) and Sid aka Unstable, we are also defining the backport repository and the security repository. ![]() Deb http: // /debian squeeze main contrib non-freeĭeb http: // /debian wheezy main contrib non-freeĭeb http: //ftp.it. /debian unstable main contrib non-freeĭeb http: // / squeeze /updates main contribĭeb-src http: // / squeeze /updates main contribĭeb http: ///debian squeeze-backports main contrib non-freeĭeb squeeze-backports main contrib non-free ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |