How to install Unity Tweak Tool on Ubuntu desktop

Question: I am trying to customize fresh Ubuntu desktop that I just installed. For that, I want to use Unity Tweak Tool. How can I install Unity Tweak Tool on Ubuntu? Unity Tweak Tool is a popular Unity desktop customization tool. As the name implies, this tool is applicable to Ubuntu’s default desktop environment only […]
Continue reading…

 

How to upgrade Docker on Ubuntu

Question: I installed Docker on Ubuntu using its standard repositories. However, the default Docker installation does not meet the version requirement for my another application that relies on Docker. How can I upgrade Docker to the latest version on Ubuntu? Since Docker was first released in 2013, it has been fast evolving into a full-blown […]
Continue reading…

 

How to download and install ixgbe driver on Ubuntu or Debian

Question: I want to download and install the latest ixgbe driver for my Intel 10 Gigabit Ethernet card. How can I install ixgbe driver on Ubuntu (or Debian)? Intel’s PCI Express 10 Gigabit (10G) network inerface cards (e.g., 82598, 82599, x540) are supported by ixgbe driver. The stock kernel of the modern Linux distributions already […]
Continue reading…

 

How to boot into command line on Ubuntu or Debian

Question: I am running Ubuntu desktop, but I want to boot straight into text-mode console temporarily. What is a convenient way to disable desktop GUI and boot into a terminal? Linux desktop comes with a display manager (e.g., GDM, KDM, LightDM), which lets the desktop machine automatically boot into a GUI-based login environment. However, what […]
Continue reading…

 

How to disable Apport internal error reporting on Ubuntu

Question: On Ubuntu desktop, I often encounter a popup window, alerting that Ubuntu has experienced an internal error, and asking me to send an error report. This is bothering me as it keeps popping up for every application crash. How can I turn off the error reporting feature? Ubuntu desktop comes with Apport pre-installed, which […]
Continue reading…

 

How to find and remove obsolete PPA repositories on Ubuntu

Question: I was trying to re-synchronize package index files by running apt-get update. But I am getting the following “404 Not Found” errors. Looks like I cannot fetch the latest index from some third-party PPA repositories that I’ve added before. How can I clean up such broken and old PPA repositories? Err http://ppa.launchpad.net trusty/main amd64 […]
Continue reading…

 

How to find Ubuntu version and codename in a shell script

Question: I am writing a shell script where I need to obtain the release version and release name (or codename) of Ubuntu system. How can I get Ubuntu version/release name inside a shell script? There are many cases where you need to run some batch processing jobs which can vary across different Ubuntu releases (e.g., […]
Continue reading…

 

How to disable APT cache in Debian or Ubuntu

Question: I do not want to keep downloaded .deb package files after installing them with apt-get or aptitude. How can I disable APT cache to save disk space on my Linux? When you install a package with apt-get or aptitude on a Debian-based system, the downloaded package is, by default, kept in the APT cache […]
Continue reading…

 

How to remove MySQL on Ubuntu or Debian

Question: I have MySQL installed by apt-get on Ubuntu. What is a proper way to uninstall and remove MySQL on Ubuntu (or Debian, Linux Mint)? First of all, stop MySQL server if it’s running. $ sudo service mysql stop If you want to remove MySQL completely, use the following commands. This will uninstall MySQL server/client […]
Continue reading…

 

How to upgrade Firefox on Ubuntu

Question: I want to update default Firefox that comes installed on Ubuntu, to the latest version of Firefox. What is a proper way to upgrade Firefox on Ubuntu? Upgrading any pre-installed Ubuntu package such as firefox can easily be done via a GUI package manager called Synaptic. If Synaptic is not installed yet, install it […]
Continue reading…

 

How to disable a particular AppArmor profile on Ubuntu

Question: Is it possible to disable AppArmor for a specific service or software only, instead of completely turning off AppArmor system-wide? AppArmor, which is considered an alternative to SELinux, is the default application access control system of Ubuntu. Many Ubuntu packages (e.g., libvirt, MySQL) come with their corresponding AppArmor profiles which restrict the capabilities of […]
Continue reading…