![]() ![]() The apt-show-versions command is used to list available package versions with distribution. ![]() P A 7.68.0-1ubuntu2.5 focal-security,focal-updates 500 Method 4: Using apt-show-versions To check package versions available run: $ aptitude versions curl #Debian versions install#Ubuntu doesn’t ship with aptitude, you can install it using: sudo apt update $ apt-cache madison curlĬurl | 7.68.0-1ubuntu2.5 | focal-updates/main amd64 PackagesĬurl | 7.68.0-1ubuntu2.5 | focal-security/main amd64 PackagesĬurl | 7.68.0-1ubuntu2 | focal/main amd64 Packages Method 3: Using aptitude Using apt-cache madison will give the same output. The other lines give info about other packages available on the repository. If the package is not installed you’ll see none as value of Installed key: Installed: (none) The first line show installed version: Installed: 7.68.0-1ubuntu2.2 -> Show installed version To search for package version using apt-cache, run: $ apt-cache policy curlĥ00 focal-updates/universe amd64 Packagesĥ00 focal-security/universe amd64 Packages It provides operations to search and generate interesting output from the package metadata. ![]() NTLM, Negotiate, kerberos.), file transfer resume, proxy tunneling and aįor details about all versions of the docker-ce package, use: $ apt show curl -a Method 2: Using apt-cacheĪpt-cache is a Debian command line tool used to query the APT cache. POP3S, RTMP, RTSP, SCP, SFTP, SMTP, SMTPS, TELNET and TFTP.Ĭurl supports SSL certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP formīased upload, proxies, cookies, user+password authentication (Basic, Digest, Task: server, cloud-image, ubuntu-budgie-desktopĪPT-Sources: focal-updates/main amd64 Packagesĭescription: command line tool for transferring data with URL syntaxĬurl is a command line tool for transferring data with URL syntax, supportingĭICT, FILE, FTP, FTPS, GOPHER, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, POP3, This includes all others packages available on the repository for installation.įor more details about the package, use the apt show. To see all versions of the package available on the repository, pass the -a option. The apt command has an option list that you can use to check a version of the package installed on an Ubuntu or Debian system.įor example, to check a version of the curl package installed on my Ubuntu/Debian server, I’d run: $ apt list curlĬurl/focal-updates,focal-security,now 7.68.0-1ubuntu2.2 amd64 Before you get started update your package APT index: sudo apt update Method 1: Using apt command ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |