Sometimes on Linux Ubuntu/Debian, we want to know in advance what version would we obtain before actually installing a specific package. Using simple tools like aptitude and apt-get makes this very easy to achieve. Using apt-get The simulation switch ‘-s’ in the command apt-get allows us...
The system files related to snap are stored in the /var/lib/snapd directory. Based on the number of Snap packages you have installed, this directory size could be in several GBs. Don’t just take my word for it. Do an assesement byusing the du command to check the directory size. a...
Most software or application in Ubuntu, does not come as one package and it depends on other packages to work as intended. These supporting packages are called dependency packages as they are required for the proper working of the software. Usually, the package manager in your system automaticall...
In the Ubuntu system, installing the packages using the command-line is popular among beginners as it seems quite easy. There are various ways to get the dependencies of a package in Ubuntu 20.04. But we need to know about the “package dependencies” for the folks who are unaware of it....
The quick and dirty way to check a package version, simply run: $ apt show <package-name> Example: $ apt show vim Sample output: Package: vimVersion: 2:8.0.1453-1ubuntu1.1Priority: optional Section: editors Origin: Ubuntu Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com...
Package dependency errors can occur in Ubuntu after installing some apps. Decisions made by users during installation or system level problems out of control of users can lead to broken packages. How to prevent and fix these dependency errors in Ubuntu i
OnUbuntu 24.04, however, the system is often aggressive in cleaning up configuration files during package removal, so it's common to see no output. 3. Remove leftover configuration files with: sudo dpkg --purge --force-all [package-name]Copy ...
If you are interested in what packages you can install to your Ubuntu system, you can use the apt package manager’s inbuilt search functionality. This functionality allows you to search the entire apt package list quickly. Using this, you will get the package name, version, architecture, and...
1. Check Package Spelling/Case-Insensitive in Ubuntu A typo in the name of the package may result in this error. In fact, this is the first thing you should check. For example, to install theMariadbserver onUbuntu, if you typemariabd-serverinstead ofmariadb-server, you will get the er...
Method 1: java -version Command To check the Java version on Linux, run the following: java -versionCopy The output displays the Java package version installed on your system. In the example above, OpenJDK version 11.0.24 is installed. ...