![]() ![]() Loaded plugins: langpacks, presto, refresh-packagekit What if I want to download everything that package X requires? $ yumdownloader -resolve Įxample $ yumdownloader -resolve vim-X11 $ yum -downloadonly Īnd then install it like so: $ sudo yum localinstall You can also use one of the following options to download a particular RPM from the web, and then use yum to install it. $ sudo yum install yum-utils # (to get `repoquery`) If you're ever unsure that you're constructing the arguments right you can consult with repoquery too. In this case since I'm dealing with Fedora 20 (F20) the release info would be "fc20", and the architecture info too. You can also include the release info when specifying a package. Loading mirror speeds from cached hostfileĪs far as installing a particular version? You can append the version info to the name of the package, removing the architecture name, like so: $ sudo yum install -įor example in this case if I wanted to install the older version, 2.4.6-6 I'd do the following: $ sudo yum install httpd-2.4.6-6 Loaded plugins: fastestmirror, langpacks, refresh-packagekit It gives you a list like "package name.architecture version": $ yum -showduplicates list httpd | expand ![]() PS C:\dev> winget install -i Python.Python.3.To see what particular versions are available to you via yum you can use the -showduplicates switch. If you need Python to be available to all users and automatically added to the system Path, you're better off fine-tuning the installation using the interactive option -i, like so. However, the downside of this method is that each Python version will be installed under a Python directory tree, like $LOCALAPPDATA\Programs\Python\Python39, and it won't make any changes to your Path. This will do an automatic install with default options. Microsoft is not responsible for, nor does it grant any licenses to, third-party packages. This application is licensed to you by its owner. PS C:\dev> winget install Python.Python.3.9įound Python 3 Version 3.9.7 In your case, the simplest way is to choose the Id you want, Python.Python.3.9, which would also allow the package manager to update it when patches come out. ![]() Python 3 Python.Python.3.10 3.10.6 winget First, you can see all the versions available with the following command: PS C:\dev> winget search Python.Python ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |