apt or apt-get is widely used as the package manager in Debian Linux and its downstream Linux distribution, such as Ubuntu. There are a lot configuration parameters. In this post, I will mainly describe two of them. 1. Acquire::https::Verify-Peer Due… Read More
disable disk check during bootup for Ubuntu
As I mentioned in this post, I am using Ubuntu Linux in my xiaomi laptop. However, I am disturbed now and then these days by the disk check during the Ubuntu bootup. If I miss the very first few seconds,… Read More
list files in a package in ubuntu
The below command can be used to list files in a package in Ubuntu apt-file list <package-name> or dpkg -L <package-name> for example, apt-file list openjdk-8-doc or dpkg -L openjdk-8-doc
fix ‘could not connect to display’ issue
Today I tried to run foxit reader installer in my Ubuntu Linux as root account. I got the below error message: QXcbConnection: Could not connect to display After struggling for a while, I found the below solution that fix this… Read More
disable password prompt for sudo in ubuntu
After using ubuntu Linux in my xiaomi laptop for months, I find the password prompt really annoying when I try to switch to root account by running the command ‘sudo su -‘. After checking the manual page of ‘sudoers’, I… Read More
find package owning a specific file in ubuntu
I am familiar with the rpm package management system, because the products in our company are running in the RHEL Linux OS and the development in my daily work sometimes involves manipulating rpm packages, for example, installing, uninstall, searching rpm… Read More