Let’s say, we want to check the version for the package golang. For this purpose, we’ll use this command: $ apt-cache policy golang golang: Installed: (none) Candidate: 2:1.18~0ubuntu2 Version table: 2:1.18~0ubuntu2 500 500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Pa...
或者,我们可以使用以下格式搜索指定的包。 $ apt-cache policy vlc vlc: Installed: (none) Candidate: 2.2.6-6 Version table: 2.2.6-6 500 500 http://in.archive.ubuntu.com/ubuntu artful/universe amd64 Packages 或者,我们可以使用以下格式搜索给定的包。 $ apt-cache pkgnames vlc vlc-bin vlc-plugi...
Using apt-cache Using the command apt-cache below will display the installed and the remote version of a package. apt-cache policy <package> For the package git, we will see the following information : For instance the command related to the package whois will display the following information...
Install a package from a repository yum install package_name apt-get install package_name Install a package file yum install package.rpm或者rpm -i package.rpm dpkg --install package.deb Remove a package rpm -e package_name apt-get remove package_name Check for package upgrades yum check-updat...
You will need to check the hardware requirements for your chosen hypervisor. Once the hypervisor is enabled or installed, you will need to choose the type of OS that you want to install and the installation source (this is typically a .iso or .vhdx file). You will need to give the VM...
Ubuntu is the modern, open source operating system on Linux for the enterprise server, desktop, cloud, and IoT.
We can use theapt-cache policycommand on Ubuntu to inspect the available versions of a package within the configured repositories. Let’s use it with thewgetpackage: $ sudo apt-cache policy wget wget: Installed: (none) Candidate: 1.21.2-2ubuntu1.1 Version table: 1.21.2-2ubuntu1.1 500 500...
amount of diskspace used by each kernel package installed.#查询没有安装的rpm包的详细信息或作用[root@node5 ~]# rpm -qpi telnet-0.17-64.el7.x86_64.rpmName:telnet Epoch:1Version:0.17Release:64.el7 Architecture: x86_64 Install Date:(not installed)Group:Applications/Internet ...
Install the package: sudo zypper install -r'Linux Surface (openSUSE_Tumbleweed)'kernel-default Method 3: Use OPI (OBS Package Install) You can check itsGithub Repoto learn how to use it, here we'll just quickly go through: Install opi: ...
check-update checkforavailable package upgrades clean remove cached data deplist List package's dependencies and what packages provide them distro-sync synchronize installed packages to the latest available versions downgrade Downgrade a package group display, or use, the groups information ...