![]() ![]() ||/ Name Version Architecture Description |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend $ dpkg -l lyxĭesired=Unknown/Install/Remove/Purge/Hold To show which is installed, you can use dpkg -l. They are not all versions of the one package. The problem is that the different versions of the kernel ( linux-image) are in individual packages, and named independently according to the version. $ apt-cache search linux-image | grep '^linux-image' If you want to see all the versions of linux-image-like packages, you can just do a search, e.g. $ apt-cache showpkg lyxĢ.1.0-1~trusty~ppa4 (/var/lib/apt/lists/_lyx-devel_release_ubuntu_dists_trusty_main_binary-amd64_Packages) (/var/lib/dpkg/status)įile: /var/lib/apt/lists/_lyx-devel_release_ubuntu_dists_trusty_main_binary-amd64_PackagesĢ.0.6-1build1 (/var/lib/apt/lists/_pub_ubuntu_dists_trusty_universe_binary-amd64_Packages) N: Can't select versions from package 'linux-image' as it is purely virtualĪpt-cache showpkg should work for real packages, though. ![]() ![]() You have the correct command, except linux-image isn't a real package name. This would help me simply do a downgrade or upgrade to a specific version. Loaded plugins: langpacks, refresh-packagekit Linux-image-3.13.0-24-generic 3.13.0-24.46Įxpecting similar output: $ yum list kernel-headers -showduplicates The above command lists various versions of the kernel-headers rpm available on F20/RHEL or installations.Ĭloset I can get using apt-cache showpkg, not sure if there is a better way ? $ apt-cache showpkg linux-image We've done the "hard" part, but there's a bit of housekeeping to take care of.Is there a equivalent of this command yum list kernel-headers -showduplicates on Ubuntu with apt-get, apt-cache etc. If "those who can't do, teach," it's fair to assume a lot of Python courses are taught by those who haven't launched meaningful software. I'd argue this is mostly the fault of those who teach Python. It sounds absurd, but succeeding at changing Python versions in Ubuntu without breaking things is fairly impressive. Press to keep the current choice, or type selection number:Īnd you've done it! To switch Python versions, all you need to do is respond to the above prompt with the selection number representing the Python version you want to use. There are 2 choices for the alternative python (providing /usr/bin/python). The first step should be familiar: we need to update Ubuntu's mirrors and packages to make sure we pull the latest packages when we install anything: We're going to walk through how to install the current latest version of Python ( Python 3.8) alongside Ubuntu's system Python versions safely and easily.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |